Update src/app/page.tsx
This commit is contained in:
@@ -14,6 +14,43 @@ import SplitAbout from '@/components/sections/about/SplitAbout';
|
||||
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
|
||||
import { Flag, History, Trophy } from "lucide-react";
|
||||
|
||||
const navItems = [
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Archives", id: "/archives" },
|
||||
{ name: "Search", id: "/search" }, { name: "Top Scorers", id: "/top-scorers" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Matches", id: "/#matches" },
|
||||
{ name: "Stats", id: "/#stats" },
|
||||
{ name: "Fans Say", id: "/#testimonials" },
|
||||
{ name: "FAQ", id: "/#faq" },
|
||||
{ name: "Contact", id: "/#contact" },
|
||||
{ name: "Theme", id: "/theme" }
|
||||
];
|
||||
|
||||
const footerColumns = [
|
||||
{
|
||||
title: "Navigate", items: [
|
||||
{ label: "Home", href: "/" },
|
||||
{ label: "Matches", href: "/#matches" },
|
||||
{ label: "Stats", href: "/#stats" },
|
||||
{ label: "Archives", href: "/archives" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Resources", items: [
|
||||
{ label: "FAQ", href: "/#faq" },
|
||||
{ label: "About Us", href: "/#about" },
|
||||
{ label: "Contact", href: "/#contact" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal", items: [
|
||||
{ label: "Privacy Policy", href: "/privacy" },
|
||||
{ label: "Terms of Service", href: "/terms" },
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
@@ -31,22 +68,7 @@ export default function LandingPage() {
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{
|
||||
name: "Home", id: "#home"},
|
||||
{
|
||||
name: "About", id: "#about"},
|
||||
{
|
||||
name: "Matches", id: "#matches"},
|
||||
{
|
||||
name: "Stats", id: "#stats"},
|
||||
{
|
||||
name: "Fans Say", id: "#testimonials"},
|
||||
{
|
||||
name: "FAQ", id: "#faq"},
|
||||
{
|
||||
name: "Contact", id: "#contact"},
|
||||
]}
|
||||
navItems={navItems}
|
||||
logoSrc="http://img.b2bpic.net/free-vector/hand-drawn-football-soccer-club-logo_23-2149313711.jpg"
|
||||
logoAlt="World Cup Hub Logo"
|
||||
brandName="World Cup Hub"
|
||||
@@ -61,9 +83,9 @@ export default function LandingPage() {
|
||||
description="Your ultimate destination for match results, detailed stats, and historical archives of the greatest football tournament."
|
||||
buttons={[
|
||||
{
|
||||
text: "Explore Matches", href: "#matches"},
|
||||
text: "Explore Matches", href: "/#matches"},
|
||||
{
|
||||
text: "View Stats", href: "#stats"},
|
||||
text: "View Stats", href: "/#stats"},
|
||||
]}
|
||||
mediaItems={[
|
||||
{
|
||||
@@ -241,38 +263,7 @@ export default function LandingPage() {
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBaseReveal
|
||||
logoText="World Cup Hub"
|
||||
columns={[
|
||||
{
|
||||
title: "Navigate", items: [
|
||||
{
|
||||
label: "Home", href: "#home"},
|
||||
{
|
||||
label: "Matches", href: "#matches"},
|
||||
{
|
||||
label: "Stats", href: "#stats"},
|
||||
{
|
||||
label: "Archives", href: "#archives"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Resources", items: [
|
||||
{
|
||||
label: "FAQ", href: "#faq"},
|
||||
{
|
||||
label: "About Us", href: "#about"},
|
||||
{
|
||||
label: "Contact", href: "#contact"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal", items: [
|
||||
{
|
||||
label: "Privacy Policy", href: "/privacy"},
|
||||
{
|
||||
label: "Terms of Service", href: "/terms"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
columns={footerColumns}
|
||||
copyrightText="© 2024 World Cup Hub. All rights reserved."
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user