Compare commits
14 Commits
version_7
...
version_11
| Author | SHA1 | Date | |
|---|---|---|---|
| f612df2540 | |||
| 5ab6170a07 | |||
| 7c48b023c1 | |||
| 9689368fe7 | |||
| 5881a07395 | |||
| 09b2c3a2bc | |||
| 39df172d16 | |||
| 119591fcfe | |||
| 06dc06936b | |||
| a2f9422712 | |||
| c2a6462166 | |||
| 66098b02e2 | |||
| 16303d418a | |||
| fa104c1f0a |
@@ -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);
|
||||
|
||||
132
src/app/page.tsx
132
src/app/page.tsx
@@ -1,14 +1,12 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import HeroBillboard from "@/components/sections/hero/HeroBillboard";
|
||||
import HeroBillboardMetrics from "@/components/sections/hero/HeroBillboardMetrics";
|
||||
import MetricCardOne from "@/components/sections/metrics/MetricCardOne";
|
||||
import SplitAbout from "@/components/sections/about/SplitAbout";
|
||||
import ContactCenter from "@/components/sections/contact/ContactCenter";
|
||||
import TextSplitAbout from "@/components/sections/about/TextSplitAbout";
|
||||
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
|
||||
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 { TrendingUp, Users, Zap, Youtube, Twitter, Linkedin } from "lucide-react";
|
||||
|
||||
export default function StarWarsPage() {
|
||||
return (
|
||||
@@ -24,108 +22,72 @@ export default function StarWarsPage() {
|
||||
secondaryButtonStyle="glass"
|
||||
headingFontWeight="extrabold"
|
||||
>
|
||||
<PlainBackground />
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboard
|
||||
<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."
|
||||
tag="Welcome to the Galaxy"
|
||||
buttons={[
|
||||
{ text: "Enter the Galaxy", href: "community" },
|
||||
{ text: "Join Community", href: "about" }
|
||||
]}
|
||||
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">
|
||||
<MetricCardOne
|
||||
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", 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>
|
||||
|
||||
<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={[
|
||||
{
|
||||
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."
|
||||
},
|
||||
{
|
||||
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."
|
||||
},
|
||||
{
|
||||
title: "Iconic Characters",
|
||||
description: "Meet legendary heroes like Luke Skywalker, Princess Leia, Han Solo, and Darth Vader who define the Star Wars legacy."
|
||||
}
|
||||
<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">
|
||||
<ContactCenter
|
||||
tag="Newsletter"
|
||||
<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"
|
||||
inputPlaceholder="Your email address"
|
||||
buttonText="Subscribe"
|
||||
onSubmit={(email) => console.log("Subscribed:", email)}
|
||||
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">
|
||||
<FooterBaseSocial
|
||||
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",
|
||||
@@ -142,22 +104,16 @@ export default function StarWarsPage() {
|
||||
{ label: "Events", href: "#events" },
|
||||
{ label: "Merch", href: "#merch" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "More",
|
||||
items: [
|
||||
{ label: "About Us", href: "about" },
|
||||
{ label: "Blog", href: "#blog" },
|
||||
{ label: "Contact", href: "contact" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
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" },
|
||||
{ icon: Globe, href: "https://example.com", ariaLabel: "Website" }
|
||||
{ icon: Linkedin, href: "https://linkedin.com", ariaLabel: "LinkedIn" }
|
||||
]}
|
||||
copyrightText="© 2025 Star Wars Community. All rights reserved."
|
||||
/>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
|
||||
Reference in New Issue
Block a user