Switch to version 1: remove src/app/search/page.tsx
This commit is contained in:
@@ -1,92 +0,0 @@
|
|||||||
"use client";
|
|
||||||
|
|
||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
|
||||||
import ReactLenis from "lenis/react";
|
|
||||||
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
|
||||||
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
|
|
||||||
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
|
|
||||||
|
|
||||||
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 SearchPage() {
|
|
||||||
return (
|
|
||||||
<ThemeProvider
|
|
||||||
defaultButtonVariant="elastic-effect"
|
|
||||||
defaultTextAnimation="entrance-slide"
|
|
||||||
borderRadius="rounded"
|
|
||||||
contentWidth="small"
|
|
||||||
sizing="largeSizeMediumTitles"
|
|
||||||
background="none"
|
|
||||||
cardStyle="outline"
|
|
||||||
primaryButtonStyle="diagonal-gradient"
|
|
||||||
secondaryButtonStyle="solid"
|
|
||||||
headingFontWeight="extrabold"
|
|
||||||
>
|
|
||||||
<ReactLenis root>
|
|
||||||
<div id="nav" data-section="nav">
|
|
||||||
<NavbarLayoutFloatingOverlay
|
|
||||||
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"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="hero-search" data-section="hero-search">
|
|
||||||
<HeroBillboardCarousel
|
|
||||||
background={{ variant: "radial-gradient" }}
|
|
||||||
title="Search World Cup Data"
|
|
||||||
description="Quickly find matches, teams, players, or tournaments with our powerful search tools."
|
|
||||||
mediaItems={[
|
|
||||||
{ imageSrc: "http://img.b2bpic.net/free-photo/soccer-game-concept_23-2151043781.jpg?_wi=3", imageAlt: "Football players on a field" },
|
|
||||||
]}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer" data-section="footer">
|
|
||||||
<FooterBaseReveal
|
|
||||||
logoText="World Cup Hub"
|
|
||||||
columns={footerColumns}
|
|
||||||
copyrightText="© 2024 World Cup Hub. All rights reserved."
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</ReactLenis>
|
|
||||||
</ThemeProvider>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user