Initial commit
This commit is contained in:
128
src/app/shop/page.tsx
Normal file
128
src/app/shop/page.tsx
Normal file
@@ -0,0 +1,128 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||
import ProductCardFour from '@/components/sections/product/ProductCardFour';
|
||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||
import { Smartphone, Star, Heart, ShoppingBag } from 'lucide-react';
|
||||
|
||||
export default function ShopPage() {
|
||||
const products = [
|
||||
{
|
||||
id: "1", name: "iPhone 15 Pro Max", price: "$1,199", variant: "Natural Titanium • 4 Colors", imageSrc: "https://images.unsplash.com/photo-1592750475338-74b7b21085ab?w=600&h=600&fit=crop", imageAlt: "iPhone 15 Pro Max", isFavorited: false,
|
||||
onFavorite: () => console.log('Favorited iPhone 15 Pro Max'),
|
||||
onProductClick: () => console.log('View iPhone 15 Pro Max details')
|
||||
},
|
||||
{
|
||||
id: "2", name: "iPhone 15 Pro", price: "$999", variant: "Blue Titanium • 4 Colors", imageSrc: "https://images.unsplash.com/photo-1605236453806-b25e7d3d4c0a?w=600&h=600&fit=crop", imageAlt: "iPhone 15 Pro", isFavorited: true,
|
||||
onFavorite: () => console.log('Favorited iPhone 15 Pro'),
|
||||
onProductClick: () => console.log('View iPhone 15 Pro details')
|
||||
},
|
||||
{
|
||||
id: "3", name: "iPhone 15", price: "$799", variant: "Pink • 5 Colors", imageSrc: "https://images.unsplash.com/photo-1574944985070-8f3ebc6b79d2?w=600&h=600&fit=crop", imageAlt: "iPhone 15", isFavorited: false,
|
||||
onFavorite: () => console.log('Favorited iPhone 15'),
|
||||
onProductClick: () => console.log('View iPhone 15 details')
|
||||
},
|
||||
{
|
||||
id: "4", name: "iPhone 14 Pro", price: "$899", variant: "Space Black • 4 Colors", imageSrc: "https://images.unsplash.com/photo-1556656793-08538906a9f8?w=600&h=600&fit=crop", imageAlt: "iPhone 14 Pro", isFavorited: false,
|
||||
onFavorite: () => console.log('Favorited iPhone 14 Pro'),
|
||||
onProductClick: () => console.log('View iPhone 14 Pro details')
|
||||
},
|
||||
{
|
||||
id: "5", name: "iPhone 14", price: "$699", variant: "Midnight • 5 Colors", imageSrc: "https://images.unsplash.com/photo-1512499617640-c74ae3a79d37?w=600&h=600&fit=crop", imageAlt: "iPhone 14", isFavorited: true,
|
||||
onFavorite: () => console.log('Favorited iPhone 14'),
|
||||
onProductClick: () => console.log('View iPhone 14 details')
|
||||
},
|
||||
{
|
||||
id: "6", name: "iPhone SE", price: "$429", variant: "Product Red • 3 Colors", imageSrc: "https://images.unsplash.com/photo-1551368264-c6291ae0a8dd?w=600&h=600&fit=crop", imageAlt: "iPhone SE", isFavorited: false,
|
||||
onFavorite: () => console.log('Favorited iPhone SE'),
|
||||
onProductClick: () => console.log('View iPhone SE details')
|
||||
}
|
||||
];
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="icon-arrow"
|
||||
defaultTextAnimation="reveal-blur"
|
||||
borderRadius="rounded"
|
||||
contentWidth="medium"
|
||||
sizing="medium"
|
||||
background="aurora"
|
||||
cardStyle="elevated"
|
||||
primaryButtonStyle="double-inset"
|
||||
secondaryButtonStyle="layered"
|
||||
headingFontWeight="medium"
|
||||
>
|
||||
<NavbarStyleFullscreen
|
||||
brandName="iPhone Store"
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Shop", id: "/shop" }
|
||||
]}
|
||||
bottomLeftText="Premium iPhone Selection"
|
||||
bottomRightText="support@iphonestore.com"
|
||||
/>
|
||||
|
||||
<main className="min-h-screen">
|
||||
<ProductCardFour
|
||||
products={products}
|
||||
title="iPhone Collection"
|
||||
description="Discover our complete range of premium iPhones with cutting-edge technology and stunning design"
|
||||
tag="Latest Models"
|
||||
tagIcon={Smartphone}
|
||||
textboxLayout="default"
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
animationType="slide-up"
|
||||
useInvertedBackground="noInvert"
|
||||
buttons={[
|
||||
{
|
||||
text: "View All Models", onClick: () => console.log('View all models')
|
||||
},
|
||||
{
|
||||
text: "Compare Phones", onClick: () => console.log('Compare phones')
|
||||
}
|
||||
]}
|
||||
/>
|
||||
</main>
|
||||
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{
|
||||
title: "Products", items: [
|
||||
{ label: "iPhone 15 Pro", href: "#products" },
|
||||
{ label: "iPhone 15", href: "#products" },
|
||||
{ label: "iPhone 14 Pro", href: "#products" },
|
||||
{ label: "Compare", href: "#products" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Support", items: [
|
||||
{ label: "Help Center", href: "#support" },
|
||||
{ label: "Contact Us", href: "#contact" },
|
||||
{ label: "Warranty", href: "#support" },
|
||||
{ label: "Trade-In", href: "#support" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "#about" },
|
||||
{ label: "Careers", href: "#careers" },
|
||||
{ label: "Blog", href: "#blog" },
|
||||
{ label: "Press", href: "#press" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Legal", items: [
|
||||
{ label: "Privacy", href: "#privacy" },
|
||||
{ label: "Terms", href: "#terms" },
|
||||
{ label: "Cookies", href: "#cookies" },
|
||||
{ label: "Accessibility", href: "#accessibility" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
bottomLeftText="© 2025 iPhone Store. All rights reserved."
|
||||
bottomRightText="Engineered with precision"
|
||||
/>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user