Merge version_1 into main #5

Merged
bender merged 2 commits from version_1 into main 2026-02-27 21:31:13 +00:00
2 changed files with 87 additions and 115 deletions

View File

@@ -48,7 +48,7 @@ export default function HomePage() {
title="North Dakota Roofing Built for Real Weather"
description="Residential and commercial roofing, repairs, and storm restoration. Fast estimates. Clean installs. Strong warranties. Licensed, insured, and storm damage specialists serving North Dakota."
tag="Licensed & Insured • Warranty-Backed • Storm Specialists"
tagAnimation="entrance-slide"
tagAnimation="slide-up"
background={{ variant: 'glowing-orb' }}
buttons={[
{ text: 'Get Free Estimate', href: '/contact' },

View File

@@ -1,122 +1,94 @@
"use client";
import ReactLenis from "lenis/react";
import ProductCatalogOne from "@/components/sections/productCatalog/ProductCatalogOne";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
import Link from 'next/link';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import { useProductCatalog } from "@/hooks/useProductCatalog";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroSplit from '@/components/sections/hero/HeroSplit';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
export default function ShopPage() {
const {
products,
isLoading,
search,
setSearch,
category,
setCategory,
sort,
setSort,
filters,
categories
} = useProductCatalog();
return (
<ThemeProvider
defaultButtonVariant="icon-arrow"
defaultTextAnimation="reveal-blur"
borderRadius="pill"
contentWidth="smallMedium"
sizing="mediumLargeSizeMediumTitles"
background="aurora"
cardStyle="gradient-radial"
primaryButtonStyle="inset-glow"
secondaryButtonStyle="radial-glow"
headingFontWeight="medium"
>
<div id="nav" data-section="nav">
<NavbarStyleCentered
navItems={[
{ name: 'Home', id: '/' },
{ name: 'Residential', id: '/residential' },
{ name: 'Commercial', id: '/commercial' },
{ name: 'Storm Damage', id: '/storm-damage' },
{ name: 'Gallery', id: '/gallery' }
]}
button={{
text: 'Get Free Estimate',
href: '/contact'
}}
brandName="Northstar Roofing"
/>
</div>
return (
<ThemeProvider
defaultButtonVariant="icon-arrow"
defaultTextAnimation="entrance-slide"
borderRadius="pill"
contentWidth="smallMedium"
sizing="mediumLargeSizeMediumTitles"
background="aurora"
cardStyle="gradient-radial"
primaryButtonStyle="inset-glow"
secondaryButtonStyle="radial-glow"
headingFontWeight="medium"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarStyleCentered
brandName="Northstar Roofing"
navItems={[
{ name: "Home", id: "/" },
{ name: "Residential", id: "residential" },
{ name: "Commercial", id: "commercial" },
{ name: "Storm Damage", id: "storm-damage" },
{ name: "Gallery", id: "gallery" }
]}
button={{
text: "Get Free Estimate", href: "contact"
}}
/>
</div>
<div id="shop-hero" data-section="shop-hero">
<HeroSplit
title="Shop Coming Soon"
description="Our online shop will be available soon. Contact us directly for immediate roofing needs and estimates."
background={{ variant: 'glowing-orb' }}
buttons={[
{ text: 'Contact Us', href: '/contact' },
{ text: 'View Services', href: '/' }
]}
mediaAnimation="slide-up"
/>
</div>
{isLoading ? (
<div className="w-content-width mx-auto py-20 text-center">
<p className="text-foreground">Loading products...</p>
</div>
) : (
<div id="shop" data-section="shop">
<ProductCatalogOne
products={products}
search={search}
setSearch={setSearch}
category={category}
setCategory={setCategory}
sort={sort}
setSort={setSort}
filters={filters}
categories={categories}
title="Roofing Materials & Supplies"
description="Quality materials from trusted manufacturers for all your roofing needs"
textboxLayout="default"
useInvertedBackground={false}
carouselMode="buttons"
animationType="slide-up"
/>
</div>
)}
<div id="footer" data-section="footer">
<FooterLogoEmphasis
logoText="Northstar Roofing"
columns={[
{
items: [
{ label: "Home", href: "#home" },
{ label: "Residential Roofing", href: "#residential" },
{ label: "Commercial Roofing", href: "#commercial" },
{ label: "Storm Damage", href: "#storm-damage" }
]
},
{
items: [
{ label: "About Us", href: "#about" },
{ label: "Project Gallery", href: "#gallery" },
{ label: "Customer Reviews", href: "#reviews" },
{ label: "Contact Us", href: "#contact" }
]
},
{
items: [
{ label: "Licensed & Insured", href: "#" },
{ label: "Warranty Information", href: "#" },
{ label: "Privacy Policy", href: "#" },
{ label: "Terms of Service", href: "#" }
]
},
{
items: [
{ label: "Emergency Service", href: "tel:+1-701-555-0100" },
{ label: "701-555-0100", href: "tel:+1-701-555-0100" },
{ label: "Monday - Friday: 8AM - 6PM", href: "#" },
{ label: "24/7 Emergency Hotline", href: "tel:+1-701-555-0101" }
]
}
]}
/>
</div>
</ReactLenis>
</ThemeProvider>
);
<div id="footer" data-section="footer">
<FooterLogoEmphasis
logoText="Northstar Roofing"
columns={[
{
items: [
{ label: 'Home', href: '/' },
{ label: 'Residential Roofing', href: '/residential' },
{ label: 'Commercial Roofing', href: '/commercial' },
{ label: 'Storm Damage', href: '/storm-damage' }
]
},
{
items: [
{ label: 'About Us', href: '/about' },
{ label: 'Project Gallery', href: '/gallery' },
{ label: 'Customer Reviews', href: '/reviews' },
{ label: 'Contact Us', href: '/contact' }
]
},
{
items: [
{ label: 'Licensed & Insured' },
{ label: 'Warranty Information' },
{ label: 'Privacy Policy' },
{ label: 'Terms of Service' }
]
},
{
items: [
{ label: 'Emergency Service', href: 'tel:+1-701-555-0100' },
{ label: '701-555-0100', href: 'tel:+1-701-555-0100' },
{ label: 'Monday - Friday: 8AM - 6PM' },
{ label: '24/7 Emergency Hotline', href: 'tel:+1-701-555-0101' }
]
}
]}
/>
</div>
</ThemeProvider>
);
}