13 Commits

Author SHA1 Message Date
9fcc8bd343 Update src/app/page.tsx 2026-02-23 20:43:28 +00:00
93d8dea429 Update src/app/layout.tsx 2026-02-23 20:43:27 +00:00
0e521d36b6 Merge version_5 into main
Merge version_5 into main
2026-02-23 20:42:01 +00:00
59bad181cd Update theme fonts 2026-02-23 20:41:57 +00:00
7a4ab233ca Update theme fonts 2026-02-23 20:41:56 +00:00
51eaa7b135 Merge version_5 into main
Merge version_5 into main
2026-02-23 20:41:28 +00:00
b77ea5300e Update theme colors 2026-02-23 20:41:22 +00:00
436e3b6dfc Merge version_5 into main
Merge version_5 into main
2026-02-23 20:40:50 +00:00
43c3276388 Update src/app/page.tsx 2026-02-23 20:40:46 +00:00
77b53b3108 Merge version_5 into main
Merge version_5 into main
2026-02-23 20:40:27 +00:00
de398b9a9c Update src/app/page.tsx 2026-02-23 20:40:22 +00:00
a2d78c7fd0 Bob AI: Add a navigation link to the products page in the navbar men 2026-02-23 20:33:37 +00:00
84878ee028 Bob AI: Move productcatalog section to /for page 2026-02-23 20:29:21 +00:00
5 changed files with 102 additions and 82 deletions

81
src/app/for/page.tsx Normal file
View File

@@ -0,0 +1,81 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ProductCatalog from "@/components/ecommerce/productCatalog/ProductCatalog";
export default function ForPage() {
return (
<ThemeProvider defaultButtonVariant="directional-hover"
defaultTextAnimation="background-highlight"
borderRadius="pill"
contentWidth="medium"
sizing="mediumLarge"
background="aurora"
cardStyle="gradient-bordered"
primaryButtonStyle="inset-glow"
secondaryButtonStyle="layered"
headingFontWeight="semibold">
<main>
<div id="productcatalog" data-section="productcatalog">
<ProductCatalog
layout="section"
products={[
{
id: "1",
name: "Pro Tennis Racket",
price: 299.99,
imageSrc: "https://img.b2bpic.net/free-photo/abstract-luxury-gradient-blue-background_53876-120942.jpg",
imageAlt: "Pro Tennis Racket",
rating: 4.8,
reviewCount: 124,
category: "Rackets",
onProductClick: () => {}
},
{
id: "2",
name: "Custom Tennis Shoes",
price: 189.99,
imageSrc: "https://img.b2bpic.net/free-photo/futuristic-moon-background_23-2150930890.jpg",
imageAlt: "Custom Tennis Shoes",
rating: 4.9,
reviewCount: 89,
category: "Footwear",
onProductClick: () => {}
},
{
id: "3",
name: "Performance Tennis Apparel",
price: 129.99,
imageSrc: "https://img.b2bpic.net/free-photo/futuristic-city-architecture_23-2151918947.jpg",
imageAlt: "Performance Tennis Apparel",
rating: 4.7,
reviewCount: 156,
category: "Apparel",
onProductClick: () => {}
},
{
id: "4",
name: "Professional Tennis Bag",
price: 159.99,
imageSrc: "https://img.b2bpic.net/free-photo/futuristic-moon-background_23-2150930734.jpg",
imageAlt: "Professional Tennis Bag",
rating: 4.6,
reviewCount: 72,
category: "Accessories",
onProductClick: () => {}
}
]}
searchPlaceholder="Search custom tennis gear..."
emptyMessage="No tennis products available"
className="w-full"
gridClassName="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6"
cardClassName="bg-white rounded-lg shadow-md hover:shadow-lg transition-shadow"
imageClassName="w-full h-64 object-cover rounded-t-lg"
searchClassName="mb-8"
toolbarClassName="flex flex-col gap-4 mb-8"
/>
</div>
</main>
</ThemeProvider>
);
}

View File

