Skip to content

Commit 6f37025

Browse files
author
Arnel Jan Sarmiento
committed
Merge branch 'main' of https://github.com/DurianPy-Davao-Python-User-Group/DurianPy-Official-Website into feat/hide-unofficial-information-for-release
2 parents 58236c4 + 2dcc03d commit 6f37025

2 files changed

Lines changed: 18 additions & 3 deletions

File tree

components/navs/public/DesktopView.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,19 @@ export default function DesktopView() {
7171
>
7272
Speak
7373
</Button>
74-
<Button
74+
{/* <Button
7575
variant={'navLink'}
7676
onClick={() => router.push('/sigs')}
7777
className={`${pathname === '/sigs' ? 'text-primary border-primary' : ''}`}
7878
>
7979
SIGs
80+
</Button> */}
81+
<Button
82+
variant={'navLink'}
83+
onClick={() => router.push('/code-of-conduct')}
84+
className={`${pathname === '/code-of-conduct' ? 'text-primary border-primary' : ''}`}
85+
>
86+
Code of Conduct
8087
</Button>
8188
<Button
8289
variant={'navLink'}

components/navs/public/MobileView.tsx

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

90-
<Button
90+
{/* <Button
9191
variant={'navLinkMobile'}
9292
onClick={() => router.push('/sigs')}
9393
>
9494
SIGs
95+
</Button> */}
96+
<Button
97+
variant={'navLinkMobile'}
98+
onClick={() => router.push('/code-of-conduct')}
99+
>
100+
Code of Conduct
95101
</Button>
96102
<Button
97103
variant={'navLinkMobile'}
@@ -107,7 +113,9 @@ export default function MobileView() {
107113
</Button>
108114
<Button
109115
variant={'navLinkMobile'}
110-
onClick={() => router.push('/contact')}
116+
onClick={() =>
117+
redirectTo({ href: 'https://www.facebook.com/durianpy' })
118+
}
111119
>
112120
Contact Us
113121
</Button>

0 commit comments

Comments
 (0)