Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1d1c0e4f86 | |||
| 761d885161 | |||
| f9b7e7eb85 | |||
| 1dd2331684 | |||
| ff983005bf | |||
| 1bc9524178 | |||
| b8f4074f8e | |||
| 5d88787c40 | |||
| c3b93758d2 | |||
| 376e2ddf80 | |||
| 721064f8fe | |||
| ef83da0963 | |||
| 843c5999ea | |||
| b299f414c7 | |||
| ac9647e727 | |||
| ea71909241 |
@@ -31,13 +31,14 @@ export default function BlogPage() {
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Features", id: "features" },
|
||||
{ name: "Events", id: "events" },
|
||||
{ name: "Contact", id: "contact" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Features", id: "/#features" },
|
||||
{ name: "Events", id: "/#events" },
|
||||
{ name: "Products", id: "/products" },
|
||||
{ name: "Contact", id: "/#contact" }
|
||||
]}
|
||||
brandName="Balero Chess Club"
|
||||
button={{ text: "Join Now", href: "#contact" }}
|
||||
button={{ text: "Join Now", href: "/#contact" }}
|
||||
buttonClassName="bg-[var(--primary-cta)] text-[var(--primary-cta-text)] hover:bg-[var(--primary-cta)]"
|
||||
navItemClassName="text-[var(--foreground)] hover:text-[var(--primary-cta)]"
|
||||
/>
|
||||
@@ -66,16 +67,17 @@ export default function BlogPage() {
|
||||
columns={[
|
||||
{
|
||||
title: "Quick Links", items: [
|
||||
{ label: "Home", href: "#" },
|
||||
{ label: "About", href: "#about" },
|
||||
{ label: "Features", href: "#features" },
|
||||
{ label: "Events", href: "#events" },
|
||||
{ label: "Home", href: "/" },
|
||||
{ label: "About", href: "/#about" },
|
||||
{ label: "Features", href: "/#features" },
|
||||
{ label: "Events", href: "/#events" },
|
||||
{ label: "Products", href: "/products" }
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Resources", items: [
|
||||
{ label: "FAQ", href: "#faq" },
|
||||
{ label: "Contact", href: "#contact" },
|
||||
{ label: "FAQ", href: "/#faq" },
|
||||
{ label: "Contact", href: "/#contact" },
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
1375
src/app/layout.tsx
1375
src/app/layout.tsx
File diff suppressed because it is too large
Load Diff
@@ -29,13 +29,15 @@ export default function LandingPage() {
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Features", id: "features" },
|
||||
{ name: "Events", id: "events" },
|
||||
{ name: "Contact", id: "contact" },
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Features", id: "/#features" },
|
||||
{ name: "Events", id: "/#events" },
|
||||
{ name: "Products", id: "/products" },
|
||||
{ name: "Contact", id: "/#contact" }
|
||||
]}
|
||||
brandName="Balero Chess Club"
|
||||
button={{ text: "Join Now", href: "#contact" }}
|
||||
button={{ text: "Join Now", href: "/#contact" }}
|
||||
buttonClassName="bg-[var(--primary-cta)] text-[var(--primary-cta-text)] hover:bg-[var(--primary-cta)]"
|
||||
navItemClassName="text-[var(--foreground)] hover:text-[var(--primary-cta)]"
|
||||
/>
|
||||
@@ -210,16 +212,17 @@ export default function LandingPage() {
|
||||
columns={[
|
||||
{
|
||||
title: "Quick Links", items: [
|
||||
{ label: "Home", href: "#" },
|
||||
{ label: "About", href: "#about" },
|
||||
{ label: "Features", href: "#features" },
|
||||
{ label: "Events", href: "#events" },
|
||||
{ label: "Home", href: "/" },
|
||||
{ label: "About", href: "/#about" },
|
||||
{ label: "Features", href: "/#features" },
|
||||
{ label: "Events", href: "/#events" },
|
||||
{ label: "Products", href: "/products" }
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Resources", items: [
|
||||
{ label: "FAQ", href: "#faq" },
|
||||
{ label: "Contact", href: "#contact" },
|
||||
{ label: "FAQ", href: "/#faq" },
|
||||
{ label: "Contact", href: "/#contact" },
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
104
src/app/products/page.tsx
Normal file
104
src/app/products/page.tsx
Normal file
@@ -0,0 +1,104 @@
|
||||
"use client";
|
||||
|
||||
import React from 'react';
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
|
||||
// Component Imports
|
||||
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
||||
import ProductCardThree from '@/components/sections/product/ProductCardThree';
|
||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||
|
||||
export default function ProductsPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="icon-arrow"
|
||||
defaultTextAnimation="reveal-blur"
|
||||
borderRadius="rounded"
|
||||
contentWidth="mediumSmall"
|
||||
sizing="mediumLargeSizeMediumTitles"
|
||||
background="noiseDiagonalGradient"
|
||||
cardStyle="solid"
|
||||
primaryButtonStyle="double-inset"
|
||||
secondaryButtonStyle="radial-glow"
|
||||
headingFontWeight="normal"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Features", id: "/#features" },
|
||||
{ name: "Events", id: "/#events" },
|
||||
{ name: "Products", id: "/products" },
|
||||
{ name: "Contact", id: "/#contact" }
|
||||
]}
|
||||
brandName="Balero Chess Club"
|
||||
button={{ text: "Join Now", href: "/#contact" }}
|
||||
buttonClassName="bg-[var(--primary-cta)] text-[var(--primary-cta-text)] hover:bg-[var(--primary-cta)]"
|
||||
navItemClassName="text-[var(--foreground)] hover:text-[var(--primary-cta)]"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="product-showcase" data-section="product-showcase">
|
||||
<ProductCardThree
|
||||
title="Our Products"
|
||||
description="Explore our range of high-quality chess products and accessories."
|
||||
tag="Shop Now"
|
||||
textboxLayout="default"
|
||||
products={[
|
||||
{
|
||||
id: "1", name: "Premium Chess Set (Wood)", price: "$149.99", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_34my1kGeblbsCcwUUCcjBY9WFkg/uploaded-1770650117849-5g9y9h7u.jpg", imageAlt: "Premium wooden chess set"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Electronic Chess Clock", price: "$49.99", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_34my1kGeblbsCcwUUCcjBY9WFkg/uploaded-1770650170139-p2l3m8n7.jpg", imageAlt: "Electronic chess clock"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Beginner's Chess Book", price: "$19.99", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_34my1kGeblbsCcwUUCcjBY9WFkg/uploaded-1770650220267-q0w1e2r3.jpg", imageAlt: "Beginner's chess book"
|
||||
}
|
||||
]}
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
animationType="slide-up"
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{
|
||||
title: "Quick Links", items: [
|
||||
{ label: "Home", href: "/" },
|
||||
{ label: "About", href: "/#about" },
|
||||
{ label: "Features", href: "/#features" },
|
||||
{ label: "Events", href: "/#events" },
|
||||
{ label: "Products", href: "/products" }
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Resources", items: [
|
||||
{ label: "FAQ", href: "/#faq" },
|
||||
{ label: "Contact", href: "/#contact" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Connect", items: [
|
||||
{ label: "Facebook", href: "https://www.facebook.com/balerochessclub" },
|
||||
{ label: "Instagram", href: "https://www.instagram.com/balerochessclub" },
|
||||
],
|
||||
},
|
||||
]}
|
||||
bottomLeftText="© 2024 Balero Chess Club. All rights reserved."
|
||||
bottomRightText="Built with passion for chess."
|
||||
className="bg-[var(--background)] text-[var(--foreground)]"
|
||||
columnTitleClassName="font-semibold text-[var(--foreground)]"
|
||||
columnItemClassName="text-[var(--foreground)] opacity-80 hover:text-[var(--primary-cta)]"
|
||||
bottomLeftTextClassName="text-[var(--foreground)] opacity-70"
|
||||
bottomRightTextClassName="text-[var(--foreground)] opacity-70"
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
@@ -91,7 +91,14 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[{ name: "Home", id: "/" }, { name: "Shop", id: "/shop" }]}
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Features", id: "/#features" },
|
||||
{ name: "Events", id: "/#events" },
|
||||
{ name: "Products", id: "/products" },
|
||||
{ name: "Contact", id: "/#contact" }
|
||||
]}
|
||||
brandName="Balero Chess Club"
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
buttonClassName="bg-[var(--primary-cta)] text-[var(--primary-cta-text)] hover:bg-[var(--primary-cta)]"
|
||||
@@ -123,7 +130,14 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[{ name: "Home", id: "/" }, { name: "Shop", id: "/shop" }]}
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Features", id: "/#features" },
|
||||
{ name: "Events", id: "/#events" },
|
||||
{ name: "Products", id: "/products" },
|
||||
{ name: "Contact", id: "/#contact" }
|
||||
]}
|
||||
brandName="Balero Chess Club"
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
buttonClassName="bg-[var(--primary-cta)] text-[var(--primary-cta-text)] hover:bg-[var(--primary-cta)]"
|
||||
@@ -162,7 +176,14 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[{ name: "Home", id: "/" }, { name: "Shop", id: "/shop" }]}
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Features", id: "/#features" },
|
||||
{ name: "Events", id: "/#events" },
|
||||
{ name: "Products", id: "/products" },
|
||||
{ name: "Contact", id: "/#contact" }
|
||||
]}
|
||||
brandName="Balero Chess Club"
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
buttonClassName="bg-[var(--primary-cta)] text-[var(--primary-cta-text)] hover:bg-[var(--primary-cta)]"
|
||||
@@ -208,9 +229,27 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{ title: "Quick Links", items: [{ label: "Home", href: "/" }, { label: "About", href: "#about" }, { label: "Features", href: "#features" }, { label: "Events", href: "#events" }] },
|
||||
{ title: "Resources", items: [{ label: "FAQ", href: "#faq" }, { label: "Contact", href: "#contact" }] },
|
||||
{ title: "Connect", items: [{ label: "Facebook", href: "https://www.facebook.com/balerochessclub" }, { label: "Instagram", href: "https://www.instagram.com/balerochessclub" }] }
|
||||
{
|
||||
title: "Quick Links", items: [
|
||||
{ label: "Home", href: "/" },
|
||||
{ label: "About", href: "/#about" },
|
||||
{ label: "Features", href: "/#features" },
|
||||
{ label: "Events", href: "/#events" },
|
||||
{ label: "Products", href: "/products" }
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Resources", items: [
|
||||
{ label: "FAQ", href: "/#faq" },
|
||||
{ label: "Contact", href: "/#contact" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Connect", items: [
|
||||
{ label: "Facebook", href: "https://www.facebook.com/balerochessclub" },
|
||||
{ label: "Instagram", href: "https://www.instagram.com/balerochessclub" },
|
||||
],
|
||||
},
|
||||
]}
|
||||
bottomLeftText="© 2024 Balero Chess Club. All rights reserved."
|
||||
bottomRightText="Built with passion for chess."
|
||||
|
||||
@@ -31,7 +31,10 @@ function ShopPageContent() {
|
||||
getCheckoutItems,
|
||||
} = useCart();
|
||||
|
||||
const { checkout, isLoading: isCheckoutLoading } = useCheckout();
|
||||
const {
|
||||
checkout,
|
||||
isLoading: isCheckoutLoading
|
||||
} = useCheckout();
|
||||
|
||||
const handleCheckout = useCallback(async () => {
|
||||
if (cartItems.length === 0) return;
|
||||
@@ -59,7 +62,14 @@ function ShopPageContent() {
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[{ name: "Home", id: "/" }, { name: "Shop", id: "/shop" }]}
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Features", id: "/#features" },
|
||||
{ name: "Events", id: "/#events" },
|
||||
{ name: "Products", id: "/products" },
|
||||
{ name: "Contact", id: "/#contact" }
|
||||
]}
|
||||
brandName="Balero Chess Club"
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
buttonClassName="bg-[var(--primary-cta)] text-[var(--primary-cta-text)] hover:bg-[var(--primary-cta)]"
|
||||
@@ -90,7 +100,14 @@ function ShopPageContent() {
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[{ name: "Home", id: "/" }, { name: "Shop", id: "/shop" }]}
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Features", id: "/#features" },
|
||||
{ name: "Events", id: "/#events" },
|
||||
{ name: "Products", id: "/products" },
|
||||
{ name: "Contact", id: "/#contact" }
|
||||
]}
|
||||
brandName="Balero Chess Club"
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
buttonClassName="bg-[var(--primary-cta)] text-[var(--primary-cta-text)] hover:bg-[var(--primary-cta)]"
|
||||
@@ -126,9 +143,27 @@ function ShopPageContent() {
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{ title: "Quick Links", items: [{ label: "Home", href: "/" }, { label: "About", href: "#about" }, { label: "Features", href: "#features" }, { label: "Events", href: "#events" }] },
|
||||
{ title: "Resources", items: [{ label: "FAQ", href: "#faq" }, { label: "Contact", href: "#contact" }] },
|
||||
{ title: "Connect", items: [{ label: "Facebook", href: "https://www.facebook.com/balerochessclub" }, { label: "Instagram", href: "https://www.instagram.com/balerochessclub" }] }
|
||||
{
|
||||
title: "Quick Links", items: [
|
||||
{ label: "Home", href: "/" },
|
||||
{ label: "About", href: "/#about" },
|
||||
{ label: "Features", href: "/#features" },
|
||||
{ label: "Events", href: "/#events" },
|
||||
{ label: "Products", href: "/products" }
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Resources", items: [
|
||||
{ label: "FAQ", href: "/#faq" },
|
||||
{ label: "Contact", href: "/#contact" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Connect", items: [
|
||||
{ label: "Facebook", href: "https://www.facebook.com/balerochessclub" },
|
||||
{ label: "Instagram", href: "https://www.instagram.com/balerochessclub" },
|
||||
],
|
||||
},
|
||||
]}
|
||||
bottomLeftText="© 2024 Balero Chess Club. All rights reserved."
|
||||
bottomRightText="Built with passion for chess."
|
||||
|
||||
Reference in New Issue
Block a user