Expand to multi-section site
This commit is contained in:
+84
-3
@@ -2,10 +2,23 @@ import './style.css'
|
||||
|
||||
document.querySelector('#app').innerHTML = `
|
||||
<div class="balloon-container">
|
||||
${Array.from({length: 20}).map(() => `<div class="balloon" style="--left: ${Math.random() * 100}%; --delay: ${Math.random() * 5}s; --color: hsl(${Math.random() * 360}, 80%, 60%); --scale: ${0.5 + Math.random() * 0.8}"></div>`).join('')}
|
||||
${Array.from({length: 30}).map(() => `<div class="balloon" style="--left: ${Math.random() * 100}%; --delay: ${Math.random() * 8}s; --color: hsl(${Math.random() * 360}, 80%, 60%); --scale: ${0.4 + Math.random() * 0.8}"></div>`).join('')}
|
||||
</div>
|
||||
|
||||
<main class="glass-panel">
|
||||
<!-- Navbar -->
|
||||
<nav class="navbar glass-panel-flat">
|
||||
<div class="logo">🎈 BalloonGala</div>
|
||||
<ul class="nav-links">
|
||||
<li><a href="#hero">Home</a></li>
|
||||
<li><a href="#packages">Packages</a></li>
|
||||
<li><a href="#gallery">Gallery</a></li>
|
||||
<li><a href="#contact">Contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<!-- Hero Section -->
|
||||
<section id="hero" class="section hero-section">
|
||||
<main class="glass-panel text-center">
|
||||
<h1>The Ultimate Balloon Gala</h1>
|
||||
<p class="subtitle">Join us for a night of floating fun, vivid colors, and high-altitude entertainment.</p>
|
||||
|
||||
@@ -20,8 +33,76 @@ document.querySelector('#app').innerHTML = `
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button id="rsvp-btn">RSVP NOW</button>
|
||||
<button id="rsvp-btn" class="primary-btn">RSVP NOW</button>
|
||||
</main>
|
||||
</section>
|
||||
|
||||
<!-- Packages Section -->
|
||||
<section id="packages" class="section packages-section">
|
||||
<h2 class="section-title">Party Packages</h2>
|
||||
<div class="grid-container">
|
||||
<div class="card glass-panel">
|
||||
<h3>Standard Helium</h3>
|
||||
<p class="price">$99</p>
|
||||
<ul class="features">
|
||||
<li>100 Standard Balloons</li>
|
||||
<li>Basic Color Selection</li>
|
||||
<li>Delivery Included</li>
|
||||
</ul>
|
||||
<button class="outline-btn">Select</button>
|
||||
</div>
|
||||
<div class="card glass-panel highlight-card">
|
||||
<div class="badge">Most Popular</div>
|
||||
<h3>The Strato-Sphere</h3>
|
||||
<p class="price">$249</p>
|
||||
<ul class="features">
|
||||
<li>500 Custom Balloons</li>
|
||||
<li>Metallic & Neon Colors</li>
|
||||
<li>Professional Decorator</li>
|
||||
<li>LED String Lights</li>
|
||||
</ul>
|
||||
<button class="primary-btn">Select</button>
|
||||
</div>
|
||||
<div class="card glass-panel">
|
||||
<h3>Atmosphere Ultra</h3>
|
||||
<p class="price">$499</p>
|
||||
<ul class="features">
|
||||
<li>1000+ Premium Balloons</li>
|
||||
<li>Custom Arches & Towers</li>
|
||||
<li>Photo Booth Setup</li>
|
||||
<li>VIP Coordination</li>
|
||||
</ul>
|
||||
<button class="outline-btn">Select</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Gallery Section -->
|
||||
<section id="gallery" class="section gallery-section">
|
||||
<h2 class="section-title">Past Events</h2>
|
||||
<div class="gallery-grid">
|
||||
<div class="gallery-item glass-panel">
|
||||
<img src="https://images.unsplash.com/photo-1530103862676-de3c9de59f9e?auto=format&fit=crop&w=600&q=80" alt="Balloons 1">
|
||||
</div>
|
||||
<div class="gallery-item glass-panel">
|
||||
<img src="https://images.unsplash.com/photo-1507504031003-b417219a0fde?auto=format&fit=crop&w=600&q=80" alt="Balloons 2">
|
||||
</div>
|
||||
<div class="gallery-item glass-panel">
|
||||
<img src="https://images.unsplash.com/photo-1522008629172-0c1ba86e819b?auto=format&fit=crop&w=600&q=80" alt="Balloons 3">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Contact/Footer Section -->
|
||||
<footer id="contact" class="section footer-section glass-panel-flat text-center">
|
||||
<h2>Let's Get Your Party Floating</h2>
|
||||
<p>Contact our event coordinators to plan your next breathtaking gala.</p>
|
||||
<div class="footer-links">
|
||||
<a href="mailto:hello@balloongala2026.com">hello@balloongala2026.com</a>
|
||||
<a href="tel:+15550198">+1 (555) 019-8273</a>
|
||||
</div>
|
||||
<p class="copyright">© 2026 BalloonGala. All rights reserved.</p>
|
||||
</footer>
|
||||
`
|
||||
|
||||
document.querySelector('#rsvp-btn').addEventListener('click', (e) => {
|
||||
|
||||
+253
-29
@@ -1,25 +1,25 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;600;800&display=swap');
|
||||
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;800&display=swap');
|
||||
|
||||
:root {
|
||||
font-family: 'Outfit', sans-serif;
|
||||
color-scheme: light dark;
|
||||
background: linear-gradient(135deg, #1e1e2f 0%, #2a2a4a 100%);
|
||||
background-attachment: fixed;
|
||||
color: #fff;
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
display: flex;
|
||||
place-items: center;
|
||||
padding: 0;
|
||||
min-width: 320px;
|
||||
min-height: 100vh;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
/* Floating Balloons */
|
||||
.balloon-container {
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
@@ -37,9 +37,9 @@ body {
|
||||
background-color: var(--color);
|
||||
border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
|
||||
transform: scale(var(--scale));
|
||||
animation: floatUp 10s ease-in infinite;
|
||||
animation: floatUp 15s ease-in infinite;
|
||||
animation-delay: var(--delay);
|
||||
opacity: 0.8;
|
||||
opacity: 0.7;
|
||||
box-shadow: inset -10px -10px 15px rgba(0,0,0,0.2), inset 10px 10px 15px rgba(255,255,255,0.4);
|
||||
}
|
||||
|
||||
@@ -62,25 +62,36 @@ body {
|
||||
100% { transform: translateY(-120vh) scale(var(--scale)) rotate(-5deg); }
|
||||
}
|
||||
|
||||
/* Glassmorphism Panel */
|
||||
/* Base Glassmorphism */
|
||||
.glass-panel {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
backdrop-filter: blur(16px);
|
||||
-webkit-backdrop-filter: blur(16px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||
border-radius: 24px;
|
||||
padding: 3rem;
|
||||
max-width: 500px;
|
||||
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.glass-panel-flat {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.text-center {
|
||||
text-align: center;
|
||||
z-index: 10;
|
||||
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* Typography */
|
||||
h1, h2, h3 {
|
||||
font-weight: 800;
|
||||
margin: 0 0 1rem 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 3rem;
|
||||
font-weight: 800;
|
||||
margin: 0 0 1rem 0;
|
||||
font-size: 3.5rem;
|
||||
background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
@@ -88,16 +99,80 @@ h1 {
|
||||
animation: gradientFlow 5s ease infinite;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 2.5rem;
|
||||
text-align: center;
|
||||
margin-bottom: 3rem;
|
||||
color: #fff;
|
||||
text-shadow: 0 2px 10px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
@keyframes gradientFlow {
|
||||
0% { background-position: 0% 50%; }
|
||||
50% { background-position: 100% 50%; }
|
||||
100% { background-position: 0% 50%; }
|
||||
}
|
||||
|
||||
/* Navbar */
|
||||
.navbar {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 1rem 5%;
|
||||
z-index: 100;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.nav-links a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
transition: opacity 0.3s;
|
||||
}
|
||||
|
||||
.nav-links a:hover {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
/* Sections Layout */
|
||||
.section {
|
||||
min-height: 100vh;
|
||||
padding: 100px 5% 50px 5%; /* Account for fixed navbar */
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Hero Section */
|
||||
.hero-section main {
|
||||
padding: 4rem 3rem;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-size: 1.2rem;
|
||||
font-size: 1.3rem;
|
||||
font-weight: 300;
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
@@ -105,17 +180,17 @@ h1 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
text-align: left;
|
||||
margin-bottom: 2.5rem;
|
||||
}
|
||||
|
||||
.detail-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
padding: 1rem;
|
||||
background: rgba(0, 0, 0, 0.25);
|
||||
padding: 1.2rem;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.icon {
|
||||
@@ -123,21 +198,170 @@ h1 {
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
button {
|
||||
/* Buttons */
|
||||
.primary-btn {
|
||||
background: #feca57;
|
||||
color: #222;
|
||||
border: none;
|
||||
padding: 1rem 2rem;
|
||||
padding: 1.2rem 2.5rem;
|
||||
font-size: 1.2rem;
|
||||
font-weight: 800;
|
||||
border-radius: 50px;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 10px 20px rgba(254, 202, 87, 0.3);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
.primary-btn:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 15px 25px rgba(254, 202, 87, 0.5);
|
||||
}
|
||||
|
||||
.outline-btn {
|
||||
background: transparent;
|
||||
color: #fff;
|
||||
border: 2px solid #fff;
|
||||
padding: 1.2rem 2.5rem;
|
||||
font-size: 1.2rem;
|
||||
font-weight: 800;
|
||||
border-radius: 50px;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.outline-btn:hover {
|
||||
background: #fff;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
/* Packages Grid */
|
||||
.grid-container {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 2rem;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.card {
|
||||
padding: 2.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
transition: transform 0.3s ease;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
|
||||
.highlight-card {
|
||||
border: 1px solid #48dbfb;
|
||||
box-shadow: 0 25px 50px -12px rgba(72, 219, 251, 0.2);
|
||||
}
|
||||
|
||||
.badge {
|
||||
background: #48dbfb;
|
||||
color: #111;
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: -35px;
|
||||
padding: 5px 40px;
|
||||
transform: rotate(45deg);
|
||||
font-weight: 800;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.price {
|
||||
font-size: 3rem;
|
||||
font-weight: 800;
|
||||
color: #feca57;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
.features {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0 0 2rem 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.features li {
|
||||
padding: 0.8rem 0;
|
||||
border-bottom: 1px solid rgba(255,255,255,0.1);
|
||||
}
|
||||
|
||||
.features li:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
/* Gallery Grid */
|
||||
.gallery-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 1.5rem;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.gallery-item {
|
||||
height: 300px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.gallery-item img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 0.5s ease;
|
||||
}
|
||||
|
||||
.gallery-item:hover img {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
/* Footer Section */
|
||||
.footer-section {
|
||||
min-height: auto;
|
||||
padding: 4rem 5%;
|
||||
margin-top: 5rem;
|
||||
}
|
||||
|
||||
.footer-links {
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
justify-content: center;
|
||||
margin: 2rem 0;
|
||||
}
|
||||
|
||||
.footer-links a {
|
||||
color: #48dbfb;
|
||||
text-decoration: none;
|
||||
font-size: 1.2rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.footer-links a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.copyright {
|
||||
opacity: 0.6;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 768px) {
|
||||
h1 { font-size: 2.5rem; }
|
||||
.nav-links { display: none; }
|
||||
.grid-container { grid-template-columns: 1fr; }
|
||||
.footer-links { flex-direction: column; gap: 1rem; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user