From 2dcc03d94706abcc3315734a2774853073cac89e Mon Sep 17 00:00:00 2001 From: Arnel Jan Sarmiento Date: Mon, 7 Apr 2025 21:53:28 +0800 Subject: [PATCH 1/2] feat: integrate add code of conduct page --- app/(home)/components/Footer.tsx | 7 +++++- app/(home)/page.tsx | 2 -- app/code-of-conduct/page.tsx | 35 ++++++++++++++++++++++++++ app/layout.tsx | 2 ++ components/navs/public/DesktopView.tsx | 13 ++++++++-- components/navs/public/MobileView.tsx | 12 +++++++-- 6 files changed, 64 insertions(+), 7 deletions(-) create mode 100644 app/code-of-conduct/page.tsx diff --git a/app/(home)/components/Footer.tsx b/app/(home)/components/Footer.tsx index 7c17201..e935861 100644 --- a/app/(home)/components/Footer.tsx +++ b/app/(home)/components/Footer.tsx @@ -42,7 +42,12 @@ const socialLinks = [ const links = [ { label: 'Home', href: '/' }, - { label: 'SIGs', href: '/sigs' }, + // { label: 'SIGs', href: '/sigs' }, + { + label: 'Code of Conduct', + href: '/code-of-conduct', + external: false, + }, { label: 'About', href: 'https://www.meetup.com/durianpy/', external: true }, { label: 'Speak', diff --git a/app/(home)/page.tsx b/app/(home)/page.tsx index b64309e..3362a3a 100644 --- a/app/(home)/page.tsx +++ b/app/(home)/page.tsx @@ -4,7 +4,6 @@ import { CTASection } from './components/CTASection'; import { StatsAndReviews } from './components/StatsAndReviews'; import { PythonFoundation } from './components//PythonFoundation'; import { Partners } from './components//Partners'; -import { Footer } from './components//Footer'; export default function HomePage() { return ( @@ -15,7 +14,6 @@ export default function HomePage() { -