15 Commits

Author SHA1 Message Date
9fb763c9ef Update src/app/page.tsx 2025-12-25 11:07:19 +00:00
b651eb3f64 Update src/app/page.tsx 2025-12-25 11:04:30 +00:00
a8de81609c Update src/app/layout.tsx 2025-12-25 11:04:30 +00:00
3cb3c6d307 Update src/app/page.tsx 2025-12-25 11:03:00 +00:00
217d450e59 Update src/app/page.tsx 2025-12-25 10:55:39 +00:00
18db534079 Update src/app/layout.tsx 2025-12-25 10:55:38 +00:00
cc1045064d Update src/app/globals.css 2025-12-25 10:55:37 +00:00
ec5746d6bf Update src/app/page.tsx 2025-12-24 15:49:21 +00:00
62ca7ff914 Update src/app/layout.tsx 2025-12-24 15:49:20 +00:00
7043ece654 Update src/app/page.tsx 2025-12-24 15:31:02 +00:00
52c3296f23 Update src/app/page.tsx 2025-12-24 15:22:30 +00:00
59b7f15d44 Update src/app/layout.tsx 2025-12-24 15:22:29 +00:00
7c4b71906f Update src/app/page.tsx 2025-12-24 15:20:44 +00:00
8b75654bed Update src/app/layout.tsx 2025-12-24 15:20:43 +00:00
f612df2540 Update src/app/page.tsx 2025-12-24 14:49:51 +00:00
3 changed files with 171 additions and 187 deletions

View File

