Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 79a93a72b5 | |||
| 85c387ca6b | |||
| 3be763d2d5 | |||
| ee14199138 | |||
| a85d6d280a | |||
| ee18f1bbce | |||
| f3417796e1 | |||
| b01922fc7c | |||
| 59f2aedcad | |||
| 749a24a8d4 | |||
| 358cdc09b1 | |||
| ed24dc22c3 |
@@ -1,59 +1,50 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import HeroPersonalLinks from "@/components/sections/hero/HeroPersonalLinks";
|
import ProductCardTwo from "@/components/sections/product/ProductCardTwo";
|
||||||
import { ShoppingBag, Tag, Star, Sparkles, Shirt } from "lucide-react";
|
|
||||||
|
|
||||||
export default function PersonalGridTemplatePage() {
|
export default function PersonalGridTemplatePage() {
|
||||||
const titleSegments = [
|
const products = [
|
||||||
{ type: "text" as const, content: "Curated styles for" },
|
|
||||||
{ type: "image" as const, src: "http://img.b2bpic.net/free-photo/top-view-girl-with-dreadlocks-lying-floor_23-2149085227.jpg", alt: "Modern Fashion" },
|
|
||||||
{ type: "text" as const, content: "your wardrobe" },
|
|
||||||
{ type: "image" as const, src: "http://img.b2bpic.net/free-photo/close-up-purple-texture-fabric-with-small-pattern-small-squares_91008-489.jpg", alt: "Chic Trends" },
|
|
||||||
{ type: "text" as const, content: "elevated" },
|
|
||||||
];
|
|
||||||
|
|
||||||
const socialLinks = [
|
|
||||||
{ icon: ShoppingBag, label: "Shop Instagram", href: "#" },
|
|
||||||
{ icon: Sparkles, label: "Style Trends", href: "#" },
|
|
||||||
{ icon: Star, label: "New Arrivals", href: "#" },
|
|
||||||
];
|
|
||||||
|
|
||||||
const linkCards = [
|
|
||||||
{
|
{
|
||||||
icon: Shirt,
|
id: "1", brand: "Signature", name: "Organic Linen Shirt", price: "$129", rating: 5,
|
||||||
title: "Spring/Summer 2024", description: "Discover our latest seasonal drop of sustainable linens and cottons.", button: { text: "Shop Collection", href: "#" },
|
reviewCount: "128", imageSrc: "https://img.b2bpic.net/free-photo/top-view-girl-with-dreadlocks-lying-floor_23-2149085227.jpg?_wi=1", imageAlt: "Organic Linen Shirt"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: Tag,
|
id: "2", brand: "Signature", name: "Cotton Essential Tee", price: "$45", rating: 4,
|
||||||
title: "Exclusive Membership", description: "Sign up for 15% off your first purchase and early access to drops.", button: { text: "Join & Save", href: "#" },
|
reviewCount: "84", imageSrc: "https://img.b2bpic.net/free-photo/close-up-purple-texture-fabric-with-small-pattern-small-squares_91008-489.jpg", imageAlt: "Cotton Essential Tee"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: Star,
|
id: "3", brand: "Signature", name: "Tailored Wool Trousers", price: "$189", rating: 5,
|
||||||
title: "Best Sellers", description: "Our community favorites—the pieces everyone is wearing this month.", button: { text: "View Gallery", href: "#" },
|
reviewCount: "42", imageSrc: "https://img.b2bpic.net/free-photo/top-view-girl-with-dreadlocks-lying-floor_23-2149085227.jpg?_wi=2", imageAlt: "Tailored Wool Trousers"
|
||||||
},
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="text-stagger"
|
defaultButtonVariant="text-stagger"
|
||||||
defaultTextAnimation="entrance-slide"
|
defaultTextAnimation="reveal-blur"
|
||||||
borderRadius="rounded"
|
borderRadius="pill"
|
||||||
contentWidth="medium"
|
contentWidth="medium"
|
||||||
sizing="medium"
|
sizing="medium"
|
||||||
background="none"
|
background="none"
|
||||||
cardStyle="gradient-bordered"
|
cardStyle="glass-elevated"
|
||||||
primaryButtonStyle="flat"
|
primaryButtonStyle="flat"
|
||||||
secondaryButtonStyle="solid"
|
secondaryButtonStyle="solid"
|
||||||
headingFontWeight="medium"
|
headingFontWeight="light"
|
||||||
>
|
>
|
||||||
<HeroPersonalLinks
|
<div id="products">
|
||||||
background={{ variant: "downward-rays-animated-grid" }}
|
<ProductCardTwo
|
||||||
title="Your source for modern apparel"
|
title="Collection"
|
||||||
titleSegments={titleSegments}
|
description="Minimalist wardrobe essentials, crafted for longevity."
|
||||||
socialLinks={socialLinks}
|
products={products}
|
||||||
linkCards={linkCards}
|
buttons={[{ text: "Shop All Essentials", href: "/shop" }]}
|
||||||
/>
|
gridVariant="three-columns-all-equal-width"
|
||||||
|
animationType="blur-reveal"
|
||||||
|
textboxLayout="split-description"
|
||||||
|
useInvertedBackground={false}
|
||||||
|
className="py-20"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -10,15 +10,15 @@
|
|||||||
--accent: #ffffff;
|
--accent: #ffffff;
|
||||||
--background-accent: #ffffff; */
|
--background-accent: #ffffff; */
|
||||||
|
|
||||||
--background: #0a0a0a;
|
--background: #ffffff;
|
||||||
--card: #1a1a1a;
|
--card: #f9f9f9;
|
||||||
--foreground: #ffffffe6;
|
--foreground: #120006e6;
|
||||||
--primary-cta: #e6e6e6;
|
--primary-cta: #e63946;
|
||||||
--primary-cta-text: #0a0a0a;
|
--primary-cta-text: #ffffff;
|
||||||
--secondary-cta: #1a1a1a;
|
--secondary-cta: #f9f9f9;
|
||||||
--secondary-cta-text: #ffffffe6;
|
--secondary-cta-text: #120006e6;
|
||||||
--accent: #737373;
|
--accent: #e2e2e2;
|
||||||
--background-accent: #737373;
|
--background-accent: #c4c4c4;
|
||||||
|
|
||||||
/* text sizing - set by ThemeProvider */
|
/* text sizing - set by ThemeProvider */
|
||||||
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
||||||
|
|||||||
Reference in New Issue
Block a user