Add src/app/browse/page.tsx
This commit is contained in:
214
src/app/browse/page.tsx
Normal file
214
src/app/browse/page.tsx
Normal file
@@ -0,0 +1,214 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
|
||||
import ProductCardTwo from "@/components/sections/product/ProductCardTwo";
|
||||
import FeatureCardTwentyFive from "@/components/sections/feature/FeatureCardTwentyFive";
|
||||
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
|
||||
import { Building2, Car, History, Globe, Award, Sparkles, Zap } from "lucide-react";
|
||||
import Link from "next/link";
|
||||
|
||||
export default function BrowsePage() {
|
||||
const navItems = [
|
||||
{ name: "Search", id: "search" },
|
||||
{ name: "Browse", id: "browse" },
|
||||
{ name: "Compare", id: "compare" },
|
||||
{ name: "Timeline", id: "timeline" },
|
||||
{ name: "About", id: "about" },
|
||||
];
|
||||
|
||||
const footerColumns = [
|
||||
{
|
||||
items: [
|
||||
{ label: "Search Database", href: "/search" },
|
||||
{ label: "Browse Vehicles", href: "/browse" },
|
||||
{ label: "Compare Cars", href: "/compare" },
|
||||
{ label: "Timeline Explorer", href: "/timeline" },
|
||||
],
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{ label: "Brand Directory", href: "/brands" },
|
||||
{ label: "Model Guide", href: "/models" },
|
||||
{ label: "Specifications", href: "/specs" },
|
||||
{ label: "Production Data", href: "/production" },
|
||||
],
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{ label: "About Us", href: "/about" },
|
||||
{ label: "Help & Support", href: "/help" },
|
||||
{ label: "Contact", href: "/contact" },
|
||||
{ label: "Contribute Data", href: "/contribute" },
|
||||
],
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{ label: "Privacy Policy", href: "/privacy" },
|
||||
{ label: "Terms of Service", href: "/terms" },
|
||||
{ label: "Data Attribution", href: "/attribution" },
|
||||
{ label: "Sitemap", href: "/sitemap" },
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="shift-hover"
|
||||
defaultTextAnimation="entrance-slide"
|
||||
borderRadius="pill"
|
||||
contentWidth="compact"
|
||||
sizing="largeSmallSizeMediumTitles"
|
||||
background="aurora"
|
||||
cardStyle="solid"
|
||||
primaryButtonStyle="gradient"
|
||||
secondaryButtonStyle="solid"
|
||||
headingFontWeight="extrabold"
|
||||
>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleFullscreen
|
||||
navItems={navItems}
|
||||
brandName="AutoArchive"
|
||||
bottomLeftText="Explore Automotive History"
|
||||
bottomRightText="1886 to Present"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="featured-vehicles" data-section="featured-vehicles">
|
||||
<ProductCardTwo
|
||||
title="Featured Legendary Vehicles"
|
||||
description="Iconic cars that shaped automotive history"
|
||||
tag="Heritage Collection"
|
||||
tagAnimation="entrance-slide"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
animationType="slide-up"
|
||||
gridVariant="four-items-2x2-equal-grid"
|
||||
products={[
|
||||
{
|
||||
id: "1",
|
||||
brand: "Ferrari",
|
||||
name: "Ferrari 250 GTO",
|
||||
price: "1962-1964",
|
||||
rating: 5,
|
||||
reviewCount: "Legendary",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AaEFWytZ9QS584IizrKmiAvruy/a-pristine-ferrari-250-gto-from-1962-196-1772822809535-01fc3104.png?_wi=2",
|
||||
imageAlt: "Ferrari 250 GTO 1962",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
brand: "Porsche",
|
||||
name: "Porsche 911",
|
||||
price: "1963-Present",
|
||||
rating: 5,
|
||||
reviewCount: "Iconic",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AaEFWytZ9QS584IizrKmiAvruy/a-timeless-porsche-911-silver-or-charcoa-1772822809876-b85e4815.png?_wi=2",
|
||||
imageAlt: "Porsche 911 Classic",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
brand: "Jaguar",
|
||||
name: "Jaguar E-Type",
|
||||
price: "1961-1974",
|
||||
rating: 5,
|
||||
reviewCount: "Historic",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AaEFWytZ9QS584IizrKmiAvruy/a-beautiful-jaguar-e-type-from-1961-1974-1772822809686-0047bcde.png?_wi=2",
|
||||
imageAlt: "Jaguar E-Type",
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
brand: "BMW",
|
||||
name: "BMW 2002",
|
||||
price: "1968-1976",
|
||||
rating: 5,
|
||||
reviewCount: "Classic",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AaEFWytZ9QS584IizrKmiAvruy/a-classic-bmw-2002-from-1968-1976-bright-1772822810433-4b858ff4.png?_wi=2",
|
||||
imageAlt: "BMW 2002",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="browse-decade" data-section="browse-decade">
|
||||
<FeatureCardTwentyFive
|
||||
title="Browse by Era"
|
||||
description="Explore vehicles organized by historical decade with complete production timelines"
|
||||
tag="Timeline Explorer"
|
||||
tagAnimation="entrance-slide"
|
||||
animationType="depth-3d"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
title: "The Golden Age (1900-1920s)",
|
||||
description: "Early automobiles, pioneering manufacturers, and the birth of motoring",
|
||||
icon: Zap,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AaEFWytZ9QS584IizrKmiAvruy/early-1900s-automobiles-brass-and-iron-c-1772822811139-e2a9ad4c.png?_wi=2",
|
||||
imageAlt: "Early 1900s vehicles",
|
||||
},
|
||||
{
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AaEFWytZ9QS584IizrKmiAvruy/collection-of-classic-automobiles-from-1-1772822811325-6926f29c.png?_wi=2",
|
||||
imageAlt: "Classic automobiles vintage",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "The Classics Era (1930-1950s)",
|
||||
description: "Art deco styling, post-war innovation, and the golden age of design",
|
||||
icon: Award,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AaEFWytZ9QS584IizrKmiAvruy/1930s-1950s-classic-cars-showcasing-art--1772822810917-8aeeebe9.png?_wi=2",
|
||||
imageAlt: "1930s-1950s classic cars",
|
||||
},
|
||||
{
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AaEFWytZ9QS584IizrKmiAvruy/post-world-war-ii-automobiles-from-1945--1772822811278-10e2ad8c.png?_wi=2",
|
||||
imageAlt: "Post-war automobile design",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "The Modern Era (1960-1980s)",
|
||||
description: "Performance revolution, muscle cars, and engineering breakthroughs",
|
||||
icon: Sparkles,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AaEFWytZ9QS584IizrKmiAvruy/1960s-muscle-cars-and-performance-vehicl-1772822811207-68338969.png?_wi=2",
|
||||
imageAlt: "1960s muscle cars",
|
||||
},
|
||||
{
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AaEFWytZ9QS584IizrKmiAvruy/1980s-performance-vehicles-and-supercars-1772822813669-81cfe9e5.png?_wi=2",
|
||||
imageAlt: "1980s performance vehicles",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Contemporary (1990-2024)",
|
||||
description: "Digital age, electric vehicles, autonomous technology, and modern innovation",
|
||||
icon: Zap,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AaEFWytZ9QS584IizrKmiAvruy/1990s-modern-cars-featuring-sleek-sports-1772822811193-c06d80bb.png?_wi=2",
|
||||
imageAlt: "1990s modern cars",
|
||||
},
|
||||
{
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AaEFWytZ9QS584IizrKmiAvruy/modern-2020s-electric-and-autonomous-veh-1772822810626-e40aa002.png?_wi=2",
|
||||
imageAlt: "Electric and autonomous vehicles",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterLogoEmphasis
|
||||
logoText="AutoArchive"
|
||||
columns={footerColumns}
|
||||
/>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user