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
This commit is contained in:
JeffEmmett 2025-06-13 21:53:27 +00:00
parent da560a38c8
commit aa7ac3a588
3 changed files with 2 additions and 5 deletions

View File

@ -8,7 +8,7 @@ import { AuthProvider } from "@/hooks/use-auth";
import HomePage from "@/pages/home-page"; import HomePage from "@/pages/home-page";
import AboutPage from "@/pages/about-page"; import AboutPage from "@/pages/about-page";
import ClassesPage from "@/pages/classes-page"; import ClassesPage from "@/pages/classes-page";
import CommunityPage from "@/pages/community-page";
import ContactPage from "@/pages/contact-page"; import ContactPage from "@/pages/contact-page";
import AuthPage from "@/pages/auth-page"; import AuthPage from "@/pages/auth-page";
import CalendarPage from "@/pages/calendar-page"; import CalendarPage from "@/pages/calendar-page";
@ -25,7 +25,6 @@ function Router() {
<Route path="/" component={HomePage} /> <Route path="/" component={HomePage} />
<Route path="/about" component={AboutPage} /> <Route path="/about" component={AboutPage} />
<Route path="/classes" component={ClassesPage} /> <Route path="/classes" component={ClassesPage} />
<ProtectedRoute path="/community" component={CommunityPage} />
<Route path="/contact" component={ContactPage} /> <Route path="/contact" component={ContactPage} />
<Route path="/calendar" component={CalendarPage} /> <Route path="/calendar" component={CalendarPage} />
<Route path="/auth" component={AuthPage} /> <Route path="/auth" component={AuthPage} />

View File

@ -130,7 +130,6 @@ export const TESTIMONIALS = [
export const NAV_LINKS = [ export const NAV_LINKS = [
{ name: "Book a Class", path: "/calendar" }, { name: "Book a Class", path: "/calendar" },
{ name: "About Fadia", path: "/about" }, { name: "About Fadia", path: "/about" },
{ name: "Community", path: "/community" },
{ name: "Contact", path: "/contact" }, { name: "Contact", path: "/contact" },
]; ];

View File

@ -3,7 +3,7 @@ import { HeroSection } from "@/components/home/hero-section";
import { AboutSection } from "@/components/about/about-section"; import { AboutSection } from "@/components/about/about-section";
import { ClassesSection } from "@/components/classes/classes-section"; import { ClassesSection } from "@/components/classes/classes-section";
import { TestimonialsSection } from "@/components/testimonials/testimonials-section"; import { TestimonialsSection } from "@/components/testimonials/testimonials-section";
import { CommunitySection } from "@/components/community/community-section";
import { ContactSection } from "@/components/contact/contact-section"; import { ContactSection } from "@/components/contact/contact-section";
import { CTASection } from "@/components/home/cta-section"; import { CTASection } from "@/components/home/cta-section";
import { useEffect } from "react"; import { useEffect } from "react";
@ -46,7 +46,6 @@ export default function HomePage() {
<ClassesSection /> <ClassesSection />
<AboutSection /> <AboutSection />
<TestimonialsSection /> <TestimonialsSection />
<CommunitySection />
<ContactSection /> <ContactSection />
<CTASection /> <CTASection />
</main> </main>