diff --git a/src/App.tsx b/src/App.tsx index e8642e8..cc2eba5 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,344 +1,12 @@ -import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn'; -import FeaturesStatisticsCards from '@/components/sections/features/FeaturesStatisticsCards'; -import FooterSimpleMedia from '@/components/sections/footer/FooterSimpleMedia'; -import HeroOverlay from '@/components/sections/hero/HeroOverlay'; -import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards'; -import NavbarCentered from '@/components/ui/NavbarCentered'; -import PricingCenteredCards from '@/components/sections/pricing/PricingCenteredCards'; -import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee'; -import TestimonialQuoteCards from '@/components/sections/testimonial/TestimonialQuoteCards'; -import { Award, Users, Zap } from "lucide-react"; +import { Routes, Route } from "react-router-dom"; +import HomePage from "@/pages/HomePage"; +import ProductsPage from "@/pages/ProductsPage"; export default function App() { return ( - <> - - -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- - - + + } /> + } /> + ); } diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index a3e7160..896611d 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,22 +1,347 @@ -import NavbarCentered from "@/components/ui/NavbarCentered"; -import { routes } from "@/routes"; +import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; +import ContactCta from '@/components/sections/contact/ContactCta'; +import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn'; +import FeaturesStatisticsCards from '@/components/sections/features/FeaturesStatisticsCards'; +import FooterSimpleMedia from '@/components/sections/footer/FooterSimpleMedia'; +import HeroOverlay from '@/components/sections/hero/HeroOverlay'; +import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards'; +import NavbarCentered from '@/components/ui/NavbarCentered'; +import PricingCenteredCards from '@/components/sections/pricing/PricingCenteredCards'; +import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee'; +import TestimonialQuoteCards from '@/components/sections/testimonial/TestimonialQuoteCards'; +import { Award, Users, Zap } from "lucide-react"; -const HomePage = () => { + +export default function HomePage() { return ( -
+ <> + - ); -}; + logo="Flow" + navItems={[ + { + name: "Features", + href: "#features", + }, + { + name: "Pricing", + href: "#pricing", + }, + { + name: "Testimonials", + href: "#testimonials", + }, + { name: "Products", href: "/products" }, -export default HomePage; + ]} + ctaButton={{ + text: "Get Started", + href: "#contact", + }} + /> +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ + + + ); +} diff --git a/src/pages/ProductsPage.tsx b/src/pages/ProductsPage.tsx new file mode 100644 index 0000000..9cf583f --- /dev/null +++ b/src/pages/ProductsPage.tsx @@ -0,0 +1,30 @@ +import { routes } from "@/routes"; +import NavbarCentered from "@/components/ui/NavbarCentered"; +import ProductMediaCards from "@/components/sections/product/ProductMediaCards"; +import FooterSimple from "@/components/sections/footer/FooterSimple"; + +export default function ProductsPage() { + return ( +
+ + + +
+ ); +} diff --git a/src/routes.ts b/src/routes.ts index 362ecb5..93d7fae 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: '/products', label: 'Products', pageFile: 'ProductsPage' }, ];