From 2299dfe84f98fd17b5e20648f3de2437cbc06e6d Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 6 Mar 2026 19:49:36 +0000 Subject: [PATCH] Update src/app/brands/page.tsx --- src/app/brands/page.tsx | 93 +++++++++++------------------------------ 1 file changed, 24 insertions(+), 69 deletions(-) diff --git a/src/app/brands/page.tsx b/src/app/brands/page.tsx index 2292035..cc41ca3 100644 --- a/src/app/brands/page.tsx +++ b/src/app/brands/page.tsx @@ -1,91 +1,46 @@ -'use client'; +"use client"; -import { ThemeProvider } from '@/components/theme/ThemeProvider'; -import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; -import HeroOverlay from '@/components/sections/hero/HeroOverlay'; -import ProductCardOne from '@/components/sections/product/ProductCardOne'; -import BlurBottomBackground from '@/components/background/BlurBottomBackground'; -import { useState } from 'react'; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay'; -const navItems = [ - { name: 'Home', id: '/' }, - { name: 'Brands', id: '/brands' }, - { name: 'Search', id: '/search' }, - { name: 'Browse', id: '/browse' }, -]; - -const brands = [ - { id: '1', name: 'Premium Essentials Co', price: 'Featured', imageSrc: '/placeholders/placeholder.jpg', imageAlt: 'Premium Essentials Co' }, - { id: '2', name: 'Luxury Design Studio', price: 'Featured', imageSrc: '/placeholders/placeholder.jpg', imageAlt: 'Luxury Design Studio' }, - { id: '3', name: 'TechFlow Innovations', price: 'Featured', imageSrc: '/placeholders/placeholder.jpg', imageAlt: 'TechFlow Innovations' }, - { id: '4', name: 'Fashion Forward Collective', price: 'Featured', imageSrc: '/placeholders/placeholder.jpg', imageAlt: 'Fashion Forward Collective' }, - { id: '5', name: 'Eco Conscious Brand', price: 'Featured', imageSrc: '/placeholders/placeholder.jpg', imageAlt: 'Eco Conscious Brand' }, - { id: '6', name: 'Artisan Marketplace', price: 'Featured', imageSrc: '/placeholders/placeholder.jpg', imageAlt: 'Artisan Marketplace' }, +const testCarImages = [ + 'https://images.unsplash.com/photo-1552519507-da3a142c6e3d?w=800&q=80', + 'https://images.unsplash.com/photo-1494976866105-d32a481b81b4?w=800&q=80', + 'https://images.unsplash.com/photo-1527524330007-3ea4e06ed667?w=800&q=80', ]; export default function BrandsPage() { - const [favorites, setFavorites] = useState>(new Set()); - - const handleFavorite = (id: string) => { - const newFavorites = new Set(favorites); - if (newFavorites.has(id)) { - newFavorites.delete(id); - } else { - newFavorites.add(id); - } - setFavorites(newFavorites); - }; - return ( - - -
- +
-
- ({ - ...brand, - isFavorited: favorites.has(brand.id), - onFavorite: () => handleFavorite(brand.id), - onProductClick: () => console.log(`Clicked brand: ${brand.name}`), - }))} - title="All Brands" - description="Browse our complete collection of partner brands" - tag="Brands" - gridVariant="three-columns-all-equal-width" - animationType="slide-up" - textboxLayout="default" - useInvertedBackground={false} - /> +
+
+

Car Brands

+

Browse all car brands in our database

+
- - ); }