Skip to content

Commit 116c84e

Browse files
authored
Merge pull request #78 from DurianPy-Davao-Python-User-Group/feat/hide-unofficial-information-for-release
Feat/hide unofficial information for release
2 parents 58236c4 + e4bf72c commit 116c84e

4 files changed

Lines changed: 35 additions & 33 deletions

File tree

app/(home)/components/Footer.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ import logo from '@/public/assets/logo.svg';
88
import { Button } from '@/components/ui/button';
99
import { Input } from '@/components/ui/input';
1010
import { Checkbox } from '@/components/ui/checkbox';
11-
import { ChevronDown } from 'lucide-react';
12-
import {
13-
Accordion,
14-
AccordionTrigger,
15-
AccordionContent,
16-
AccordionItem,
17-
} from '@/components/ui/accordion';
11+
// import { ChevronDown } from 'lucide-react';
12+
// import {
13+
// Accordion,
14+
// AccordionTrigger,
15+
// AccordionContent,
16+
// AccordionItem,
17+
// } from '@/components/ui/accordion';
1818

1919
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
2020
import {
@@ -174,7 +174,7 @@ export function Footer() {
174174
</Link>
175175
))}
176176

177-
<div className="col-span-2 flex justify-center md:justify-start ">
177+
{/* <div className="col-span-2 flex justify-center md:justify-start ">
178178
<Accordion
179179
type="single"
180180
collapsible
@@ -194,7 +194,7 @@ export function Footer() {
194194
</AccordionContent>
195195
</AccordionItem>
196196
</Accordion>
197-
</div>
197+
</div> */}
198198
</div>
199199
</div>
200200
</div>

app/(home)/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { CTASection } from './components/CTASection';
44
import { StatsAndReviews } from './components/StatsAndReviews';
55
import { PythonFoundation } from './components//PythonFoundation';
66
import { Partners } from './components//Partners';
7-
import UpcomingEvents from './components//UpcomingEvents';
7+
// import UpcomingEvents from './components//UpcomingEvents';
88
import { Sponsors } from './components/Sponsors';
99

1010
export default function HomePage() {
@@ -16,7 +16,7 @@ export default function HomePage() {
1616
<StatsAndReviews />
1717
<PythonFoundation />
1818
<Partners />
19-
<UpcomingEvents />
19+
{/* <UpcomingEvents /> */}
2020
<Sponsors />
2121
</main>
2222
);

components/navs/public/DesktopView.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
import { useRouter, usePathname } from 'next/navigation';
44
import { Button } from '@/components/ui/button';
5-
import { ChevronDown } from 'lucide-react';
5+
// import { ChevronDown } from 'lucide-react';
66

7-
import {
8-
DropdownMenu,
9-
DropdownMenuTrigger,
10-
DropdownMenuContent,
11-
} from '@/components/ui/dropdown-menu';
7+
// import {
8+
// DropdownMenu,
9+
// DropdownMenuTrigger,
10+
// DropdownMenuContent,
11+
// } from '@/components/ui/dropdown-menu';
1212

1313
interface redirectProps {
1414
href: string;
@@ -48,7 +48,7 @@ export default function DesktopView() {
4848
>
4949
Events
5050
</Button>
51-
<DropdownMenu>
51+
{/* <DropdownMenu>
5252
<DropdownMenuTrigger
5353
className={`${pathname === '/sponsors' || pathname === '/host' ? 'text-primary border-primary' : ''} flex [&[data-state=open]]:bg-primary [&[data-state=open]]:text-dark-green justify-center items-center outline-none gap-[10px] focus:outline-none p-[10px] border-[1px] rounded-[50px] border-transparent hover:text-primary active:border-primary active:bg-primary active:text-dark-green`}
5454
>
@@ -63,21 +63,21 @@ export default function DesktopView() {
6363
Host Us
6464
</Button>
6565
</DropdownMenuContent>
66-
</DropdownMenu>
66+
</DropdownMenu> */}
6767
<Button
6868
variant={'navLink'}
6969
onClick={() => router.push('/speak')}
7070
className={`${pathname === '/speak' ? 'text-primary border-primary' : ''}`}
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>
80+
</Button> */}
8181
<Button
8282
variant={'navLink'}
8383
onClick={() => router.push('/code-of-conduct')}

components/navs/public/MobileView.tsx

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { useRouter } from 'next/navigation';
44
import { Menu } from 'lucide-react';
55
import { Button } from '@/components/ui/button';
6-
import { ChevronDown } from 'lucide-react';
6+
// import { ChevronDown } from 'lucide-react';
77
import {
88
Sheet,
99
SheetContent,
@@ -13,12 +13,12 @@ import {
1313
SheetTrigger,
1414
} from '@/components/ui/sheet';
1515

16-
import {
17-
Accordion,
18-
AccordionTrigger,
19-
AccordionContent,
20-
AccordionItem,
21-
} from '@/components/ui/accordion';
16+
// import {
17+
// Accordion,
18+
// AccordionTrigger,
19+
// AccordionContent,
20+
// AccordionItem,
21+
// } from '@/components/ui/accordion';
2222

2323
interface redirectProps {
2424
href: string;
@@ -61,7 +61,7 @@ export default function MobileView() {
6161
>
6262
Events
6363
</Button>
64-
<Accordion type="single" collapsible className="w-full">
64+
{/* <Accordion type="single" collapsible className="w-full">
6565
<AccordionItem
6666
value="item-1"
6767
className="w-full [&[data-state=open]]:bg-saturated-light-green-opacity-50 [&[data-state=open]]:shadow-md p-0"
@@ -85,14 +85,14 @@ export default function MobileView() {
8585
</Button>
8686
</AccordionContent>
8787
</AccordionItem>
88-
</Accordion>
88+
</Accordion> */}
8989

90-
<Button
90+
{/* <Button
9191
variant={'navLinkMobile'}
9292
onClick={() => router.push('/sigs')}
9393
>
9494
SIGs
95-
</Button>
95+
</Button> */}
9696
<Button
9797
variant={'navLinkMobile'}
9898
onClick={() => router.push('/code-of-conduct')}
@@ -107,7 +107,9 @@ export default function MobileView() {
107107
</Button>
108108
<Button
109109
variant={'navLinkMobile'}
110-
onClick={() => router.push('/contact')}
110+
onClick={() =>
111+
redirectTo({ href: 'https://www.facebook.com/durianpy' })
112+
}
111113
>
112114
Contact Us
113115
</Button>

0 commit comments

Comments
 (0)