@@ -10,7 +10,6 @@ import TestimonialCardFifteen from '@/components/sections/testimonial/Testimonia
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterCard from '@/components/sections/footer/FooterCard';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ProductCatalog from '@/components/ecommerce/productCatalog/ProductCatalog';
export default function LandingPage() {
return (
@@ -162,66 +161,6 @@ export default function LandingPage() {
/>
</div>
<div id="productcatalog" data-section="productcatalog">
<ProductCatalog
layout="section"
products={[
{
id: "1",
name: "Pro Tennis Racket",
price: 299.99,
imageSrc: "https://img.b2bpic.net/free-photo/abstract-luxury-gradient-blue-background_53876-120942.jpg",
imageAlt: "Pro Tennis Racket",
rating: 4.8,
reviewCount: 124,
category: "Rackets",
onProductClick: () => {}
},
{
id: "2",
name: "Custom Tennis Shoes",
price: 189.99,
imageSrc: "https://img.b2bpic.net/free-photo/futuristic-moon-background_23-2150930890.jpg",
imageAlt: "Custom Tennis Shoes",
rating: 4.9,
reviewCount: 89,
category: "Footwear",
onProductClick: () => {}
},
{
id: "3",
name: "Performance Tennis Apparel",
price: 129.99,
imageSrc: "https://img.b2bpic.net/free-photo/futuristic-city-architecture_23-2151918947.jpg",
imageAlt: "Performance Tennis Apparel",
rating: 4.7,
reviewCount: 156,
category: "Apparel",
onProductClick: () => {}
},
{
id: "4",
name: "Professional Tennis Bag",
price: 159.99,
imageSrc: "https://img.b2bpic.net/free-photo/futuristic-moon-background_23-2150930734.jpg",
imageAlt: "Professional Tennis Bag",
rating: 4.6,
reviewCount: 72,
category: "Accessories",
onProductClick: () => {}
}
]}
searchPlaceholder="Search custom tennis gear..."
emptyMessage="No tennis products available"
className="w-full"
gridClassName="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6"
cardClassName="bg-white rounded-lg shadow-md hover:shadow-lg transition-shadow"
imageClassName="w-full h-64 object-cover rounded-t-lg"
searchClassName="mb-8"
toolbarClassName="flex flex-col gap-4 mb-8"
/>
</div>
<div id="contact-section" data-section="contact-section">
<ContactSplit
tag="Get In Touch"

View File

@@ -11,7 +11,7 @@ html {
body {
background-color: var(--background);
color: var(--foreground);
font-family: var(--font-font-family: var(--font-plus-jakarta-sans), sans-serif;), sans-serif;
font-family: var(--font-inter), sans-serif;), sans-serif;
position: relative;
min-height: 100vh;
overscroll-behavior: none;
@@ -24,5 +24,5 @@ h3,
h4,
h5,
h6 {
font-family: var(--font-font-family: var(--font-plus-jakarta-sans), sans-serif;), sans-serif;
font-family: var(--font-libre-baskerville), serif;), sans-serif;
}

View File

@@ -2,23 +2,23 @@
/* Base units */
/* --vw is set by ThemeProvider */
/* --background: #e3deea;;
--card: #ffffff;;
--foreground: #27231f;;
--primary-cta: #27231f;;
--secondary-cta: #ffffff;;
--accent: #c68a62;;
--background-accent: #c68a62;; */
/* --background: #f5faff;;;
--card: #f1f8ff;;;
--foreground: #001122;;;
--primary-cta: #15479c;;;
--secondary-cta: #ffffff;;;
--accent: #a8cce8;;;
--background-accent: #7ba3cf;;; */
--background: #e3deea;;
--card: #ffffff;;
--foreground: #27231f;;
--primary-cta: #27231f;;
--background: #f5faff;;;
--card: #f1f8ff;;;
--foreground: #001122;;;
--primary-cta: #15479c;;;
--primary-cta-text: #f7f6f7;
--secondary-cta: #ffffff;;
--secondary-cta: #ffffff;;;
--secondary-cta-text: #1b0c25;
--accent: #c68a62;;
--background-accent: #c68a62;;
--accent: #a8cce8;;;
--background-accent: #7ba3cf;;;
/* text sizing - set by ThemeProvider */
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);

View File

@@ -13,7 +13,7 @@ import type { ButtonConfig } from "@/types/button";
import "./NavbarStyleFullscreen.css";
interface NavLinkProps {
item: NavItem;
item: NavItem & { href?: string };
onClose: () => void;
}
@@ -21,13 +21,13 @@ const NavLink = ({ item, onClose }: NavLinkProps) => {
const handleClick = useButtonClick(item.id, onClose);
return (
<button
type="button"
className="navbar-fullscreen__link text-background font-normal leading-[1.15] no-underline text-9xl bg-transparent border-none cursor-pointer"
<a
href={item.href || "#"}
className="navbar-fullscreen__link text-background font-normal leading-[1.15] no-underline text-9xl bg-transparent border-none cursor-pointer block"
onClick={handleClick}
>
<span className="navbar-fullscreen__link-text block relative">{item.name}</span>
</button>
</a>
);
};