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 TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
|
||||||
import { Flag, History, Trophy } from "lucide-react";
|
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() {
|
export default function LandingPage() {
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
@@ -31,22 +68,7 @@ export default function LandingPage() {
|
|||||||
<ReactLenis root>
|
<ReactLenis root>
|
||||||
<div id="nav" data-section="nav">
|
<div id="nav" data-section="nav">
|
||||||
<NavbarLayoutFloatingOverlay
|
<NavbarLayoutFloatingOverlay
|
||||||
navItems={[
|
navItems={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"},
|
|
||||||
]}
|
|
||||||
logoSrc="http://img.b2bpic.net/free-vector/hand-drawn-football-soccer-club-logo_23-2149313711.jpg"
|
logoSrc="http://img.b2bpic.net/free-vector/hand-drawn-football-soccer-club-logo_23-2149313711.jpg"
|
||||||
logoAlt="World Cup Hub Logo"
|
logoAlt="World Cup Hub Logo"
|
||||||
brandName="World Cup Hub"
|
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."
|
description="Your ultimate destination for match results, detailed stats, and historical archives of the greatest football tournament."
|
||||||
buttons={[
|
buttons={[
|
||||||
{
|
{
|
||||||
text: "Explore Matches", href: "#matches"},
|
text: "Explore Matches", href: "/#matches"},
|
||||||
{
|
{
|
||||||
text: "View Stats", href: "#stats"},
|
text: "View Stats", href: "/#stats"},
|
||||||
]}
|
]}
|
||||||
mediaItems={[
|
mediaItems={[
|
||||||
{
|
{
|
||||||
@@ -241,38 +263,7 @@ export default function LandingPage() {
|
|||||||
<div id="footer" data-section="footer">
|
<div id="footer" data-section="footer">
|
||||||
<FooterBaseReveal
|
<FooterBaseReveal
|
||||||
logoText="World Cup Hub"
|
logoText="World Cup Hub"
|
||||||
columns={[
|
columns={footerColumns}
|
||||||
{
|
|
||||||
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"},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
]}
|
|
||||||
copyrightText="© 2024 World Cup Hub. All rights reserved."
|
copyrightText="© 2024 World Cup Hub. All rights reserved."
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user