@@ -4,13 +4,13 @@
/* Base units */ /* Base units */
/* --vw is set by ThemeProvider */ /* --vw is set by ThemeProvider */
--background: #ffffff; --background: #000000;
--card: #fafafa; --card: #1b1b1b;
--foreground: #000000; --foreground: #ffffff;
--primary-cta: #ff0000; --primary-cta: #ffcc00;
--secondary-cta: #ffffff; --secondary-cta: #151515;
--accent: #e5e5e5; --accent: #303030;
--background-accent: #f5f5f5; --background-accent: #303030;
/* 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);

View File

@@ -1,60 +1,36 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Inter } from "next/font/google"; import localFont from "next/font/local";
import "./globals.css"; import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const inter = Inter({ const geistSans = localFont({
variable: "--font-inter", src: "./fonts/GeistVF.woff2",
subsets: ["latin"], variable: "--font-geist-sans",
weight: "100 900",
});
const geistMono = localFont({
src: "./fonts/GeistMonoVF.woff2",
variable: "--font-geist-mono",
weight: "100 900",
}); });
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Star Wars Fans Community - Explore the Galaxy", title: "Star Wars - Join the Galactic Saga",
description: "Join millions of Star Wars fans worldwide. Discover exclusive content, connect with the community, and celebrate the epic saga.", description: "Explore the galaxy far, far away with millions of fans. Discover movies, characters, collectibles and more from the Star Wars universe.",
keywords: "Star Wars, fans, community, movies, series, Jedi, galaxy", keywords: ["star wars", "movies", "collectibles", "lightsaber", "millennium falcon", "yoda", "force"]
metadataBase: new URL("https://starwarsfans.com"),
alternates: {
canonical: "https://starwarsfans.com"
},
openGraph: {
title: "Star Wars Fans Community",
description: "Join the Force. Connect with Star Wars fans, explore content, and celebrate the greatest saga.",
siteName: "STAR WARS",
type: "website",
images: [
{
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg",
alt: "Star Wars galaxy"
}
]
},
twitter: {
card: "summary_large_image",
title: "Star Wars Fans Community",
description: "Join millions of fans exploring the galaxy's greatest saga",
images: ["https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg"]
},
robots: {
index: true,
follow: true
}
}; };
export default function RootLayout({ export default function RootLayout({
children, children,
}: Readonly<{ }: {
children: React.ReactNode; children: React.ReactNode;
}>) { }) {
return ( return (
<html lang="en" suppressHydrationWarning> <html lang="en">
<ServiceWrapper> <body
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`}
className={inter.variable} >
> {children}
<Tag />
{children}
<script <script
dangerouslySetInnerHTML={{ dangerouslySetInnerHTML={{
__html: ` __html: `
@@ -1273,7 +1249,6 @@ export default function RootLayout({
}} }}
/> />
</body> </body>
</ServiceWrapper>
</html> </html>
); );
} }

View File

@@ -1,6 +1,13 @@
"use client"; "use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import HeroBillboardCarouselSplit from "@/components/sections/hero/HeroBillboardCarouselSplit";
import MetricCardThree from "@/components/sections/metrics/MetricCardThree";
import ParallaxAbout from "@/components/sections/about/ParallaxAbout";
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
import ProductCardTwo from "@/components/sections/product/ProductCardTwo";
import FooterSocial from "@/components/sections/footer/FooterSocial";
import { Youtube, Twitter, Linkedin, Film, Users, Calendar } from "lucide-react";
export default function StarWarsPage() { export default function StarWarsPage() {
return ( return (
@@ -17,152 +24,154 @@ export default function StarWarsPage() {
headingFontWeight="extrabold" headingFontWeight="extrabold"
> >
<div id="hero" data-section="hero"> <div id="hero" data-section="hero">
<div className="min-h-screen flex items-center justify-center bg-gradient-to-br from-blue-900 via-purple-900 to-black text-white"> <HeroBillboardCarouselSplit
<div className="text-center space-y-8 max-w-4xl mx-auto px-6"> title="STAR WARS: Join millions of fans exploring the galaxy's greatest saga"
<h1 className="text-6xl font-bold mb-6">STAR WARS</h1> mediaItems={[
<p className="text-xl mb-8">Join millions of fans exploring the galaxy's greatest saga. Discover exclusive content, connect with the community, and celebrate the Force.</p> { imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Star Wars galaxy 1" },
<div className="grid grid-cols-1 md:grid-cols-3 gap-6 mt-12"> { imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Star Wars galaxy 2" },
<div className="bg-white/10 backdrop-blur-sm rounded-lg p-6"> { imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Star Wars galaxy 3" },
<div className="text-3xl font-bold">40+</div> { imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Star Wars galaxy 4" },
<div className="text-lg">Years</div> { imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Star Wars galaxy 5" },
<div className="text-sm text-gray-300">Of Star Wars storytelling</div> { imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Star Wars galaxy 6" }
</div> ]}
<div className="bg-white/10 backdrop-blur-sm rounded-lg p-6"> buttons={[{ text: "Join the Force", href: "#contact" }]}
<div className="text-3xl font-bold">11</div> />
<div className="text-lg">Films</div>
<div className="text-sm text-gray-300">Complete Skywalker saga</div>
</div>
<div className="bg-white/10 backdrop-blur-sm rounded-lg p-6">
<div className="text-3xl font-bold">100M+</div>
<div className="text-lg">Fans</div>
<div className="text-sm text-gray-300">Worldwide united by Force</div>
</div>
</div>
</div>
</div>
</div> </div>
<div id="metrics" data-section="metrics"> <div id="metrics" data-section="metrics">
<div className="py-20 px-6"> <MetricCardThree
<div className="max-w-6xl mx-auto"> title="Our Galactic Impact"
<div className="text-center mb-16"> description="Experience the epic saga spanning decades of storytelling"
<h2 className="text-4xl font-bold mb-4">Our Galactic Impact</h2> metrics={[
<p className="text-lg text-gray-600">Experience the epic saga spanning decades of storytelling</p> { id: "1", icon: Calendar, title: "Years", value: "40+" },
</div> { id: "2", icon: Film, title: "Films", value: "11" },
<div className="grid grid-cols-1 md:grid-cols-3 gap-8"> { id: "3", icon: Users, title: "Fans", value: "100M+" }
<div className="bg-white rounded-lg shadow-lg p-8 text-center"> ]}
<img src="/placeholders/placeholder1.webp" alt="Star Wars years" className="w-16 h-16 mx-auto mb-4 rounded-full" /> gridVariant="uniform-all-items-equal"
<div className="text-3xl font-bold mb-2">40+</div> textboxLayout="default"
<div className="text-lg font-semibold mb-2">Years</div> animationType="slide-up"
<div className="text-gray-600 mb-4">Of Star Wars storytelling</div> useInvertedBackground="noInvert"
<div className="text-yellow-500"> 4.8</div> />
</div> </div>
<div className="bg-white rounded-lg shadow-lg p-8 text-center">
<img src="/placeholders/placeholder1.webp" alt="Star Wars films" className="w-16 h-16 mx-auto mb-4 rounded-full" /> <div id="products" data-section="products">
<div className="text-3xl font-bold mb-2">11</div> <ProductCardTwo
<div className="text-lg font-semibold mb-2">Films</div> title="Featured Products"
<div className="text-gray-600 mb-4">Complete Skywalker saga</div> description="Explore our premium Star Wars collection with top-rated items"
<div className="text-yellow-500"> 4.9</div> tag="Best Sellers"
</div> products={[
<div className="bg-white rounded-lg shadow-lg p-8 text-center"> {
<img src="/placeholders/placeholder1.webp" alt="Star Wars fans" className="w-16 h-16 mx-auto mb-4 rounded-full" /> id: "1",
<div className="text-3xl font-bold mb-2">100M+</div> brand: "Lucasfilm Collectibles",
<div className="text-lg font-semibold mb-2">Fans</div> name: "Premium Lightsaber Replica",
<div className="text-gray-600 mb-4">Worldwide united by Force</div> price: "$199.99",
<div className="text-yellow-500"> 4.7</div> rating: 5,
</div> reviewCount: "2.3k",
</div> imageSrc: "/placeholders/placeholder1.webp",
</div> imageAlt: "Premium Lightsaber Replica",
</div> starColor: "#ff0000"
},
{
id: "2",
brand: "Star Wars Universe",
name: "Millennium Falcon Model Kit",
price: "$149.99",
rating: 4,
reviewCount: "1.8k",
imageSrc: "/placeholders/placeholder1.webp",
imageAlt: "Millennium Falcon Model Kit",
starColor: "#ff0000"
},
{
id: "3",
brand: "Force Masters",
name: "Yoda Statue Figurine",
price: "$89.99",
rating: 5,
reviewCount: "3.1k",
imageSrc: "/placeholders/placeholder1.webp",
imageAlt: "Yoda Statue Figurine",
starColor: "#ff0000"
},
{
id: "4",
brand: "Imperial Design",
name: "Death Star Lamp",
price: "$129.99",
rating: 4,
reviewCount: "956",
imageSrc: "/placeholders/placeholder1.webp",
imageAlt: "Death Star Lamp",
starColor: "#ff0000"
}
]}
gridVariant="uniform-all-items-equal"
textboxLayout="default"
animationType="slide-up"
useInvertedBackground="noInvert"
/>
</div> </div>
<div id="about" data-section="about"> <div id="about" data-section="about">
<div className="py-20 px-6 bg-gray-50"> <ParallaxAbout
<div className="max-w-6xl mx-auto"> title="Elevate Your Experience"
<div className="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center"> description="From Episode I through IX, experience the story of the Skywalker family and the eternal battle between light and dark sides of the Force."
<div> imageSrc="/placeholders/placeholder1.webp"
<div className="text-sm font-semibold text-blue-600 mb-4">About Us</div> imageAlt="Star Wars background"
<h2 className="text-4xl font-bold mb-6">Elevate Your Experience</h2> buttons={[{ text: "Discover More", href: "#contact" }]}
<p className="text-lg text-gray-600 mb-8">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> />
<button className="bg-blue-600 text-white px-8 py-3 rounded-full font-semibold hover:bg-blue-700 transition-colors">
Discover More
</button>
</div>
<div>
<img src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg" alt="Star Wars background" className="w-full h-96 object-cover rounded-lg shadow-lg" />
</div>
</div>
</div>
</div>
</div> </div>
<div id="contact" data-section="contact"> <div id="contact" data-section="contact">
<div className="py-20 px-6"> <ContactSplitForm
<div className="max-w-6xl mx-auto"> title="Get in Touch with the Force"
<div className="grid grid-cols-1 lg:grid-cols-2 gap-12"> description="Subscribe to our newsletter for exclusive Star Wars content, updates, and announcements from the galaxy far, far away."
<div> inputs={[
<h2 className="text-4xl font-bold mb-6">Join the Force</h2> { name: "name", type: "text", placeholder: "Your Name", required: true },
<p className="text-lg text-gray-600 mb-8">Subscribe for exclusive Star Wars news, community updates, and behind-the-scenes content.</p> { name: "email", type: "email", placeholder: "Your Email", required: true }
<form className="space-y-6"> ]}
<input type="text" placeholder="Your name" required className="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent" /> textarea={{
<input type="email" placeholder="Your email address" required className="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent" /> name: "message",
<button type="submit" className="bg-blue-600 text-white px-8 py-3 rounded-full font-semibold hover:bg-blue-700 transition-colors"> placeholder: "Tell us about your favorite Star Wars moment...",
Send Message rows: 4,
</button> required: true
</form> }}
</div> imageSrc="/placeholders/placeholder1.webp"
<div> imageAlt="Star Wars Contact"
<img src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg" alt="Contact background" className="w-full h-96 object-cover rounded-lg shadow-lg" /> mediaPosition="right"
</div> buttonText="Send Message"
</div> useInvertedBackground="noInvert"
</div> />
</div>
</div> </div>
<div id="footer" data-section="footer"> <div id="footer" data-section="footer">
<div className="bg-gray-900 text-white py-16 px-6"> <FooterSocial
<div className="max-w-6xl mx-auto"> logoText="STAR WARS"
<div className="grid grid-cols-1 md:grid-cols-4 gap-8 mb-12"> columns={[
<div className="col-span-1 md:col-span-2"> {
<h3 className="text-2xl font-bold mb-4">STAR WARS</h3> title: "Explore",
<p className="text-gray-400 mb-6">Join millions of Star Wars fans worldwide. Discover exclusive content, connect with the community, and celebrate the epic saga.</p> items: [
<div className="space-y-2"> { label: "Movies", href: "#" },
<div className="flex items-center space-x-3"> { label: "Series", href: "#" },
<span className="text-gray-400">📞</span> { label: "Characters", href: "#" }
<span>(914) 820-5734</span> ]
</div> },
<div className="flex items-center space-x-3"> {
<span className="text-gray-400">📧</span> title: "Community",
<span>contact@starwars.com</span> items: [
</div> { label: "Forums", href: "#" },
<div className="flex items-center space-x-3"> { label: "Events", href: "#" },
<span className="text-gray-400">📍</span> { label: "Merch", href: "#" }
<span>Galaxy, Universe</span> ]
</div> }
</div> ]}
</div> socialLinks={[
<div> { icon: Youtube, href: "https://youtube.com", ariaLabel: "YouTube" },
<h4 className="text-lg font-semibold mb-4">Explore</h4> { icon: Twitter, href: "https://twitter.com", ariaLabel: "Twitter" },
<ul className="space-y-2"> { icon: Linkedin, href: "https://linkedin.com", ariaLabel: "LinkedIn" }
<li><a href="#movies" className="text-gray-400 hover:text-white transition-colors">Movies</a></li> ]}
<li><a href="#series" className="text-gray-400 hover:text-white transition-colors">Series</a></li> copyrightText="© 2024 STAR WARS. All rights reserved."
<li><a href="#characters" className="text-gray-400 hover:text-white transition-colors">Characters</a></li> />
</ul>
</div>
<div>
<h4 className="text-lg font-semibold mb-4">Community</h4>
<ul className="space-y-2">
<li><a href="#forums" className="text-gray-400 hover:text-white transition-colors">Forums</a></li>
<li><a href="#events" className="text-gray-400 hover:text-white transition-colors">Events</a></li>
<li><a href="#merch" className="text-gray-400 hover:text-white transition-colors">Merch</a></li>
</ul>
</div>
</div>
<div className="border-t border-gray-800 pt-8 text-center text-gray-400">
<p>&copy; 2024 STAR WARS. All rights reserved.</p>
</div>
</div>
</div>
</div> </div>
</ThemeProvider> </ThemeProvider>
); );