Compare commits
50 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 64fbd89bac | |||
| b651eb3f64 | |||
| a8de81609c | |||
| 43be85cf34 | |||
| 3cb3c6d307 | |||
| 3f4db2cb8c | |||
| 217d450e59 | |||
| 18db534079 | |||
| cc1045064d | |||
| 9cec354fa8 | |||
| ec5746d6bf | |||
| 62ca7ff914 | |||
| 6c5a6a3915 | |||
| 7043ece654 | |||
| e5a6147b6b | |||
| 52c3296f23 | |||
| 59b7f15d44 | |||
| 4d4ff6e0a0 | |||
| 7c4b71906f | |||
| 8b75654bed | |||
| 7c01095ca9 | |||
| f612df2540 | |||
| 72d3a51aeb | |||
| 5ab6170a07 | |||
| e57d3c3e94 | |||
| 7c48b023c1 | |||
| 9689368fe7 | |||
| 1070bf740e | |||
| 5881a07395 | |||
| 09b2c3a2bc | |||
| 39df172d16 | |||
| 556648f05e | |||
| 119591fcfe | |||
| 06dc06936b | |||
| f92f3e51f4 | |||
| a2f9422712 | |||
| c2a6462166 | |||
| 476ada74d9 | |||
| 66098b02e2 | |||
| 0190e9d3e0 | |||
| 16303d418a | |||
| 55b314aaa2 | |||
| fa104c1f0a | |||
| d50e44645a | |||
| 06abe78f58 | |||
| 9be88da2b1 | |||
| 9610eb709a | |||
| 68f4a67133 | |||
| ea228313f7 | |||
| af56b4ac15 |
@@ -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: #000000;
|
||||
--card: #1b1b1b;
|
||||
--foreground: #ffffff;
|
||||
--primary-cta: #ffcc00;
|
||||
--secondary-cta: #151515;
|
||||
--accent: #303030;
|
||||
--background-accent: #303030;
|
||||
|
||||
/* text sizing - set by ThemeProvider */
|
||||
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
||||
|
||||
@@ -1,60 +1,36 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Inter } from "next/font/google";
|
||||
import localFont from "next/font/local";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter",
|
||||
subsets: ["latin"],
|
||||
const geistSans = localFont({
|
||||
src: "./fonts/GeistVF.woff2",
|
||||
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 = {
|
||||
title: "Star Wars Fans Community - Explore the Galaxy",
|
||||
description: "Join millions of Star Wars fans worldwide. Discover exclusive content, connect with the community, and celebrate the epic saga.",
|
||||
keywords: "Star Wars, fans, community, movies, series, Jedi, galaxy",
|
||||
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
|
||||
}
|
||||
title: "Star Wars - Join the Galactic 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", "movies", "collectibles", "lightsaber", "millennium falcon", "yoda", "force"]
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={inter.variable}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body
|
||||
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
||||
>
|
||||
{children}
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1273,7 +1249,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
209
src/app/page.tsx
209
src/app/page.tsx
@@ -1,14 +1,13 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import HeroBillboard from "@/components/sections/hero/HeroBillboard";
|
||||
import MetricCardOne from "@/components/sections/metrics/MetricCardOne";
|
||||
import SplitAbout from "@/components/sections/about/SplitAbout";
|
||||
import ContactCenter from "@/components/sections/contact/ContactCenter";
|
||||
import FooterBaseSocial from "@/components/sections/footer/FooterBaseSocial";
|
||||
import PlainBackground from "@/components/background/PlainBackground";
|
||||
import CircleGradientBackground from "@/components/background/CircleGradientBackground";
|
||||
import { TrendingUp, Users, Zap, Star, Twitter, Linkedin, Globe } from "lucide-react";
|
||||
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() {
|
||||
return (
|
||||
@@ -24,140 +23,154 @@ export default function StarWarsPage() {
|
||||
secondaryButtonStyle="glass"
|
||||
headingFontWeight="extrabold"
|
||||
>
|
||||
<PlainBackground />
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboard
|
||||
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."
|
||||
tag="Welcome to the Galaxy"
|
||||
buttons={[
|
||||
{ text: "Enter the Galaxy", href: "community" },
|
||||
{ text: "Join Community", href: "about" }
|
||||
<HeroBillboardCarouselSplit
|
||||
title="STAR WARS: Join millions of fans exploring the galaxy's greatest saga"
|
||||
mediaItems={[
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg", imageAlt: "Star Wars galaxy 1" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg", imageAlt: "Star Wars galaxy 2" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg", imageAlt: "Star Wars galaxy 3" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg", imageAlt: "Star Wars galaxy 4" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg", imageAlt: "Star Wars galaxy 5" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg", imageAlt: "Star Wars galaxy 6" }
|
||||
]}
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg"
|
||||
imageAlt="Star Wars galaxy"
|
||||
frameStyle="card"
|
||||
buttons={[{ text: "Join the Force", href: "contact" }]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="metrics" data-section="metrics">
|
||||
<MetricCardOne
|
||||
<MetricCardThree
|
||||
title="Our Galactic Impact"
|
||||
description="Witness the scale of the Star Wars universe and its influence across generations"
|
||||
gridVariant="four-items-2x2-equal-grid"
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground="noInvert"
|
||||
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: Star
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
value: "100M+",
|
||||
title: "Fans",
|
||||
description: "Worldwide united by Force",
|
||||
icon: Users
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
value: "∞",
|
||||
title: "Stories",
|
||||
description: "In expanding galaxy",
|
||||
icon: Zap
|
||||
}
|
||||
{ id: "1", icon: Calendar, title: "Years", value: "40+" },
|
||||
{ id: "2", icon: Film, title: "Films", value: "11" },
|
||||
{ id: "3", icon: Users, title: "Fans", value: "100M+" }
|
||||
]}
|
||||
gridVariant="uniform-all-items-equal"
|
||||
textboxLayout="default"
|
||||
animationType="slide-up"
|
||||
useInvertedBackground="noInvert"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<CircleGradientBackground diagonal="primary" />
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<SplitAbout
|
||||
title="About the Universe"
|
||||
description="Experience the epic saga spanning decades of storytelling across multiple eras and universes"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground="noInvert"
|
||||
imagePosition="right"
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg"
|
||||
imageAlt="Star Wars universe"
|
||||
bulletPoints={[
|
||||
<div id="products" data-section="products">
|
||||
<ProductCardTwo
|
||||
title="Featured Products"
|
||||
description="Explore our premium Star Wars collection with top-rated items"
|
||||
tag="Best Sellers"
|
||||
products={[
|
||||
{
|
||||
title: "The Saga",
|
||||
description: "From Episode I through IX, experience the epic story of the Skywalker family and the eternal battle between light and dark sides of the Force."
|
||||
id: "1",
|
||||
brand: "Lucasfilm Collectibles",
|
||||
name: "Premium Lightsaber Replica",
|
||||
price: "$199.99",
|
||||
rating: 5,
|
||||
reviewCount: "2.3k",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg",
|
||||
imageAlt: "Premium Lightsaber Replica",
|
||||
starColor: "#ff0000"
|
||||
},
|
||||
{
|
||||
title: "Expanded Universe",
|
||||
description: "Venture into incredible stories beyond the main saga. Explore the Old Republic, High Republic era, and countless tales of heroes and villains."
|
||||
id: "2",
|
||||
brand: "Star Wars Universe",
|
||||
name: "Millennium Falcon Model Kit",
|
||||
price: "$149.99",
|
||||
rating: 4,
|
||||
reviewCount: "1.8k",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg",
|
||||
imageAlt: "Millennium Falcon Model Kit",
|
||||
starColor: "#ff0000"
|
||||
},
|
||||
{
|
||||
title: "Iconic Characters",
|
||||
description: "Meet legendary heroes like Luke Skywalker, Princess Leia, Han Solo, and Darth Vader who define the Star Wars legacy."
|
||||
id: "3",
|
||||
brand: "Force Masters",
|
||||
name: "Yoda Statue Figurine",
|
||||
price: "$89.99",
|
||||
rating: 5,
|
||||
reviewCount: "3.1k",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg",
|
||||
imageAlt: "Yoda Statue Figurine",
|
||||
starColor: "#ff0000"
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
brand: "Imperial Design",
|
||||
name: "Death Star Lamp",
|
||||
price: "$129.99",
|
||||
rating: 4,
|
||||
reviewCount: "956",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg",
|
||||
imageAlt: "Death Star Lamp",
|
||||
starColor: "#ff0000"
|
||||
}
|
||||
]}
|
||||
gridVariant="uniform-all-items-equal"
|
||||
textboxLayout="default"
|
||||
animationType="slide-up"
|
||||
useInvertedBackground="noInvert"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<ParallaxAbout
|
||||
title="Elevate Your Experience"
|
||||
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."
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg"
|
||||
imageAlt="Star Wars background"
|
||||
buttons={[{ text: "Discover More", href: "#" }]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactCenter
|
||||
tag="Newsletter"
|
||||
title="Join the Force"
|
||||
description="Subscribe for exclusive Star Wars news, community updates, and behind-the-scenes content."
|
||||
<ContactSplitForm
|
||||
title="Get in Touch with the Force"
|
||||
description="Subscribe to our newsletter for exclusive Star Wars content, updates, and announcements from the galaxy far, far away."
|
||||
inputs={[
|
||||
{ name: "name", type: "text", placeholder: "Your Name", required: true },
|
||||
{ name: "email", type: "email", placeholder: "Your Email", required: true }
|
||||
]}
|
||||
textarea={{
|
||||
name: "message",
|
||||
placeholder: "Tell us about your favorite Star Wars moment...",
|
||||
rows: 4,
|
||||
required: true
|
||||
}}
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg"
|
||||
imageAlt="Star Wars Contact"
|
||||
mediaPosition="right"
|
||||
buttonText="Send Message"
|
||||
useInvertedBackground="noInvert"
|
||||
inputPlaceholder="Your email address"
|
||||
buttonText="Subscribe"
|
||||
onSubmit={(email) => console.log("Subscribed:", email)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBaseSocial
|
||||
<FooterSocial
|
||||
logoText="STAR WARS"
|
||||
description="Join millions of Star Wars fans worldwide. Discover exclusive content, connect with the community, and celebrate the epic saga."
|
||||
columns={[
|
||||
{
|
||||
title: "Explore",
|
||||
items: [
|
||||
{ label: "Movies", href: "#movies" },
|
||||
{ label: "Series", href: "#series" },
|
||||
{ label: "Characters", href: "#characters" }
|
||||
{ label: "Movies", href: "#" },
|
||||
{ label: "Series", href: "#" },
|
||||
{ label: "Characters", href: "#" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Community",
|
||||
items: [
|
||||
{ label: "Forums", href: "#forums" },
|
||||
{ label: "Events", href: "#events" },
|
||||
{ label: "Merch", href: "#merch" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "More",
|
||||
items: [
|
||||
{ label: "About Us", href: "about" },
|
||||
{ label: "Blog", href: "#blog" },
|
||||
{ label: "Contact", href: "contact" }
|
||||
{ label: "Forums", href: "#" },
|
||||
{ label: "Events", href: "#" },
|
||||
{ label: "Merch", href: "#" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
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" },
|
||||
{ icon: Globe, href: "https://example.com", ariaLabel: "Website" }
|
||||
{ icon: Linkedin, href: "https://linkedin.com", ariaLabel: "LinkedIn" }
|
||||
]}
|
||||
copyrightText="© 2025 Star Wars Community. All rights reserved."
|
||||
copyrightText="© 2024 STAR WARS. All rights reserved."
|
||||
/>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
|
||||
Reference in New Issue
Block a user