Files
842ce57d-829f-400a-8f12-eb8…/src/app/page.tsx
2026-03-16 08:35:03 +00:00

532 lines
22 KiB
TypeScript

"use client";
import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import HeroSplitKpi from "@/components/sections/hero/HeroSplitKpi";
import MetricSplitMediaAbout from "@/components/sections/about/MetricSplitMediaAbout";
import FeatureCardTwentySeven from "@/components/sections/feature/FeatureCardTwentySeven";
import ProductCardFour from "@/components/sections/product/ProductCardFour";
import MetricCardTen from "@/components/sections/metrics/MetricCardTen";
import TestimonialCardFifteen from "@/components/sections/testimonial/TestimonialCardFifteen";
import FaqBase from "@/components/sections/faq/FaqBase";
import ContactText from "@/components/sections/contact/ContactText";
import FooterBaseCard from "@/components/sections/footer/FooterBaseCard";
import { Zap, CheckCircle, Sparkles, Award, TrendingUp, HelpCircle } from "lucide-react";
export default function HomePage() {
const navItems = [
{ name: "Home", id: "home" },
{ name: "Features", id: "features" },
{ name: "Pricing", id: "pricing" },
{ name: "About", id: "about" },
{ name: "Contact", id: "contact" },
];
const navItemLinks = [
{ name: "Home", href: "/" },
{ name: "Features", href: "/features" },
{ name: "Pricing", href: "/pricing" },
{ name: "About", href: "/about" },
{ name: "Contact", href: "/contact" },
];
const footerColumns = [
{
title: "Product",
items: [
{ label: "Features", href: "/features" },
{ label: "Pricing", href: "/pricing" },
{ label: "Security", href: "#security" },
{ label: "Integrations", href: "#integrations" },
],
},
{
title: "Company",
items: [
{ label: "About", href: "/about" },
{ label: "Blog", href: "#blog" },
{ label: "Careers", href: "#careers" },
{ label: "Contact", href: "/contact" },
],
},
{
title: "Resources",
items: [
{ label: "Documentation", href: "#docs" },
{ label: "API Reference", href: "#api" },
{ label: "Support", href: "#support" },
{ label: "Status", href: "#status" },
],
},
{
title: "Legal",
items: [
{ label: "Privacy", href: "#privacy" },
{ label: "Terms", href: "#terms" },
{ label: "Security", href: "#security" },
],
},
];
return (
<ThemeProvider
defaultButtonVariant="text-stagger"
defaultTextAnimation="reveal-blur"
borderRadius="soft"
contentWidth="mediumLarge"
sizing="mediumLarge"
background="aurora"
cardStyle="glass-depth"
primaryButtonStyle="flat"
secondaryButtonStyle="glass"
headingFontWeight="semibold"
>
{/* Navbar */}
<div id="nav" data-section="nav">
<NavbarStyleCentered
brandName="StockHub"
navItems={navItems}
button={{ text: "Get Started", href: "#get-started" }}
/>
</div>
{/* Hero Section */}
<div id="hero-home" data-section="hero-home">
<HeroSplitKpi
title="Realtime inventory at your fingertips"
description="Track stock, log sales, and manage operations from anywhere. Stay in control with instant visibility across your entire warehouse"
tag="Inventory Management"
tagIcon={Zap}
tagAnimation="slide-up"
kpis={[
{ value: "2.5s", label: "Average sync time" },
{ value: "99.9%", label: "Platform uptime" },
{ value: "50+", label: "Integrations" },
]}
enableKpiAnimation={true}
buttons={[
{ text: "Get Started", href: "#get-started" },
{ text: "Watch Demo", href: "#demo" },
]}
buttonAnimation="slide-up"
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AwWhLByadMoUaITKjtdrpUUpv7/a-sleek-modern-inventory-management-dash-1773504310556-33e5e5d1.png"
imageAlt="StockHub inventory dashboard"
mediaAnimation="slide-up"
imagePosition="right"
background={{ variant: "plain" }}
className="w-full"
containerClassName="max-w-7xl mx-auto"
titleClassName="text-4xl md:text-5xl font-bold"
descriptionClassName="text-lg text-gray-600"
kpiClassName="p-6 rounded-lg"
kpiValueClassName="text-2xl font-bold"
kpiLabelClassName="text-sm text-gray-500"
/>
</div>
{/* About Section */}
<div id="about-home" data-section="about-home">
<MetricSplitMediaAbout
title="Why operations teams choose StockHub"
description="Built specifically for warehouse and operations teams who need speed, accuracy, and real-time visibility. StockHub eliminates manual data entry, prevents costly errors, and enables faster business decisions across your entire organization."
tag="Our Mission"
tagIcon={CheckCircle}
tagAnimation="slide-up"
metrics={[
{ value: "60%", title: "Time saved on inventory checks" },
{ value: "10,000+", title: "Operations teams worldwide" },
{ value: "24/7", title: "Platform availability" },
{ value: "98%", title: "Customer satisfaction" },
]}
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AwWhLByadMoUaITKjtdrpUUpv7/a-diverse-operations-team-in-a-modern-wa-1773504311557-66af26d8.png"
imageAlt="Operations team managing inventory"
mediaAnimation="slide-up"
metricsAnimation="slide-up"
useInvertedBackground={false}
containerClassName="max-w-7xl mx-auto"
titleClassName="text-3xl md:text-4xl font-bold"
descriptionClassName="text-base text-gray-600 max-w-2xl"
metricCardClassName="bg-white rounded-lg p-6 shadow-sm"
metricValueClassName="text-3xl font-bold text-blue-600"
metricTitleClassName="text-gray-600 mt-2"
/>
</div>
{/* Features Section */}
<div id="features-home" data-section="features-home">
<FeatureCardTwentySeven
title="Powerful features for complete inventory control"
description="Everything you need to manage warehouse operations efficiently, from real-time tracking to advanced analytics and multi-device access."
tag="Core Features"
tagIcon={Sparkles}
tagAnimation="slide-up"
features={[
{
id: "real-time-tracking",
title: "Real-Time Stock Tracking",
descriptions: [
"Monitor inventory levels instantly across all locations",
"Automatic updates as sales are processed",
"Mobile and desktop sync in real-time",
],
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AwWhLByadMoUaITKjtdrpUUpv7/an-illustration-showing-multiple-devices-1773504310168-d92d9310.png",
},
{
id: "quick-add-inventory",
title: "Quick Add New Items",
descriptions: [
"Simple, fast form for logging new inventory",
"Barcode scanning support",
"Bulk upload capabilities",
],
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AwWhLByadMoUaITKjtdrpUUpv7/a-clean-minimal-form-interface-on-a-mobi-1773504310253-a71cc35d.png",
},
{
id: "sales-tracking",
title: "Track Sales Depletion",
descriptions: [
"Automatic inventory adjustment with sales",
"Low stock alerts",
"Reorder recommendations",
],
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AwWhLByadMoUaITKjtdrpUUpv7/a-detailed-analytics-dashboard-showing-i-1773504310479-1daf25c0.png",
},
{
id: "detailed-reports",
title: "Detailed Analytics & Reports",
descriptions: [
"Exportable inventory reports for finance teams",
"Historical tracking and trends",
"Custom report builder",
],
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AwWhLByadMoUaITKjtdrpUUpv7/a-detailed-analytics-dashboard-showing-i-1773504310479-1daf25c0.png",
},
{
id: "mobile-responsive",
title: "Mobile-First Design",
descriptions: [
"Fully responsive for tablet and smartphone",
"Offline mode for warehouse floor",
"Touch-optimized interface",
],
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AwWhLByadMoUaITKjtdrpUUpv7/a-mobile-phone-displaying-a-responsive-i-1773504312186-296d685a.png",
},
{
id: "team-access",
title: "Team Collaboration",
descriptions: [
"Multi-user access with role-based permissions",
"Real-time activity feeds",
"Team communication tools",
],
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AwWhLByadMoUaITKjtdrpUUpv7/a-clean-minimal-form-interface-on-a-mobi-1773504310253-a71cc35d.png",
},
]}
gridVariant="two-columns-alternating-heights"
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
containerClassName="max-w-7xl mx-auto"
titleClassName="text-3xl md:text-4xl font-bold mb-4"
descriptionClassName="text-base text-gray-600 max-w-2xl mb-12"
cardClassName="bg-white rounded-xl p-8 shadow-sm border border-gray-100"
cardTitleClassName="text-xl font-bold mb-4"
cardDescriptionClassName="text-gray-600 space-y-2"
tagClassName=""
buttons={undefined}
buttonAnimation="slide-up"
textboxLayout="default"
carouselMode="buttons"
uniformGridCustomHeightClasses=""
ariaLabel=""
className=""
gridClassName=""
carouselClassName=""
controlsClassName=""
textBoxClassName=""
textBoxTitleClassName=""
textBoxTitleImageWrapperClassName=""
textBoxTitleImageClassName=""
textBoxDescriptionClassName=""
textBoxTagClassName=""
textBoxButtonContainerClassName=""
textBoxButtonClassName=""
textBoxButtonTextClassName=""
/>
</div>
{/* Products/Pricing Section */}
<div id="products-home" data-section="products-home">
<ProductCardFour
title="Plans Built for Every Team Size"
description="From small operations to enterprise warehouses, choose the plan that fits your needs. Upgrade or downgrade anytime."
tag="Simple Pricing"
tagIcon={Award}
tagAnimation="slide-up"
products={[
{
id: "starter",
name: "Starter",
price: "$49",
variant: "Per month",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AwWhLByadMoUaITKjtdrpUUpv7/a-visual-representation-of-a-basic-start-1773504311150-d98a9a64.png",
imageAlt: "Starter plan for small teams",
},
{
id: "professional",
name: "Professional",
price: "$149",
variant: "Per month",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AwWhLByadMoUaITKjtdrpUUpv7/a-visual-representation-of-a-professiona-1773504310891-cab0ad2a.png",
imageAlt: "Professional plan for growing teams",
},
{
id: "enterprise",
name: "Enterprise",
price: "Custom",
variant: "Contact sales",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AwWhLByadMoUaITKjtdrpUUpv7/a-comprehensive-enterprise-inventory-sol-1773504310840-415f2fc4.png",
imageAlt: "Enterprise plan for large operations",
},
]}
gridVariant="three-columns-all-equal-width"
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
containerClassName="max-w-7xl mx-auto"
titleClassName="text-3xl md:text-4xl font-bold"
descriptionClassName="text-base text-gray-600 max-w-2xl"
cardClassName="bg-white rounded-xl p-6 shadow-sm border border-gray-100 flex flex-col h-full"
cardNameClassName="text-xl font-bold mb-2"
cardPriceClassName="text-3xl font-bold text-blue-600 mb-1"
cardVariantClassName="text-sm text-gray-500 mb-4"
tag=""
tagIcon={undefined}
buttons={undefined}
buttonAnimation="slide-up"
carouselMode="buttons"
uniformGridCustomHeightClasses=""
ariaLabel=""
className=""
imageClassName=""
textBoxTitleClassName=""
textBoxTitleImageWrapperClassName=""
textBoxTitleImageClassName=""
textBoxDescriptionClassName=""
actionButtonClassName=""
gridClassName=""
carouselClassName=""
controlsClassName=""
textBoxClassName=""
textBoxTagClassName=""
textBoxButtonContainerClassName=""
textBoxButtonClassName=""
textBoxButtonTextClassName=""
/>
</div>
{/* Metrics Section */}
<div id="metrics-home" data-section="metrics-home">
<MetricCardTen
title="Results Our Customers Achieve"
description="StockHub delivers measurable impact to operations teams across industries"
tag="Success Metrics"
tagIcon={TrendingUp}
tagAnimation="slide-up"
metrics={[
{
id: "inventory-accuracy",
title: "Inventory Accuracy",
subtitle: "Average improvement",
category: "Accuracy",
value: "+34%",
},
{
id: "time-saved",
title: "Operational Time Saved",
subtitle: "Per warehouse daily",
category: "Efficiency",
value: "12 hours",
},
{
id: "error-reduction",
title: "Manual Errors Reduced",
subtitle: "First-year impact",
category: "Quality",
value: "89%",
},
{
id: "roi",
title: "Average ROI",
subtitle: "Within first year",
category: "Financial",
value: "340%",
},
]}
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
containerClassName="max-w-7xl mx-auto"
titleClassName="text-3xl md:text-4xl font-bold"
descriptionClassName="text-base text-gray-600 max-w-2xl"
cardClassName="bg-white rounded-xl p-8 shadow-sm border border-gray-100"
cardTitleClassName="text-lg font-bold"
valueClassName="text-4xl font-bold text-blue-600 my-3"
categoryClassName="text-xs font-semibold text-gray-500 uppercase tracking-wide"
tag=""
tagIcon={undefined}
buttons={undefined}
buttonAnimation="slide-up"
carouselMode="buttons"
uniformGridCustomHeightClasses=""
ariaLabel=""
className=""
cardTitleClassName=""
subtitleClassName=""
footerClassName=""
cardButtonClassName=""
cardButtonTextClassName=""
gridClassName=""
carouselClassName=""
controlsClassName=""
textBoxClassName=""
textBoxTitleClassName=""
textBoxTitleImageWrapperClassName=""
textBoxTitleImageClassName=""
textBoxDescriptionClassName=""
textBoxTagClassName=""
textBoxButtonContainerClassName=""
textBoxButtonClassName=""
textBoxButtonTextClassName=""
/>
</div>
{/* Testimonials Section */}
<div id="testimonials-home" data-section="testimonials-home">
<TestimonialCardFifteen
testimonial="StockHub transformed how our operations team works. We went from manual spreadsheets to real-time visibility in a day. The mobile app is a game-changer for our warehouse floor staff."
rating={5}
author="Sarah Mitchell"
avatars={[
{
src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AwWhLByadMoUaITKjtdrpUUpv7/a-professional-headshot-of-a-business-wo-1773504309796-7ecc8fe7.png",
alt: "Sarah Mitchell, Operations Manager",
},
]}
ratingAnimation="slide-up"
avatarsAnimation="slide-up"
useInvertedBackground={false}
containerClassName="max-w-md mx-auto bg-white rounded-xl p-8 shadow-sm border border-gray-100"
testimonialClassName="text-lg mb-6 text-gray-700 leading-relaxed"
ratingClassName="flex gap-1 mb-4"
/>
</div>
{/* FAQ Section */}
<div id="faq-home" data-section="faq-home">
<FaqBase
title="Frequently Asked Questions"
description="Everything you need to know about StockHub's inventory management platform"
tag="Questions?"
tagIcon={HelpCircle}
tagAnimation="slide-up"
faqs={[
{
id: "faq-1",
title: "How quickly can we implement StockHub?",
content: "Most teams get up and running within 24-48 hours. Our onboarding specialists guide your team through setup, data migration (if needed), and training. Mobile apps can be deployed immediately to your devices.",
},
{
id: "faq-2",
title: "Does StockHub work offline?",
content: "Yes! StockHub includes offline mode for warehouse floor operations. Changes sync automatically when connection is restored. Perfect for areas with spotty connectivity.",
},
{
id: "faq-3",
title: "Can we integrate StockHub with our existing systems?",
content: "Absolutely. We integrate with 50+ popular platforms including accounting software, e-commerce systems, and enterprise ERP solutions. Custom API access available for enterprise plans.",
},
{
id: "faq-4",
title: "How secure is our inventory data?",
content: "Enterprise-grade security with 256-bit encryption, role-based access controls, audit logs, and GDPR/CCPA compliance. Regular security audits and SOC 2 Type II certified.",
},
{
id: "faq-5",
title: "What kind of support do you offer?",
content: "24/7 email support on all plans. Professional plans include priority support and phone access. Enterprise customers get a dedicated account manager and custom SLAs.",
},
{
id: "faq-6",
title: "Can we export data for reporting?",
content: "Yes, StockHub supports exporting to CSV, Excel, and PDF. Custom report builder lets you create templates. Finance teams can pull detailed data for accounting and analysis.",
},
]}
textboxLayout="default"
faqsAnimation="slide-up"
useInvertedBackground={false}
showCard={true}
containerClassName="max-w-4xl mx-auto"
titleClassName="text-3xl md:text-4xl font-bold mb-4"
descriptionClassName="text-base text-gray-600 max-w-2xl mb-12"
faqsContainerClassName="space-y-4"
accordionClassName="bg-white rounded-lg border border-gray-100 p-6"
accordionTitleClassName="text-lg font-semibold text-gray-900"
accordionContentClassName="text-gray-600 mt-4 leading-relaxed"
tag=""
tagIcon={undefined}
buttons={undefined}
buttonAnimation="slide-up"
animationType="smooth"
showCard={true}
ariaLabel=""
className=""
textBoxTitleClassName=""
titleImageWrapperClassName=""
titleImageClassName=""
textBoxDescriptionClassName=""
textBoxClassName=""
textBoxTagClassName=""
textBoxButtonContainerClassName=""
textBoxButtonClassName=""
textBoxButtonTextClassName=""
accordionIconContainerClassName=""
accordionIconClassName=""
separatorClassName=""
/>
</div>
{/* Contact Section */}
<div id="contact-home" data-section="contact-home">
<ContactText
text="Ready to transform your inventory operations? Start your free trial today—no credit card required. Our team is ready to help you succeed."
animationType="reveal-blur"
background={{ variant: "radial-gradient" }}
useInvertedBackground={false}
buttons={[
{ text: "Start Free Trial", href: "#trial" },
{ text: "Schedule Demo", href: "#demo" },
]}
containerClassName="max-w-4xl mx-auto"
textClassName="text-3xl md:text-4xl font-bold"
buttonContainerClassName="flex flex-wrap gap-4 justify-center mt-8"
buttonClassName="px-8 py-3 rounded-lg font-semibold"
/>
</div>
{/* Footer */}
<div id="footer-home" data-section="footer-home">
<FooterBaseCard
logoText="StockHub"
copyrightText="© 2025 StockHub. All rights reserved."
columns={footerColumns}
containerClassName="max-w-7xl mx-auto"
columnsClassName="grid grid-cols-2 md:grid-cols-4 gap-8"
columnTitleClassName="font-bold text-gray-900 mb-4"
columnItemClassName="text-gray-600 hover:text-blue-600 transition"
/>
</div>
</ThemeProvider>
);
}