From aa7ac3a588262b2d7c111510524a574b101f3a5f Mon Sep 17 00:00:00 2001 From: JeffEmmett <20747463-JeffEmmett@users.noreply.replit.com> Date: Fri, 13 Jun 2025 21:53:27 +0000 Subject: [PATCH] Remove the community page from the website and navigation Removes the CommunityPage component and related routing from App.tsx, NAV_LINKS in constants.tsx, and HomePage.tsx. Replit-Commit-Author: Agent Replit-Commit-Session-Id: e524de2d-167c-4bad-8c36-b012186a210b Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/af8dabca-e746-4e53-9c29-d8d4d9cf30f5/a00e818e-8784-4193-8b15-84ef3bc43fc6.jpg --- client/src/App.tsx | 3 +-- client/src/lib/constants.tsx | 1 - client/src/pages/home-page.tsx | 3 +-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/client/src/App.tsx b/client/src/App.tsx index b428c02..2f16f13 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -8,7 +8,7 @@ import { AuthProvider } from "@/hooks/use-auth"; import HomePage from "@/pages/home-page"; import AboutPage from "@/pages/about-page"; import ClassesPage from "@/pages/classes-page"; -import CommunityPage from "@/pages/community-page"; + import ContactPage from "@/pages/contact-page"; import AuthPage from "@/pages/auth-page"; import CalendarPage from "@/pages/calendar-page"; @@ -25,7 +25,6 @@ function Router() { - diff --git a/client/src/lib/constants.tsx b/client/src/lib/constants.tsx index f510ddb..2c1c0a0 100644 --- a/client/src/lib/constants.tsx +++ b/client/src/lib/constants.tsx @@ -130,7 +130,6 @@ export const TESTIMONIALS = [ export const NAV_LINKS = [ { name: "Book a Class", path: "/calendar" }, { name: "About Fadia", path: "/about" }, - { name: "Community", path: "/community" }, { name: "Contact", path: "/contact" }, ]; diff --git a/client/src/pages/home-page.tsx b/client/src/pages/home-page.tsx index c974c48..a763544 100644 --- a/client/src/pages/home-page.tsx +++ b/client/src/pages/home-page.tsx @@ -3,7 +3,7 @@ import { HeroSection } from "@/components/home/hero-section"; import { AboutSection } from "@/components/about/about-section"; import { ClassesSection } from "@/components/classes/classes-section"; import { TestimonialsSection } from "@/components/testimonials/testimonials-section"; -import { CommunitySection } from "@/components/community/community-section"; + import { ContactSection } from "@/components/contact/contact-section"; import { CTASection } from "@/components/home/cta-section"; import { useEffect } from "react"; @@ -46,7 +46,6 @@ export default function HomePage() { -