Merge version_3 into main #5

Merged
bender merged 7 commits from version_3 into main 2026-04-25 22:38:12 +00:00
7 changed files with 177 additions and 8 deletions

23
src/app/about/page.tsx Normal file
View File

@@ -0,0 +1,23 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
export default function AboutPage() {
return (
<ThemeProvider>
<NavbarLayoutFloatingInline
navItems={[{ name: "Home", id: "/" }, { name: "About", id: "/about" }, { name: "Services", id: "/services" }, { name: "Company", id: "/company-info" }, { name: "Contact", id: "/contact" }]}
brandName="AutoSource"
/>
<main className="pt-24">
<h1 className="text-center text-4xl">About Autosphere Company</h1>
<p className="text-center mt-6">We are the leader in automotive innovation.</p>
</main>
<ContactCTA tag="Contact" title="Learn More" description="Get in touch with us." buttons={[{ text: "Contact" }]} />
<FooterLogoReveal logoText="AutoSource" leftLink={{ text: "Privacy", href: "#" }} rightLink={{ text: "Terms", href: "#" }} />
</ThemeProvider>
);
}

View File

@@ -0,0 +1,23 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
export default function CompanyInfoPage() {
return (
<ThemeProvider>
<NavbarLayoutFloatingInline
navItems={[{ name: "Home", id: "/" }, { name: "About", id: "/about" }, { name: "Services", id: "/services" }, { name: "Company", id: "/company-info" }, { name: "Contact", id: "/contact" }]}
brandName="AutoSource"
/>
<main className="pt-24">
<h1 className="text-center text-4xl">Company Information</h1>
<p className="text-center mt-6">Dedicated to excellence and innovation at Autosphere Company.</p>
</main>
<ContactCTA tag="Contact" title="Connect" description="Find out more about our mission." buttons={[{ text: "Contact" }]} />
<FooterLogoReveal logoText="AutoSource" leftLink={{ text: "Privacy", href: "#" }} rightLink={{ text: "Terms", href: "#" }} />
</ThemeProvider>
);
}

21
src/app/contact/page.tsx Normal file
View File

@@ -0,0 +1,21 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
export default function ContactPage() {
return (
<ThemeProvider>
<NavbarLayoutFloatingInline
navItems={[{ name: "Home", id: "/" }, { name: "About", id: "/about" }, { name: "Services", id: "/services" }, { name: "Company", id: "/company-info" }, { name: "Contact", id: "/contact" }]}
brandName="AutoSource"
/>
<main className="pt-24">
<ContactCTA tag="Contact" title="Contact Us" description="We'd love to hear from you." buttons={[{ text: "Email Us" }]} />
</main>
<FooterLogoReveal logoText="AutoSource" leftLink={{ text: "Privacy", href: "#" }} rightLink={{ text: "Terms", href: "#" }} />
</ThemeProvider>
);
}

View File

@@ -0,0 +1,78 @@
"use client";
import { useState } from "react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import ReactLenis from "lenis/react";
export default function DashboardPage() {
const [savedItems, setSavedItems] = useState<Array<{ id: string, name: string, price: string }>>([
{ id: "p1", name: "Urban Explorer SUV", price: "$34,500" },
{ id: "p3", name: "Speedster Convertible", price: "$48,900" }
]);
const handleRemove = (id: string) => {
setSavedItems(savedItems.filter(item => item.id !== id));
};
return (
<ThemeProvider
defaultButtonVariant="text-shift"
defaultTextAnimation="background-highlight"
borderRadius="rounded"
contentWidth="medium"
sizing="largeSmall"
background="noise"
cardStyle="solid"
primaryButtonStyle="shadow"
secondaryButtonStyle="solid"
headingFontWeight="light"
>
<ReactLenis root>
<NavbarLayoutFloatingInline
navItems={[
{ name: "Home", id: "/" },
{ name: "Cars", id: "/#catalog" },
{ name: "Dashboard", id: "/dashboard" },
]}
brandName="AutoSource"
button={{ text: "Logout", onClick: () => console.log("Logging out") }}
/>
<main className="pt-32 pb-20 px-6 container mx-auto max-w-4xl">
<h1 className="text-4xl font-bold mb-8">Your Dashboard</h1>
<div className="bg-white dark:bg-zinc-900 p-8 rounded-lg border border-zinc-200 dark:border-zinc-800">
<h2 className="text-2xl mb-6">Saved Vehicles</h2>
{savedItems.length === 0 ? (
<p>No saved vehicles yet.</p>
) : (
<ul className="space-y-4">
{savedItems.map((item) => (
<li key={item.id} className="flex justify-between items-center p-4 border rounded">
<div>
<p className="font-bold">{item.name}</p>
<p className="text-sm text-zinc-500">{item.price}</p>
</div>
<button
onClick={() => handleRemove(item.id)}
className="text-red-500 hover:text-red-700 text-sm font-medium"
>
Remove
</button>
</li>
))}
</ul>
)}
</div>
</main>
<FooterLogoReveal
logoText="AutoSource"
leftLink={{ text: "Privacy Policy", href: "#" }}
rightLink={{ text: "Terms of Service", href: "#" }}
/>
</ReactLenis>
</ThemeProvider>
);
}

View File

@@ -35,6 +35,7 @@ export default function LandingPage() {
{ name: "Cars", id: "catalog" },
{ name: "Why Us", id: "features" },
{ name: "Contact", id: "contact" },
{ name: "Dashboard", id: "/dashboard" },
]}
brandName="AutoSource"
button={{ text: "Get Started", href: "#contact" }}
@@ -165,4 +166,4 @@ export default function LandingPage() {
</ReactLenis>
</ThemeProvider>
);
}
}

23
src/app/services/page.tsx Normal file
View File

@@ -0,0 +1,23 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
export default function ServicesPage() {
return (
<ThemeProvider>
<NavbarLayoutFloatingInline
navItems={[{ name: "Home", id: "/" }, { name: "About", id: "/about" }, { name: "Services", id: "/services" }, { name: "Company", id: "/company-info" }, { name: "Contact", id: "/contact" }]}
brandName="AutoSource"
/>
<main className="pt-24">
<h1 className="text-center text-4xl">Our Services</h1>
<p className="text-center mt-6">High-quality automotive solutions tailored for you.</p>
</main>
<ContactCTA tag="Contact" title="Inquire Now" description="Let us help you." buttons={[{ text: "Contact" }]} />
<FooterLogoReveal logoText="AutoSource" leftLink={{ text: "Privacy", href: "#" }} rightLink={{ text: "Terms", href: "#" }} />
</ThemeProvider>
);
}

View File

@@ -10,15 +10,15 @@
--accent: #ffffff;
--background-accent: #ffffff; */
--background: #f5f5f5;
--card: #ffffff;
--foreground: #1c1c1c;
--primary-cta: #1c1c1c;
--background: #020617;
--card: #0f172a;
--foreground: #e2e8f0;
--primary-cta: #c4d8f9;
--primary-cta-text: #f5f5f5;
--secondary-cta: #ffffff;
--secondary-cta: #041633;
--secondary-cta-text: #1c1c1c;
--accent: #15479c;
--background-accent: #a8cce8;
--accent: #2d30f3;
--background-accent: #1d4ed8;
/* text sizing - set by ThemeProvider */
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);