diff --git a/src/app/page.tsx b/src/app/page.tsx index b90b80b..13d6dd5 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,412 +1,5 @@ -"use client"; +import { redirect } from 'next/navigation'; -import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; -import ReactLenis from "lenis/react"; -import BlogCardTwo from '@/components/sections/blog/BlogCardTwo'; -import ContactCTA from '@/components/sections/contact/ContactCTA'; -import FaqSplitText from '@/components/sections/faq/FaqSplitText'; -import FeatureCardTen from '@/components/sections/feature/FeatureCardTen'; -import FooterBase from '@/components/sections/footer/FooterBase'; -import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi'; -import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; -import ProductCardOne from '@/components/sections/product/ProductCardOne'; -import SocialProofOne from '@/components/sections/socialProof/SocialProofOne'; -import TeamCardFive from '@/components/sections/team/TeamCardFive'; -import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard'; -import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix'; -import { Award, Book, BookOpen, LifeBuoy, MapPin, MessageSquare, Package, Search, ShieldCheck, Tag, Truck, Zap } from "lucide-react"; - -export default function LandingPage() { - return ( - - - - -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- - -
-
- ); +export default function HomePageRedirect() { + redirect('/fr'); } diff --git a/src/app/products/page.tsx b/src/app/products/page.tsx new file mode 100644 index 0000000..91c3610 --- /dev/null +++ b/src/app/products/page.tsx @@ -0,0 +1,121 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; +import ProductCardOne from '@/components/sections/product/ProductCardOne'; +import FooterBase from '@/components/sections/footer/FooterBase'; + +export default function ProductsPage() { + const navItems = [ + { name: "Accueil", id: "/" }, + { name: "Avantages", id: "/#advantages" }, + { name: "Marques", id: "/#brands" }, + { name: "Produits", id: "/products" }, + { name: "Nouveautés", id: "/#new-arrivals" }, + { name: "Contact", id: "/#contact-cta" }, + ]; + + const navbarProps = { + navItems: navItems, + logoSrc: "http://img.b2bpic.net/free-vector/flat-design-repair-shop-badges-design_23-2149616631.jpg", logoAlt: "STREET SAP PARTS WEST Logo", brandName: "STREET SAP PARTS WEST", bottomLeftText: "L'Expert Pièces Détachées Ouest Algérien", bottomRightText: "streetsapparts.west@gmail.com", button: { + text: "📲 WhatsApp", href: "https://wa.me/213542548985" + } + }; + + const footerColumns = [ + { + title: "Navigation", items: [ + { label: "Accueil", href: "/" }, + { label: "Avantages", href: "/#advantages" }, + { label: "Marques", href: "/#brands" }, + { label: "Produits", href: "/products" }, + { label: "Nouveautés", href: "/#new-arrivals" }, + ], + }, + { + title: "Contact", items: [ + { label: "WhatsApp: +213542548985", href: "https://wa.me/213542548985" }, + { label: "Email: streetsapparts.west@gmail.com", href: "mailto:streetsapparts.west@gmail.com" }, + { label: "Location: Oran, Algérie", href: "#" }, + { label: "Demander un Devis", href: "/#contact-cta" }, + ], + }, + { + title: "Réseaux Sociaux", items: [ + { label: "TikTok", href: "#" }, + { label: "Facebook", href: "#" }, + { label: "Facebook Marketplace", href: "#" }, + ], + }, + ]; + + const footerProps = { + columns: footerColumns, + logoSrc: "http://img.b2bpic.net/free-vector/automotive-industry-logo_24908-57008.jpg", logoAlt: "STREET SAP PARTS WEST Logo", logoText: "STREET SAP PARTS WEST", copyrightText: "© 2024 STREET SAP PARTS WEST. Tous droits réservés." + }; + + const productCategories = [ + { + id: "engine-parts", name: "Pièces Moteur", price: "Voir les produits", imageSrc: "http://img.b2bpic.net/free-photo/car-engine_1373-182.jpg", imageAlt: "Pièces moteur" + }, + { + id: "suspension-parts", name: "Suspension", price: "Voir les produits", imageSrc: "http://img.b2bpic.net/free-photo/car-shock-absorber-new-spare-parts-white_23-2148256333.jpg", imageAlt: "Pièces de suspension" + }, + { + id: "brake-system", name: "Système de Freinage", price: "Voir les produits", imageSrc: "http://img.b2bpic.net/free-photo/car-braking-system_23-2148496417.jpg", imageAlt: "Système de freinage" + }, + { + id: "filters", name: "Filtres", price: "Voir les produits", imageSrc: "http://img.b2bpic.net/free-photo/car-oil-filters-motor-oil-can-isolated-white_93675-128251.jpg", imageAlt: "Filtres" + }, + { + id: "cooling-system", name: "Système de Refroidissement", price: "Voir les produits", imageSrc: "http://img.b2bpic.net/free-photo/car-radiator_23-2148496409.jpg", imageAlt: "Système de refroidissement" + }, + { + id: "electrical-components", name: "Composants Électriques", price: "Voir les produits", imageSrc: "http://img.b2bpic.net/free-photo/spark-plugs-battery-car-parts_23-2148496429.jpg", imageAlt: "Composants électriques" + }, + { + id: "transmission-parts", name: "Transmission", price: "Voir les produits", imageSrc: "http://img.b2bpic.net/free-photo/car-gear-assembly_23-2148496422.jpg", imageAlt: "Pièces de transmission" + }, + { + id: "body-parts", name: "Pièces de Carrosserie", price: "Voir les produits", imageSrc: "http://img.b2bpic.net/free-photo/body-repair-car_23-2148810757.jpg", imageAlt: "Pièces de carrosserie" + }, + ]; + + return ( + + + + +
+ +
+ + +
+
+ ); +}