Compare commits
23 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 155ebee1f3 | |||
| 20b4c6dd48 | |||
| 2e9d3af983 | |||
| 77edbe5121 | |||
| 01bd52df0a | |||
| fc22638a96 | |||
| da290c272f | |||
| 1971e799b6 | |||
| 6609e0cdf0 | |||
| 555a03df1b | |||
| 0a248f469f | |||
| 7681813f85 | |||
| 1f4fdca75e | |||
| 8264fb535b | |||
| 846226b059 | |||
| 9242d9dd02 | |||
| 96ea38f3a3 | |||
| 1ebf92ad02 | |||
| 56de114f89 | |||
| d8230dda2a | |||
| 205c208df3 | |||
| e9e63a0899 | |||
| e6d2403b60 |
100
src/app/archives/page.tsx
Normal file
100
src/app/archives/page.tsx
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
"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 MetricCardSeven from '@/components/sections/metrics/MetricCardSeven';
|
||||||
|
|
||||||
|
export default function ArchivesPage() {
|
||||||
|
const navItems = [
|
||||||
|
{ name: "Home", id: "/" },
|
||||||
|
{ name: "Search", id: "/search" },
|
||||||
|
{ name: "Archives", id: "/archives" },
|
||||||
|
{ 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" },
|
||||||
|
];
|
||||||
|
|
||||||
|
const footerColumns = [
|
||||||
|
{
|
||||||
|
title: "Navigate", items: [
|
||||||
|
{ label: "Home", href: "/" },
|
||||||
|
{ label: "Search", href: "/search" },
|
||||||
|
{ label: "Archives", href: "/archives" },
|
||||||
|
{ label: "Matches", href: "/#matches" },
|
||||||
|
{ label: "Stats", href: "/#stats" }
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
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" },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
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="archives-section" data-section="archives-section">
|
||||||
|
<MetricCardSeven
|
||||||
|
animationType="slide-up"
|
||||||
|
textboxLayout="default"
|
||||||
|
useInvertedBackground={true}
|
||||||
|
metrics={[
|
||||||
|
{ id: "2022", value: "2022", title: "Qatar", items: ["Argentina wins", "Historic tournament", "Middle East debut"] },
|
||||||
|
{ id: "2018", value: "2018", title: "Russia", items: ["France lifts trophy", "VAR introduced", "Host nation excels"] },
|
||||||
|
{ id: "2014", value: "2014", title: "Brazil", items: ["Germany triumphs", "Brazil's home setback", "Goal-filled tournament"] },
|
||||||
|
{ id: "2010", value: "2010", title: "South Africa", items: ["Spain's first title", "Vuvuzelas debut", "African continent hosts"] },
|
||||||
|
{ id: "2006", value: "2006", title: "Germany", items: ["Italy takes cup", "Zidane's headbutt", "Tense final"] },
|
||||||
|
{ id: "2002", value: "2002", title: "Korea/Japan", items: ["Brazil's fifth star", "First Asian hosts", "Ronaldo's redemption"] },
|
||||||
|
{ id: "1998", value: "1998", title: "France", items: ["France wins at home", "Zidane's masterclass", "New format debut"] },
|
||||||
|
{ id: "1994", value: "1994", title: "USA", items: ["Brazil wins thriller", "First penalty shootout final", "High attendance"] }
|
||||||
|
]}
|
||||||
|
title="World Cup Archives by Year"
|
||||||
|
description="Explore historical FIFA World Cup tournaments, year by year. Dive into the past and relive the glory of each iconic event and its champions."
|
||||||
|
/>
|
||||||
|
</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>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -23,7 +23,7 @@ export default function LandingPage() {
|
|||||||
contentWidth="small"
|
contentWidth="small"
|
||||||
sizing="largeSizeMediumTitles"
|
sizing="largeSizeMediumTitles"
|
||||||
background="none"
|
background="none"
|
||||||
cardStyle="outline"
|
cardStyle="solid"
|
||||||
primaryButtonStyle="diagonal-gradient"
|
primaryButtonStyle="diagonal-gradient"
|
||||||
secondaryButtonStyle="solid"
|
secondaryButtonStyle="solid"
|
||||||
headingFontWeight="extrabold"
|
headingFontWeight="extrabold"
|
||||||
@@ -279,4 +279,4 @@ export default function LandingPage() {
|
|||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
93
src/app/search/page.tsx
Normal file
93
src/app/search/page.tsx
Normal file
@@ -0,0 +1,93 @@
|
|||||||
|
"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 ContactCenter from '@/components/sections/contact/ContactCenter';
|
||||||
|
|
||||||
|
export default function SearchPage() {
|
||||||
|
const navItems = [
|
||||||
|
{ name: "Home", id: "/" },
|
||||||
|
{ name: "Search", id: "/search" },
|
||||||
|
{ name: "Archives", id: "/archives" },
|
||||||
|
{ 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" },
|
||||||
|
];
|
||||||
|
|
||||||
|
const footerColumns = [
|
||||||
|
{
|
||||||
|
title: "Navigate", items: [
|
||||||
|
{ label: "Home", href: "/" },
|
||||||
|
{ label: "Search", href: "/search" },
|
||||||
|
{ label: "Archives", href: "/archives" },
|
||||||
|
{ label: "Matches", href: "/#matches" },
|
||||||
|
{ label: "Stats", href: "/#stats" }
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
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" },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
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="search-section" data-section="search-section">
|
||||||
|
<ContactCenter
|
||||||
|
useInvertedBackground={false}
|
||||||
|
background={{ variant: "radial-gradient" }}
|
||||||
|
tag="Find Anything"
|
||||||
|
title="Search World Cup Data"
|
||||||
|
description="Enter keywords to find matches, teams, players, or historical tournaments instantly."
|
||||||
|
inputPlaceholder="Search for teams, players, matches, or years..."
|
||||||
|
buttonText="Search"
|
||||||
|
onSubmit={() => console.log('Search initiated')}
|
||||||
|
/>
|
||||||
|
</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>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -10,15 +10,15 @@
|
|||||||
--accent: #ffffff;
|
--accent: #ffffff;
|
||||||
--background-accent: #ffffff; */
|
--background-accent: #ffffff; */
|
||||||
|
|
||||||
--background: #0a0a0a;
|
--background: #020617;
|
||||||
--card: #1a1a1a;
|
--card: #0f172a;
|
||||||
--foreground: #f5f5f5;
|
--foreground: #e2e8f0;
|
||||||
--primary-cta: #ffdf7d;
|
--primary-cta: #c4d8f9;
|
||||||
--primary-cta-text: #0a0a0a;
|
--primary-cta-text: #020617;
|
||||||
--secondary-cta: #1a1a1a;
|
--secondary-cta: #041633;
|
||||||
--secondary-cta-text: #ffffff;
|
--secondary-cta-text: #e2e8f0;
|
||||||
--accent: #b8860b;
|
--accent: #2d30f3;
|
||||||
--background-accent: #8b6914;
|
--background-accent: #1d4ed8;
|
||||||
|
|
||||||
/* text sizing - set by ThemeProvider */
|
/* text sizing - set by ThemeProvider */
|
||||||
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
||||||
|
|||||||
Reference in New Issue
Block a user