diff --git a/src/App.tsx b/src/App.tsx index 18ec8c5..1cc8e6a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,343 +1,12 @@ -import ContactSplitForm from '@/components/sections/contact/ContactSplitForm'; -import FaqSimple from '@/components/sections/faq/FaqSimple'; -import FeaturesRevealCards from '@/components/sections/features/FeaturesRevealCards'; -import FooterMinimal from '@/components/sections/footer/FooterMinimal'; -import HeroSplitMediaGrid from '@/components/sections/hero/HeroSplitMediaGrid'; -import MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards'; -import NavbarCentered from '@/components/ui/NavbarCentered'; -import PricingLayeredCards from '@/components/sections/pricing/PricingLayeredCards'; -import ProductVariantCards from '@/components/sections/product/ProductVariantCards'; -import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee'; -import TestimonialMarqueeCards from '@/components/sections/testimonial/TestimonialMarqueeCards'; -import { Github, Linkedin, Twitter } from "lucide-react"; +import { Routes, Route } from "react-router-dom"; +import HomePage from "@/pages/HomePage"; +import AboutPage from "@/pages/AboutPage"; export default function App() { return ( - <> - - -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- - - + + } /> + } /> + ); } diff --git a/src/pages/AboutPage.tsx b/src/pages/AboutPage.tsx new file mode 100644 index 0000000..5f7f9ec --- /dev/null +++ b/src/pages/AboutPage.tsx @@ -0,0 +1,38 @@ +import { routes } from "@/routes"; +import NavbarCentered from "@/components/ui/NavbarCentered"; +import AboutTextSplit from "@/components/sections/about/AboutTextSplit"; +import AboutFeaturesSplit from "@/components/sections/about/AboutFeaturesSplit"; +import FooterSimple from "@/components/sections/footer/FooterSimple"; + +export default function AboutPage() { + return ( +
+ + + + +
+ ); +} diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index a3e7160..ea5fb8b 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,22 +1,346 @@ -import NavbarCentered from "@/components/ui/NavbarCentered"; -import { routes } from "@/routes"; +import ContactSplitForm from '@/components/sections/contact/ContactSplitForm'; +import FaqSimple from '@/components/sections/faq/FaqSimple'; +import FeaturesRevealCards from '@/components/sections/features/FeaturesRevealCards'; +import FooterMinimal from '@/components/sections/footer/FooterMinimal'; +import HeroSplitMediaGrid from '@/components/sections/hero/HeroSplitMediaGrid'; +import MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards'; +import NavbarCentered from '@/components/ui/NavbarCentered'; +import PricingLayeredCards from '@/components/sections/pricing/PricingLayeredCards'; +import ProductVariantCards from '@/components/sections/product/ProductVariantCards'; +import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee'; +import TestimonialMarqueeCards from '@/components/sections/testimonial/TestimonialMarqueeCards'; +import { Github, Linkedin, Twitter } from "lucide-react"; -const HomePage = () => { + +export default function HomePage() { return ( -
+ <> + - ); -}; + logo="FlowSoft" + navItems={[ + { + name: "Features", + href: "#features", + }, + { + name: "Pricing", + href: "#pricing", + }, + { + name: "About", + href: "#about", + }, + { name: "About", href: "/about" }, -export default HomePage; + ]} + ctaButton={{ + text: "Get Started", + href: "#contact", + }} + /> +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ + + + ); +} diff --git a/src/routes.ts b/src/routes.ts index 362ecb5..1880b6c 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -6,4 +6,5 @@ export interface Route { export const routes: Route[] = [ { path: '/', label: 'Home', pageFile: 'HomePage' }, + { path: '/about', label: 'About', pageFile: 'AboutPage' }, ];