Update src/app/page.tsx

This commit is contained in:
2026-03-10 11:12:40 +00:00
parent 15554302cb
commit f289d6db29

View File

@@ -14,10 +14,10 @@ import { BookOpen, Heart, Users, Star, Globe, Sparkles, CheckCircle, Baby } from
const navItems = [
{ name: "Home", id: "/" },
{ name: "About", id: "#about" },
{ name: "Books", id: "#books" },
{ name: "Contact", id: "#contact" },
{ name: "Categories", id: "#categories" },
{ name: "About", id: "about" },
{ name: "Books", id: "books" },
{ name: "Contact", id: "contact" },
{ name: "Categories", id: "categories" },
];
export default function Home() {
@@ -37,7 +37,7 @@ export default function Home() {
<div id="nav" data-section="nav">
<NavbarStyleCentered
navItems={navItems}
button={{ text: "Get Started", href: "#contact" }}
button={{ text: "Get Started", href: "contact" }}
brandName="Time Books"
/>
</div>
@@ -61,8 +61,8 @@ export default function Home() {
mediaAnimation="slide-up"
imagePosition="right"
buttons={[
{ text: "Browse Books", href: "#books" },
{ text: "Learn More", href: "#about" },
{ text: "Browse Books", href: "books" },
{ text: "Learn More", href: "about" },
]}
buttonAnimation="slide-up"
/>
@@ -107,7 +107,7 @@ export default function Home() {
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" }]}
buttons={[{ text: "View All Books", href: "books" }]}
buttonAnimation="slide-up"
/>
</div>
@@ -132,7 +132,7 @@ export default function Home() {
],
}}
animationType="slide-up"
buttons={[{ text: "Get Started Today", href: "#contact" }]}
buttons={[{ text: "Get Started Today", href: "contact" }]}
buttonAnimation="slide-up"
/>
</div>
@@ -195,7 +195,7 @@ export default function Home() {
title="Start Your Child's Reading Adventure Today"
description="Join thousands of families who have discovered the magic of Time Books. Browse our collection, find your child's next favorite book, and unlock the joy of reading."
buttons={[
{ text: "Explore Our Library", href: "#books" },
{ text: "Explore Our Library", href: "books" },
{ text: "Contact Us", href: "#" },
]}
buttonAnimation="slide-up"
@@ -210,17 +210,17 @@ export default function Home() {
columns={[
{
title: "Product", items: [
{ label: "Browse Books", href: "#books" },
{ label: "Age Categories", href: "#categories" },
{ label: "Best Sellers", href: "#books" },
{ label: "New Arrivals", href: "#books" },
{ 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: "About Us", href: "about" },
{ label: "Our Mission", href: "about" },
{ label: "Contact", href: "contact" },
{ label: "Blog", href: "#" },
],
},