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:
parent
da560a38c8
commit
aa7ac3a588
|
|
@ -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() {
|
|||
<Route path="/" component={HomePage} />
|
||||
<Route path="/about" component={AboutPage} />
|
||||
<Route path="/classes" component={ClassesPage} />
|
||||
<ProtectedRoute path="/community" component={CommunityPage} />
|
||||
<Route path="/contact" component={ContactPage} />
|
||||
<Route path="/calendar" component={CalendarPage} />
|
||||
<Route path="/auth" component={AuthPage} />
|
||||
|
|
|
|||
|
|
@ -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" },
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -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() {
|
|||
<ClassesSection />
|
||||
<AboutSection />
|
||||
<TestimonialsSection />
|
||||
<CommunitySection />
|
||||
<ContactSection />
|
||||
<CTASection />
|
||||
</main>
|
||||
|
|
|
|||
Loading…
Reference in New Issue