Skip to content

Commit 57a9bb7

Browse files
committed
fix: fixed button transition
1 parent 4ed3b31 commit 57a9bb7

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

app/sigs/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default function Sigs() {
3434
</p>
3535

3636
<button
37-
className="my-6 md:my-8 lg:my-10 mx-auto block bg-primary text-[8px] md:text-xl leading-3 md:leading-none font-bold rounded-full px-2 md:px-4 lg:px-8 py-1 md:py-2 lg:py-4 hover:scale-105 duration-300"
37+
className="my-6 md:my-8 lg:my-10 mx-auto block bg-primary text-black text-[8px] md:text-xl leading-3 md:leading-none font-bold rounded-full px-2 md:px-4 lg:px-8 py-1 md:py-2 lg:py-4 border border-transparent hover:bg-opacity-50 hover:border-primary hover:text-primary transition-colors"
3838
onClick={() =>
3939
(window.location.href = 'https://forms.gle/XxDJZebqbJB6tJo27')
4040
}

components/navs/public/DesktopView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ export default function DesktopView() {
7373
>
7474
Speak
7575
</Button>
76-
{/* <Button
76+
<Button
7777
variant={'navLink'}
7878
onClick={() => redirectTo({ href: '/sigs' })}
7979
className={`${pathname === '/sigs' ? 'text-primary border-primary' : ''}`}
8080
>
8181
SIGs
82-
</Button> */}
82+
</Button>
8383
<Button
8484
variant={'navLink'}
8585
onClick={() => router.push('/code-of-conduct')}

components/navs/public/MobileView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ export default function MobileView() {
8787
</AccordionItem>
8888
</Accordion>
8989

90-
{/* <Button
90+
<Button
9191
variant={'navLinkMobile'}
9292
onClick={() => redirectTo({ href: '/sigs' })}
9393
>
9494
SIGs
95-
</Button> */}
95+
</Button>
9696
<Button
9797
variant={'navLinkMobile'}
9898
onClick={() => redirectTo({ href: '/sigs' })}

0 commit comments

Comments
 (0)