Compare commits
11 Commits
version_8
...
version_11
| Author | SHA1 | Date | |
|---|---|---|---|
| f612df2540 | |||
| 5ab6170a07 | |||
| 7c48b023c1 | |||
| 9689368fe7 | |||
| 5881a07395 | |||
| 09b2c3a2bc | |||
| 39df172d16 | |||
| 119591fcfe | |||
| 06dc06936b | |||
| a2f9422712 | |||
| c2a6462166 |
@@ -4,13 +4,13 @@
|
||||
/* Base units */
|
||||
/* --vw is set by ThemeProvider */
|
||||
|
||||
--background: #0a0a0a;
|
||||
--card: #1a1a1a;
|
||||
--foreground: #fffef5e6;
|
||||
--primary-cta: #facc15;
|
||||
--secondary-cta: #1a1a1a;
|
||||
--accent: #737373;
|
||||
--background-accent: #737373;
|
||||
--background: #ffffff;
|
||||
--card: #fafafa;
|
||||
--foreground: #000000;
|
||||
--primary-cta: #ff0000;
|
||||
--secondary-cta: #ffffff;
|
||||
--accent: #e5e5e5;
|
||||
--background-accent: #f5f5f5;
|
||||
|
||||
/* text sizing - set by ThemeProvider */
|
||||
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
||||
|
||||
177
src/app/page.tsx
177
src/app/page.tsx
@@ -1,6 +1,12 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import HeroBillboardMetrics from "@/components/sections/hero/HeroBillboardMetrics";
|
||||
import MetricCardOne from "@/components/sections/metrics/MetricCardOne";
|
||||
import TextSplitAbout from "@/components/sections/about/TextSplitAbout";
|
||||
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
|
||||
import FooterBaseSocial from "@/components/sections/footer/FooterBaseSocial";
|
||||
import { TrendingUp, Users, Zap, Youtube, Twitter, Linkedin } from "lucide-react";
|
||||
|
||||
export default function StarWarsPage() {
|
||||
return (
|
||||
@@ -17,109 +23,98 @@ export default function StarWarsPage() {
|
||||
headingFontWeight="extrabold"
|
||||
>
|
||||
<div id="hero" data-section="hero">
|
||||
<div className="min-h-screen flex items-center justify-center text-white">
|
||||
<div className="text-center space-y-6">
|
||||
<h1 className="text-6xl font-extrabold">STAR WARS</h1>
|
||||
<p className="text-xl max-w-2xl mx-auto">Join millions of fans exploring the galaxy's greatest saga. Discover exclusive content, connect with the community, and celebrate the Force.</p>
|
||||
<div className="space-x-4">
|
||||
<a href="#community" className="inline-block px-6 py-3 bg-blue-600 rounded-full hover:bg-blue-700 transition-colors">Enter the Galaxy</a>
|
||||
<a href="#about" className="inline-block px-6 py-3 border border-white rounded-full hover:bg-white hover:text-black transition-colors">Join Community</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<HeroBillboardMetrics
|
||||
title="STAR WARS"
|
||||
description="Join millions of fans exploring the galaxy's greatest saga. Discover exclusive content, connect with the community, and celebrate the Force."
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg"
|
||||
imageAlt="Star Wars galaxy"
|
||||
frameStyle="card"
|
||||
metricsLabel="Trusted by leading companies and organizations worldwide"
|
||||
metrics={[
|
||||
{ id: "1", value: "40+", label: "Years of storytelling" },
|
||||
{ id: "2", value: "11", label: "Films in saga" },
|
||||
{ id: "3", value: "100M+", label: "Fans worldwide" }
|
||||
]}
|
||||
buttons={[{ text: "Join the Force", href: "contact" }]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="metrics" data-section="metrics">
|
||||
<div className="py-20 px-4">
|
||||
<div className="max-w-6xl mx-auto">
|
||||
<h2 className="text-3xl font-bold text-center mb-4">Our Galactic Impact</h2>
|
||||
<p className="text-center text-gray-600 mb-12">Witness the scale of the Star Wars universe and its influence across generations</p>
|
||||
<div className="grid grid-cols-2 md:grid-cols-4 gap-8">
|
||||
<div className="text-center">
|
||||
<div className="text-4xl font-bold text-blue-600">40+</div>
|
||||
<div className="font-semibold">Years</div>
|
||||
<div className="text-sm text-gray-600">Of Star Wars storytelling</div>
|
||||
</div>
|
||||
<div className="text-center">
|
||||
<div className="text-4xl font-bold text-blue-600">11</div>
|
||||
<div className="font-semibold">Films</div>
|
||||
<div className="text-sm text-gray-600">Complete Skywalker saga</div>
|
||||
</div>
|
||||
<div className="text-center">
|
||||
<div className="text-4xl font-bold text-blue-600">100M+</div>
|
||||
<div className="font-semibold">Fans</div>
|
||||
<div className="text-sm text-gray-600">Worldwide united by Force</div>
|
||||
</div>
|
||||
<div className="text-center">
|
||||
<div className="text-4xl font-bold text-blue-600">∞</div>
|
||||
<div className="font-semibold">Stories</div>
|
||||
<div className="text-sm text-gray-600">In expanding galaxy</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<MetricCardOne
|
||||
title="Our Galactic Impact"
|
||||
description="Experience the epic saga spanning decades of storytelling"
|
||||
metrics={[
|
||||
{ id: "1", value: "40", title: "Years", description: "Of Star Wars storytelling", icon: TrendingUp },
|
||||
{ id: "2", value: "11", title: "Films", description: "Complete Skywalker saga", icon: Zap },
|
||||
{ id: "3", value: "100M", title: "Fans", description: "Worldwide united by Force", icon: Users }
|
||||
]}
|
||||
gridVariant="uniform-all-items-equal"
|
||||
textboxLayout="default"
|
||||
animationType="slide-up"
|
||||
useInvertedBackground="noInvert"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<div className="py-20 px-4">
|
||||
<div className="max-w-4xl mx-auto text-center">
|
||||
<p className="text-lg leading-relaxed">Experience the epic saga spanning decades of storytelling across multiple eras and universes. From Episode I through IX, experience the story of the Skywalker family and the eternal battle between light and dark sides of the Force.</p>
|
||||
</div>
|
||||
</div>
|
||||
<TextSplitAbout
|
||||
title="Elevate Your Experience"
|
||||
description={[
|
||||
"Experience the epic saga spanning decades of storytelling across multiple eras and universes.",
|
||||
"From Episode I through IX, experience the story of the Skywalker family and the eternal battle between light and dark sides of the Force."
|
||||
]}
|
||||
useInvertedBackground="noInvert"
|
||||
buttons={[{ text: "Discover More", href: "#" }]}
|
||||
showBorder={false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<div className="py-20 px-4">
|
||||
<div className="max-w-md mx-auto text-center">
|
||||
<div className="text-sm font-medium text-blue-600 mb-2">Newsletter</div>
|
||||
<h2 className="text-3xl font-bold mb-4">Join the Force</h2>
|
||||
<p className="text-gray-600 mb-8">Subscribe for exclusive Star Wars news, community updates, and behind-the-scenes content.</p>
|
||||
<div className="flex gap-2">
|
||||
<input type="email" placeholder="Your email address" className="flex-1 px-4 py-2 border border-gray-300 rounded-full focus:outline-none focus:ring-2 focus:ring-blue-600" />
|
||||
<button className="px-6 py-2 bg-blue-600 text-white rounded-full hover:bg-blue-700 transition-colors">Send email</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<ContactSplitForm
|
||||
title="Join the Force"
|
||||
description="Subscribe for exclusive Star Wars news, community updates, and behind-the-scenes content."
|
||||
inputs={[
|
||||
{ name: "name", type: "text", placeholder: "Your name", required: true },
|
||||
{ name: "email", type: "email", placeholder: "Your email address", required: true }
|
||||
]}
|
||||
textarea={{ name: "message", placeholder: "Type your message...", rows: 5, required: true }}
|
||||
useInvertedBackground="noInvert"
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg"
|
||||
imageAlt="Contact background"
|
||||
mediaPosition="right"
|
||||
buttonText="Send Message"
|
||||
onSubmit={(data) => console.log(data)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<div className="bg-gray-900 text-white py-12 px-4">
|
||||
<div className="max-w-6xl mx-auto">
|
||||
<div className="grid grid-cols-1 md:grid-cols-4 gap-8">
|
||||
<div>
|
||||
<h3 className="text-xl font-bold mb-4">STAR WARS</h3>
|
||||
<p className="text-gray-400">Join millions of Star Wars fans worldwide. Discover exclusive content, connect with the community, and celebrate the epic saga.</p>
|
||||
</div>
|
||||
<div>
|
||||
<h4 className="font-semibold mb-4">Explore</h4>
|
||||
<ul className="space-y-2">
|
||||
<li><a href="#movies" className="text-gray-400 hover:text-white">Movies</a></li>
|
||||
<li><a href="#series" className="text-gray-400 hover:text-white">Series</a></li>
|
||||
<li><a href="#characters" className="text-gray-400 hover:text-white">Characters</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<h4 className="font-semibold mb-4">Community</h4>
|
||||
<ul className="space-y-2">
|
||||
<li><a href="#forums" className="text-gray-400 hover:text-white">Forums</a></li>
|
||||
<li><a href="#events" className="text-gray-400 hover:text-white">Events</a></li>
|
||||
<li><a href="#merch" className="text-gray-400 hover:text-white">Merch</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<h4 className="font-semibold mb-4">More</h4>
|
||||
<ul className="space-y-2">
|
||||
<li><a href="#about" className="text-gray-400 hover:text-white">About Us</a></li>
|
||||
<li><a href="#blog" className="text-gray-400 hover:text-white">Blog</a></li>
|
||||
<li><a href="#contact" className="text-gray-400 hover:text-white">Contact</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div className="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
|
||||
<p>© 2025 Star Wars Community. All rights reserved.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<FooterBaseSocial
|
||||
columns={[
|
||||
{
|
||||
title: "Explore",
|
||||
items: [
|
||||
{ label: "Movies", href: "#movies" },
|
||||
{ label: "Series", href: "#series" },
|
||||
{ label: "Characters", href: "#characters" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Community",
|
||||
items: [
|
||||
{ label: "Forums", href: "#forums" },
|
||||
{ label: "Events", href: "#events" },
|
||||
{ label: "Merch", href: "#merch" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
description="Join millions of Star Wars fans worldwide. Discover exclusive content, connect with the community, and celebrate the epic saga."
|
||||
logoText="STAR WARS"
|
||||
copyrightText="© 2024 STAR WARS. All rights reserved."
|
||||
socialLinks={[
|
||||
{ icon: Youtube, href: "https://youtube.com", ariaLabel: "YouTube" },
|
||||
{ icon: Twitter, href: "https://twitter.com", ariaLabel: "Twitter" },
|
||||
{ icon: Linkedin, href: "https://linkedin.com", ariaLabel: "LinkedIn" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user