bzp2010 commented on a change in pull request #870:
URL: https://github.com/apache/apisix-website/pull/870#discussion_r808809878



##########
File path: website/src/pages/downloads/ProjectCard.js
##########
@@ -70,6 +94,18 @@ const ProjectCard = (props) => {
     });
   }, []);
 
+  const LTSButton = () => {
+    return (
+      <Button
+        style={{ display: (name === 'APISIX®' ? ' ' : 'NONE') }}
+        onClick={() => setIsLTSDropdownOpen(!isLTSDropdownOpen)}
+        background={color}
+      >
+        <IconDownload /> 2.10.3 LTS

Review comment:
       ditto

##########
File path: website/src/pages/downloads/ProjectCard.js
##########
@@ -44,8 +64,12 @@ const ProjectCard = (props) => {
     releaseDate,
     githubRepo,
     githubBranch,
-    downloadPath
+    downloadPath,
+    LTSDownloadPath = ' '
   } = props;
+
+  const Download = props.name === 'APISIX®' ? '2.12.1 Current' : 'Download'

Review comment:
       Should I use the data from `downloads.js`? To avoid the need to also 
modify the js file for each update, not every one of us releaser knows the 
frontend.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to