Files
f92eb686-4fb0-498b-940f-76f…/src/app/page.tsx
2026-03-10 23:40:36 +00:00

248 lines
11 KiB
TypeScript

"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import AboutMetric from '@/components/sections/about/AboutMetric';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import FeatureCardSixteen from '@/components/sections/feature/FeatureCardSixteen';
import TeamCardSix from '@/components/sections/team/TeamCardSix';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import { BookOpen, Heart, Users, Star, Globe, Sparkles, CheckCircle, Baby, Mail, Phone, MapPin } from 'lucide-react';
const navItems = [
{ name: "Home", id: "/" },
{ name: "About", id: "about" },
{ name: "Books", id: "books" },
{ name: "Contact", id: "contact" },
{ name: "Categories", id: "categories" },
];
export default function Home() {
return (
<ThemeProvider
defaultButtonVariant="text-stagger"
defaultTextAnimation="entrance-slide"
borderRadius="rounded"
contentWidth="medium"
sizing="medium"
background="circleGradient"
cardStyle="glass-elevated"
primaryButtonStyle="gradient"
secondaryButtonStyle="glass"
headingFontWeight="normal"
>
<div id="nav" data-section="nav">
<NavbarStyleCentered
navItems={navItems}
button={{ text: "Get Started", href: "contact" }}
brandName="Time Books"
/>
</div>
<div id="hero" data-section="hero">
<HeroSplitKpi
title="Welcome to Time Books - Where Stories Come to Life"
description="Discover magical worlds, embark on thrilling adventures, and unlock the joy of reading with our curated collection of children's books. Perfect for every age and reading level."
background={{ variant: "gradient-bars" }}
tag="Children's Library"
tagIcon={BookOpen}
tagAnimation="slide-up"
kpis={[
{ value: "5,000+", label: "Children Served" },
{ value: "2,500+", label: "Books Available" },
{ value: "98%", label: "Parent Satisfaction" },
]}
enableKpiAnimation={true}
imageSrc="http://img.b2bpic.net/free-photo/talking-about-just-read-book_329181-8178.jpg"
imageAlt="happy children reading books together"
mediaAnimation="slide-up"
imagePosition="right"
buttons={[
{ text: "Browse Books", href: "books" },
{ text: "Learn More", href: "about" },
]}
buttonAnimation="slide-up"
/>
</div>
<div id="about" data-section="about">
<AboutMetric
title="Time Books is dedicated to fostering a lifelong love of reading in children everywhere. Our carefully curated collection spans all ages and interests."
metrics={[
{ icon: Heart, label: "Books We Love", value: "2,500+" },
{ icon: Users, label: "Happy Children", value: "5,000+" },
{ icon: Star, label: "Book Reviews", value: "4.9/5" },
{ icon: Globe, label: "Communities Served", value: "8+" },
]}
metricsAnimation="slide-up"
useInvertedBackground={true}
/>
</div>
<div id="books" data-section="books">
<ProductCardTwo
title="Featured Books"
description="Explore our hand-picked selection of beloved children's books that spark imagination and joy"
tag="Best Sellers"
tagIcon={Sparkles}
tagAnimation="slide-up"
textboxLayout="default"
useInvertedBackground={false}
animationType="slide-up"
gridVariant="three-columns-all-equal-width"
products={[
{
id: "1", brand: "Time Books", name: "The Enchanted Garden", price: "$12.99", rating: 5,
reviewCount: "234", imageSrc: "http://img.b2bpic.net/free-psd/dia-de-la-afrocolombianidad-celebration-template_23-2151404505.jpg", imageAlt: "colorful children storybook cover illustration"
},
{
id: "2", brand: "Time Books", name: "Adventure in the Sky", price: "$14.99", rating: 5,
reviewCount: "189", imageSrc: "http://img.b2bpic.net/free-photo/front-view-mother-reading-kids_23-2150595603.jpg", imageAlt: "educational learning book children fun"
},
{
id: "3", brand: "Time Books", name: "Mystery of the Lost Island", price: "$13.99", rating: 5,
reviewCount: "267", imageSrc: "http://img.b2bpic.net/free-photo/close-up-little-girl-having-fun-home_23-2149117566.jpg", imageAlt: "adventure fantasy book illustration kids"
},
]}
buttons={[{ text: "View All Books", href: "books" }]}
buttonAnimation="slide-up"
/>
</div>
<div id="features" data-section="features">
<FeatureCardSixteen
title="Why Choose Time Books?"
description="We're committed to providing the best reading experience for children and parents"
tag="Our Promise"
tagIcon={CheckCircle}
tagAnimation="slide-up"
textboxLayout="default"
useInvertedBackground={true}
negativeCard={{
items: [
"Limited book selection at local libraries", "Outdated or damaged books", "Difficult to find age-appropriate titles", "Long wait times for popular books"
],
}}
positiveCard={{
items: [
"Curated collection of 2,500+ titles", "Well-maintained, fresh books", "Expert recommendations for every age", "Quick and easy book access", "Engaging reading community"
],
}}
animationType="slide-up"
buttons={[{ text: "Get Started Today", href: "contact" }]}
buttonAnimation="slide-up"
/>
</div>
<div id="categories" data-section="categories">
<TeamCardSix
title="Books for Every Age"
description="Our collection is organized by age groups to help you find the perfect books for your child"
tag="Age Groups"
tagIcon={Baby}
tagAnimation="slide-up"
textboxLayout="default"
useInvertedBackground={false}
animationType="slide-up"
gridVariant="three-columns-all-equal-width"
members={[
{
id: "1", name: "Toddlers & Preschool", role: "Ages 0-4: Board Books & Picture Books", imageSrc: "http://img.b2bpic.net/free-photo/mother-reading-together-with-daughter_23-2148104226.jpg", imageAlt: "toddler holding colorful picture book"
},
{
id: "2", name: "Early Readers", role: "Ages 5-7: Beginning Chapter Books", imageSrc: "http://img.b2bpic.net/free-photo/boy-girl-reading-home_23-2148630651.jpg", imageAlt: "early reader elementary school children"
},
{
id: "3", name: "Middle Grade", role: "Ages 8-12: Adventure & Fantasy", imageSrc: "http://img.b2bpic.net/free-photo/low-angle-boy-library_23-2148469975.jpg", imageAlt: "middle grade reader adventure story"
},
]}
/>
</div>
<div id="testimonials" data-section="testimonials">
<TestimonialCardFifteen
testimonial="Time Books has transformed how my children approach reading. The curated selection and expert recommendations have helped them discover authors and genres they absolutely love! Every book feels like a treasure waiting to be discovered."
rating={5}
author="Sarah Mitchell, Parent"
avatars={[
{
src: "http://img.b2bpic.net/free-photo/long-haired-woman-with-copyspace_1398-1356.jpg", alt: "Sarah Mitchell parent testimonial"
},
{
src: "http://img.b2bpic.net/free-photo/handsome-young-male-walking-street_158595-4694.jpg", alt: "Michael Thompson parent testimonial"
},
{
src: "http://img.b2bpic.net/free-photo/portrait-pretty-woman-smiling_23-2148729681.jpg", alt: "Emily Rodriguez parent testimonial"
},
{
src: "http://img.b2bpic.net/free-photo/close-up-blond-man-with-black-scarf_1140-256.jpg", alt: "David Chen parent testimonial"
},
]}
ratingAnimation="slide-up"
avatarsAnimation="slide-up"
useInvertedBackground={true}
/>
</div>
<div id="contact" data-section="contact">
<ContactCTA
tag="Get in Touch"
tagIcon={Mail}
tagAnimation="slide-up"
title="Have Questions? We'd Love to Hear From You"
description="Contact our team for book recommendations, inquiries about our collection, or any support you may need. Reach us via email at support@timebooks.com, call (555) 123-4567, or visit our office at 123 Reading Lane, Literature City, LC 12345."
buttons={[
{ text: "Send us an Email", href: "mailto:support@timebooks.com" },
{ text: "Call Us Now", href: "tel:+15551234567" },
]}
buttonAnimation="slide-up"
background={{ variant: "sparkles-gradient" }}
useInvertedBackground={false}
/>
</div>
<div id="footer" data-section="footer">
<FooterBaseCard
logoText="Time Books"
columns={[
{
title: "Product", items: [
{ label: "Browse Books", href: "books" },
{ label: "Age Categories", href: "categories" },
{ label: "Best Sellers", href: "books" },
{ label: "New Arrivals", href: "books" },
],
},
{
title: "Company", items: [
{ label: "About Us", href: "about" },
{ label: "Our Mission", href: "about" },
{ label: "Contact", href: "contact" },
{ label: "Blog", href: "#" },
],
},
{
title: "Support", items: [
{ label: "FAQ", href: "#" },
{ label: "Book Recommendations", href: "#" },
{ label: "Reading Tips", href: "#" },
{ label: "Help Center", href: "#" },
],
},
{
title: "Legal", items: [
{ label: "Privacy Policy", href: "#" },
{ label: "Terms of Service", href: "#" },
{ label: "Cookie Policy", href: "#" },
],
},
]}
copyrightText="© 2025 Time Books | Fostering a Love of Reading in Children Everywhere"
/>
</div>
</ThemeProvider>
);
}