Skip to content

Commit

Permalink
Merge pull request #1727 from milvus-io/preview
Browse files Browse the repository at this point in the history
Preview
  • Loading branch information
ThyeeZz authored Dec 13, 2024
2 parents d324e36 + 55344ec commit c6a8e76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const Footer = (props: Props) => {
]}
/>
</div>
<div className="mt-[40px] w-full">
<div className="mt-[100px] w-full">
<SubscribeNewsletter />
</div>
<div className="flex mt-[40px] space-x-[12px]">
Expand Down
10 changes: 5 additions & 5 deletions src/parts/home/developSection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ export default function DevelopSection(props: { showMeetup?: boolean }) {
},
];

const transformRight = (step: 1 | -1) => {
if (step === -1 && moveRightSteps === 0) {
const transformRight = (step: 2 | -2) => {
if (step === -2 && moveRightSteps === 0) {
return;
}

if (step === 1 && moveRightSteps === techStacks.length - 3) {
if (step === 2 && moveRightSteps === techStacks.length - 3) {
return;
}

Expand Down Expand Up @@ -106,7 +106,7 @@ export default function DevelopSection(props: { showMeetup?: boolean }) {
<button
className={clsx(classes.ctaButton, classes.leftButton)}
onClick={() => {
transformRight(-1);
transformRight(-2);
}}
disabled={moveRightSteps === 0}
>
Expand All @@ -115,7 +115,7 @@ export default function DevelopSection(props: { showMeetup?: boolean }) {
<button
className={classes.ctaButton}
onClick={() => {
transformRight(1);
transformRight(2);
}}
disabled={moveRightSteps === techStacks.length - 3}
>
Expand Down

0 comments on commit c6a8e76

Please sign in to comment.