Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 66098b02e2 | |||
| 16303d418a | |||
| fa104c1f0a | |||
| 814a5f4dc8 | |||
| d67850553e | |||
| fe3ba9977f | |||
| 86f6b3537d | |||
| 9b73620273 | |||
| 282d3bb8ad |
@@ -4,13 +4,13 @@
|
|||||||
/* Base units */
|
/* Base units */
|
||||||
/* --vw is set by ThemeProvider */
|
/* --vw is set by ThemeProvider */
|
||||||
|
|
||||||
--background: #000000;;
|
--background: #0a0a0a;
|
||||||
--card: #1b1b1b;;
|
--card: #1a1a1a;
|
||||||
--foreground: #ffffff;;
|
--foreground: #fffef5e6;
|
||||||
--primary-cta: #ff6600;;
|
--primary-cta: #facc15;
|
||||||
--secondary-cta: #151515;;
|
--secondary-cta: #1a1a1a;
|
||||||
--accent: #303030;;
|
--accent: #737373;
|
||||||
--background-accent: #303030;;
|
--background-accent: #737373;
|
||||||
|
|
||||||
/* 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);
|
||||||
@@ -495,7 +495,7 @@ html {
|
|||||||
body {
|
body {
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
font-family: var(--font-inter), sans-serif;
|
font-family: var(--font-inter-tight), sans-serif;
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
overscroll-behavior: none;
|
overscroll-behavior: none;
|
||||||
@@ -508,5 +508,5 @@ h3,
|
|||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
font-family: var(--font-inter), sans-serif;
|
font-family: var(--font-inter-tight), sans-serif;
|
||||||
}
|
}
|
||||||
362
src/app/page.tsx
362
src/app/page.tsx
@@ -1,17 +1,6 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
|
|
||||||
import HeroLogoBillboardSplit from '@/components/sections/hero/HeroLogoBillboardSplit';
|
|
||||||
import MediaSplitTabsAbout from '@/components/sections/about/MediaSplitTabsAbout';
|
|
||||||
import ProductCardOne from '@/components/sections/product/ProductCardOne';
|
|
||||||
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
|
|
||||||
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
|
|
||||||
import FaqDouble from '@/components/sections/faq/FaqDouble';
|
|
||||||
import ContactCenterForm from '@/components/sections/contact/ContactCenterForm';
|
|
||||||
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
|
|
||||||
import ButtonElasticEffect from '@/components/button/ButtonElasticEffect/ButtonElasticEffect';
|
|
||||||
import { Sparkles, Zap, Users, Star } from "lucide-react";
|
|
||||||
|
|
||||||
export default function StarWarsPage() {
|
export default function StarWarsPage() {
|
||||||
return (
|
return (
|
||||||
@@ -27,273 +16,110 @@ export default function StarWarsPage() {
|
|||||||
secondaryButtonStyle="glass"
|
secondaryButtonStyle="glass"
|
||||||
headingFontWeight="extrabold"
|
headingFontWeight="extrabold"
|
||||||
>
|
>
|
||||||
<div id="nav" data-section="nav">
|
|
||||||
<NavbarStyleApple
|
|
||||||
brandName="STAR WARS"
|
|
||||||
navItems={[
|
|
||||||
{ name: "Home", id: "hero" },
|
|
||||||
{ name: "About", id: "about" },
|
|
||||||
{ name: "Featured", id: "featured" },
|
|
||||||
{ name: "Community", id: "testimonials" },
|
|
||||||
{ name: "Contact", id: "contact" }
|
|
||||||
]}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="hero" data-section="hero">
|
<div id="hero" data-section="hero">
|
||||||
<HeroLogoBillboardSplit
|
<div className="min-h-screen flex items-center justify-center text-white">
|
||||||
logoText="STAR WARS"
|
<div className="text-center space-y-6">
|
||||||
description="Join millions of fans exploring the galaxy's greatest saga. Discover exclusive content, connect with the community, and celebrate the Force."
|
<h1 className="text-6xl font-extrabold">STAR WARS</h1>
|
||||||
buttons={[
|
<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>
|
||||||
{ text: "Enter the Galaxy", href: "#featured" },
|
<div className="space-x-4">
|
||||||
{ text: "Join Community", href: "#contact" }
|
<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>
|
||||||
layoutOrder="default"
|
</div>
|
||||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg"
|
</div>
|
||||||
imageAlt="Star Wars galaxy scene"
|
|
||||||
frameStyle="browser"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="about" data-section="about">
|
|
||||||
<MediaSplitTabsAbout
|
|
||||||
title="The Star Wars Universe"
|
|
||||||
description="Explore decades of epic storytelling across galaxies and timelines"
|
|
||||||
tabs={[
|
|
||||||
{
|
|
||||||
id: "saga",
|
|
||||||
label: "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. Nine films spanning generations of heroes and villains."
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "expanded",
|
|
||||||
label: "Expanded Universe",
|
|
||||||
description: "Venture into incredible stories beyond the main saga. Explore the Old Republic, the High Republic era, and countless tales of Jedi, Sith, and everything in between."
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "characters",
|
|
||||||
label: "Iconic Characters",
|
|
||||||
description: "Meet legendary heroes like Luke Skywalker, Princess Leia, Han Solo, and Darth Vader. Discover complex characters that define the Star Wars legacy and shape the destiny of galaxies."
|
|
||||||
}
|
|
||||||
]}
|
|
||||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766508646892-drupy2w9.jpg"
|
|
||||||
imageAlt="Star Wars universe"
|
|
||||||
imagePosition="right"
|
|
||||||
useInvertedBackground="noInvert"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="featured" data-section="featured">
|
|
||||||
<ProductCardOne
|
|
||||||
title="Featured Content"
|
|
||||||
description="Discover the most essential Star Wars films, series, and stories that define the franchise"
|
|
||||||
products={[
|
|
||||||
{
|
|
||||||
id: "1",
|
|
||||||
name: "The Mandalorian",
|
|
||||||
price: "Series",
|
|
||||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766508648349-opwl7orx.jpg",
|
|
||||||
imageAlt: "The Mandalorian series"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "2",
|
|
||||||
name: "Andor",
|
|
||||||
price: "Series",
|
|
||||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766508649592-o7da7dj7.jpg",
|
|
||||||
imageAlt: "Andor star wars"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "3",
|
|
||||||
name: "The Acolyte",
|
|
||||||
price: "Series",
|
|
||||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766502905270-5whkj6nu.jpg",
|
|
||||||
imageAlt: "The Acolyte series"
|
|
||||||
}
|
|
||||||
]}
|
|
||||||
gridVariant="three-columns-all-equal-width"
|
|
||||||
animationType="blur-reveal"
|
|
||||||
textboxLayout="default"
|
|
||||||
useInvertedBackground="noInvert"
|
|
||||||
tag="Must Watch"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="metrics" data-section="metrics">
|
|
||||||
<MetricCardOne
|
|
||||||
metrics={[
|
|
||||||
{
|
|
||||||
id: "1",
|
|
||||||
value: "40+",
|
|
||||||
title: "Years",
|
|
||||||
description: "Of Star Wars storytelling and legacy",
|
|
||||||
icon: Sparkles
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "2",
|
|
||||||
value: "11",
|
|
||||||
title: "Main Films",
|
|
||||||
description: "Spanning the complete Skywalker saga",
|
|
||||||
icon: Zap
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "3",
|
|
||||||
value: "100M+",
|
|
||||||
title: "Fans",
|
|
||||||
description: "Worldwide united by the Force",
|
|
||||||
icon: Users
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "4",
|
|
||||||
value: "∞",
|
|
||||||
title: "Stories",
|
|
||||||
description: "In an ever-expanding galaxy far away",
|
|
||||||
icon: Star
|
|
||||||
}
|
|
||||||
]}
|
|
||||||
gridVariant="four-items-2x2-equal-grid"
|
|
||||||
animationType="scale-rotate"
|
|
||||||
title="By the Numbers"
|
|
||||||
description="The impact of Star Wars across generations"
|
|
||||||
textboxLayout="default"
|
|
||||||
useInvertedBackground="noInvert"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="testimonials" data-section="testimonials">
|
|
||||||
<TestimonialCardTwelve
|
|
||||||
testimonials={[
|
|
||||||
{
|
|
||||||
id: "1",
|
|
||||||
name: "Sarah",
|
|
||||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766508650951-kaj1cbih.jpg",
|
|
||||||
imageAlt: "Sarah"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "2",
|
|
||||||
name: "Marcus",
|
|
||||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766508651819-t3cnqjfz.jpg",
|
|
||||||
imageAlt: "Marcus"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "3",
|
|
||||||
name: "Elena",
|
|
||||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766508652759-z5co4qlg.jpg",
|
|
||||||
imageAlt: "Elena"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "4",
|
|
||||||
name: "Alex",
|
|
||||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766508653705-qp2xy5s6.jpg",
|
|
||||||
imageAlt: "Alex"
|
|
||||||
}
|
|
||||||
]}
|
|
||||||
cardTitle="Millions of fans across the galaxy trust this community for Star Wars knowledge and connection"
|
|
||||||
cardTag="Fan Approved"
|
|
||||||
useInvertedBackground="noInvert"
|
|
||||||
/>
|
|
||||||
<div className="flex justify-center mt-8">
|
|
||||||
<ButtonElasticEffect text="Join to us" href="#contact" />
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="faq" data-section="faq">
|
<div id="metrics" data-section="metrics">
|
||||||
<FaqDouble
|
<div className="py-20 px-4">
|
||||||
title="Frequently Asked Questions"
|
<div className="max-w-6xl mx-auto">
|
||||||
description="Everything you need to know about the Star Wars universe and this community"
|
<h2 className="text-3xl font-bold text-center mb-4">Our Galactic Impact</h2>
|
||||||
faqs={[
|
<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">
|
||||||
id: "1",
|
<div className="text-center">
|
||||||
title: "What is the best order to watch Star Wars?",
|
<div className="text-4xl font-bold text-blue-600">40+</div>
|
||||||
content: "Start with Episode IV (A New Hope), then V and VI. For a complete experience, watch Episodes I-III before the original trilogy, or watch in release order. For newer content, add Episodes VII-IX afterward."
|
<div className="font-semibold">Years</div>
|
||||||
},
|
<div className="text-sm text-gray-600">Of Star Wars storytelling</div>
|
||||||
{
|
</div>
|
||||||
id: "2",
|
<div className="text-center">
|
||||||
title: "Who are the main characters in Star Wars?",
|
<div className="text-4xl font-bold text-blue-600">11</div>
|
||||||
content: "The saga centers on the Skywalker family. Luke Skywalker, his sister Leia, their father Anakin/Darth Vader, and their descendants define the core story. Other key characters include Han Solo, Yoda, and Palpatine."
|
<div className="font-semibold">Films</div>
|
||||||
},
|
<div className="text-sm text-gray-600">Complete Skywalker saga</div>
|
||||||
{
|
</div>
|
||||||
id: "3",
|
<div className="text-center">
|
||||||
title: "What is the Force?",
|
<div className="text-4xl font-bold text-blue-600">100M+</div>
|
||||||
content: "The Force is a mystical energy field that connects all living things in the Star Wars universe. Those trained to use it become Jedi (light side) or Sith (dark side), giving them incredible powers."
|
<div className="font-semibold">Fans</div>
|
||||||
},
|
<div className="text-sm text-gray-600">Worldwide united by Force</div>
|
||||||
{
|
</div>
|
||||||
id: "4",
|
<div className="text-center">
|
||||||
title: "Where can I watch all Star Wars content?",
|
<div className="text-4xl font-bold text-blue-600">∞</div>
|
||||||
content: "Star Wars films and series are primarily available on Disney+. This includes all nine main saga films, the anthology films, and the original and new series."
|
<div className="font-semibold">Stories</div>
|
||||||
},
|
<div className="text-sm text-gray-600">In expanding galaxy</div>
|
||||||
{
|
</div>
|
||||||
id: "5",
|
</div>
|
||||||
title: "How many Star Wars movies are there?",
|
</div>
|
||||||
content: "The main saga consists of 9 films divided into three trilogies. Additionally, there are two anthology films (Rogue One and Solo), making 11 theatrical films total."
|
</div>
|
||||||
},
|
</div>
|
||||||
{
|
|
||||||
id: "6",
|
<div id="about" data-section="about">
|
||||||
title: "What is the Star Wars Expanded Universe?",
|
<div className="py-20 px-4">
|
||||||
content: "The Expanded Universe (now called Legends) contains hundreds of books, comics, and games set in the Star Wars universe. Many stories explore periods before and after the main saga."
|
<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>
|
||||||
textboxLayout="default"
|
</div>
|
||||||
useInvertedBackground="noInvert"
|
|
||||||
animationType="smooth"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="contact" data-section="contact">
|
<div id="contact" data-section="contact">
|
||||||
<ContactCenterForm
|
<div className="py-20 px-4">
|
||||||
title="Join the Force"
|
<div className="max-w-md mx-auto text-center">
|
||||||
description="Subscribe to our newsletter for exclusive Star Wars news, community updates, and behind-the-scenes content delivered straight to your inbox."
|
<div className="text-sm font-medium text-blue-600 mb-2">Newsletter</div>
|
||||||
inputs={[
|
<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>
|
||||||
name: "name",
|
<div className="flex gap-2">
|
||||||
type: "text",
|
<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" />
|
||||||
placeholder: "Your Name",
|
<button className="px-6 py-2 bg-blue-600 text-white rounded-full hover:bg-blue-700 transition-colors">Send email</button>
|
||||||
required: true
|
</div>
|
||||||
},
|
</div>
|
||||||
{
|
</div>
|
||||||
name: "email",
|
|
||||||
type: "email",
|
|
||||||
placeholder: "Your Email",
|
|
||||||
required: true
|
|
||||||
}
|
|
||||||
]}
|
|
||||||
textarea={{
|
|
||||||
name: "message",
|
|
||||||
placeholder: "Tell us what Star Wars means to you...",
|
|
||||||
rows: 4,
|
|
||||||
required: false
|
|
||||||
}}
|
|
||||||
useInvertedBackground="noInvert"
|
|
||||||
buttonText="Join Community"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer" data-section="footer">
|
<div id="footer" data-section="footer">
|
||||||
<FooterLogoEmphasis
|
<div className="bg-gray-900 text-white py-12 px-4">
|
||||||
logoText="STAR WARS"
|
<div className="max-w-6xl mx-auto">
|
||||||
columns={[
|
<div className="grid grid-cols-1 md:grid-cols-4 gap-8">
|
||||||
{
|
<div>
|
||||||
items: [
|
<h3 className="text-xl font-bold mb-4">STAR WARS</h3>
|
||||||
{ label: "Home", href: "hero" },
|
<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>
|
||||||
{ label: "About Universe", href: "about" },
|
</div>
|
||||||
{ label: "Featured", href: "featured" }
|
<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>
|
||||||
items: [
|
<li><a href="#series" className="text-gray-400 hover:text-white">Series</a></li>
|
||||||
{ label: "Community", href: "testimonials" },
|
<li><a href="#characters" className="text-gray-400 hover:text-white">Characters</a></li>
|
||||||
{ label: "FAQ", href: "faq" },
|
</ul>
|
||||||
{ label: "Contact", href: "contact" }
|
</div>
|
||||||
]
|
<div>
|
||||||
},
|
<h4 className="font-semibold mb-4">Community</h4>
|
||||||
{
|
<ul className="space-y-2">
|
||||||
items: [
|
<li><a href="#forums" className="text-gray-400 hover:text-white">Forums</a></li>
|
||||||
{ label: "Privacy", href: "#" },
|
<li><a href="#events" className="text-gray-400 hover:text-white">Events</a></li>
|
||||||
{ label: "Terms", href: "#" },
|
<li><a href="#merch" className="text-gray-400 hover:text-white">Merch</a></li>
|
||||||
{ label: "Sitemap", href: "#" }
|
</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>
|
||||||
</div>
|
</div>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user