Refactor code structure and remove redundant changes
This commit is contained in:
@@ -0,0 +1,219 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Echo Bloom - New Album Release</title>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<style>
|
||||
:root {
|
||||
--primary-color: #A0522D; /* Sienna/Earth Tone */
|
||||
--secondary-color: #F5F5DC; /* Beige/Cream */
|
||||
--dark-bg: #1e293b; /* Slate-800 */
|
||||
}
|
||||
body {
|
||||
background-color: #f9fafb;
|
||||
color: #1f2937;
|
||||
font-family: 'Inter', sans-serif;
|
||||
}
|
||||
.btn-primary {
|
||||
background-color: var(--primary-color);
|
||||
transition: background-color 0.3s, transform 0.2s;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.btn-primary:hover {
|
||||
background-color: #8B4513; /* SaddleBrown */
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
.gradient-text {
|
||||
background-image: linear-gradient(45deg, #FFD700, #FFA500);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; transform: translateY(20px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
.animate-fadeIn {
|
||||
animation: fadeIn 1s ease-out forwards;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="app" class="min-h-screen antialiased">
|
||||
|
||||
<!-- Navigation -->
|
||||
<header class="sticky top-0 z-50 bg-white shadow-lg border-b border-gray-100">
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div class="flex justify-between items-center h-16">
|
||||
<div class="text-2xl font-extrabold tracking-widest uppercase text-stone-800">
|
||||
Echo Bloom
|
||||
</div>
|
||||
<nav class="space-x-6 hidden sm:block">
|
||||
<a href="#music" class="text-gray-600 hover:text-amber-700 transition duration-150 font-medium">Music</a>
|
||||
<a href="#tour" class="text-gray-600 hover:text-amber-700 transition duration-150 font-medium">Tour</a>
|
||||
<a href="#stream" class="text-gray-600 hover:text-amber-700 transition duration-150 font-medium">Listen</a>
|
||||
</nav>
|
||||
<button class="sm:hidden text-gray-600 hover:text-amber-700 focus:outline-none focus:ring-2 focus:ring-amber-500 p-1 rounded-md">
|
||||
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path></svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
|
||||
<!-- Hero Section -->
|
||||
<section id="music" class="relative h-[70vh] bg-gray-900 flex items-center justify-center overflow-hidden">
|
||||
|
||||
<!-- Background Image Container -->
|
||||
<div class="absolute inset-0">
|
||||
<img src="https://images.pexels.com/photos/3889419/pexels-photo-3889419.jpeg?auto=compress&cs=tinysci&w=1260&h=750"
|
||||
alt="A soft, warm landscape representing natural growth and musical resonance"
|
||||
class="w-full h-full object-cover opacity-60 transition duration-1000"
|
||||
id="hero-bg">
|
||||
</div>
|
||||
|
||||
<!-- Overlay -->
|
||||
<div class="absolute inset-0 bg-black/50 backdrop-blur-sm"></div>
|
||||
|
||||
<!-- Content -->
|
||||
<div class="relative z-10 text-center p-6 max-w-4xl animate-fadeIn" style="animation-delay: 0.1s;">
|
||||
<p class="text-xl sm:text-2xl font-light text-amber-300 mb-3 tracking-widest uppercase">New Release</p>
|
||||
<h1 class="text-6xl sm:text-8xl font-serif font-bold mb-4 leading-tight text-white">
|
||||
Echo Bloom
|
||||
</h1>
|
||||
<h2 class="text-3xl sm:text-5xl font-light text-amber-200 mb-8">
|
||||
"Riverstone Sessions" - Available Now
|
||||
</h2>
|
||||
|
||||
<div class="flex justify-center space-x-4">
|
||||
<a href="#listen" class="btn-primary text-white text-lg px-10 py-4 rounded-full uppercase tracking-widest focus:outline-none focus:ring-4 focus:ring-amber-300 shadow-lg transition duration-300">
|
||||
Listen on Spotify
|
||||
</a>
|
||||
<a href="#listen" class="btn-primary bg-gray-700 hover:bg-gray-600 text-white text-lg px-10 py-4 rounded-full uppercase tracking-widest focus:outline-none focus:ring-4 focus:ring-gray-500 shadow-lg transition duration-300">
|
||||
Pre-Order Vinyl
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Attribution -->
|
||||
<p class="mt-6 text-sm text-amber-300/70">
|
||||
Photo by Pexels on Pexels.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Music & Album Info Section -->
|
||||
<section id="music" class="py-16 sm:py-24 bg-white">
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div class="text-center mb-12 animate-fadeIn" style="animation-delay: 0.3s;">
|
||||
<h3 class="text-sm uppercase tracking-widest text-amber-600 mb-2">The New Offering</h3>
|
||||
<h2 class="text-5xl font-bold text-stone-900">
|
||||
The Sound of Quiet Growth
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<div class="grid grid-cols-1 lg:grid-cols-2 gap-12 items-start">
|
||||
|
||||
<!-- Album Artwork & Details Column -->
|
||||
<div class="lg:sticky lg:top-20">
|
||||
<div class="bg-gray-50 p-6 rounded-xl shadow-2xl border-t-8 border-amber-700 transition duration-300 hover:shadow-amber-300/50">
|
||||
<div class="w-full aspect-square bg-cover bg-center rounded-lg mb-6"
|
||||
style="background-image: url('https://images.pexels.com/photos/3889419/pexels-photo-3889419.jpeg?auto=compress&cs=tinysci&w=800&h=800');">
|
||||
</div>
|
||||
|
||||
<h4 class="text-3xl font-serif font-extrabold text-center text-stone-800 mb-2">Riverstone Sessions</h4>
|
||||
<p class="text-center text-lg text-gray-500 mb-6">Echo Bloom</p>
|
||||
|
||||
<div class="space-y-3">
|
||||
<p class="font-semibold text-stone-700 flex justify-between border-b pb-1">
|
||||
<span class="text-gray-500">Release Date:</span>
|
||||
<span class="font-medium text-amber-700">May 15, 2024</span>
|
||||
</p>
|
||||
<p class="font-semibold text-stone-700 flex justify-between border-b pb-1">
|
||||
<span class="text-gray-500">Genre:</span>
|
||||
<span class="font-medium text-amber-700">Ambient Folk / Indie Pop</span>
|
||||
</p>
|
||||
<p class="font-semibold text-stone-700 flex justify-between border-b pb-1">
|
||||
<span class="text-gray-500">Duration:</span>
|
||||
<span class="font-medium text-amber-700">45 min</span>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="mt-8 pt-6 border-t border-gray-200">
|
||||
<a href="#listen" class="btn-primary w-full block text-center text-white py-3 rounded-lg uppercase font-bold text-lg focus:outline-none focus:ring-4 focus:ring-amber-500">
|
||||
Stream Full Album
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Tracklist Column -->
|
||||
<div class="p-4 sm:p-0 animate-fadeIn" style="animation-delay: 0.5s;">
|
||||
<h3 class="text-3xl font-bold text-stone-900 mb-6 border-b pb-2 border-amber-200">Tracklist</h3>
|
||||
<div class="space-y-4">
|
||||
|
||||
<!-- Track Item 1 -->
|
||||
<div class="flex items-center p-3 border-b border-gray-100 hover:bg-amber-50 transition duration-150 rounded-md focus-within:ring-2 focus-within:ring-amber-300">
|
||||
<span class="text-xl text-amber-700 mr-4">01</span>
|
||||
<div>
|
||||
<p class="font-semibold text-lg text-stone-800">Morning Dew</p>
|
||||
<p class="text-sm text-gray-500">3:12</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Track Item 2 -->
|
||||
<div class="flex items-center p-3 border-b border-gray-100 hover:bg-amber-50 transition duration-150 rounded-md focus-within:ring-2 focus-within:ring-amber-300">
|
||||
<span class="text-xl text-amber-700 mr-4">02</span>
|
||||
<div>
|
||||
<p class="font-semibold text-lg text-stone-800">Stone Path Wanderer</p>
|
||||
<p class="text-sm text-gray-500">4:05</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Track Item 3 -->
|
||||
<div class="flex items-center p-3 border-b border-gray-100 hover:bg-amber-50 transition duration-150 rounded-md focus-within:ring-2 focus-within:ring-amber-300">
|
||||
<span class="text-xl text-amber-700 mr-4">03</span>
|
||||
<div>
|
||||
<p class="font-semibold text-lg text-stone-800">Harvest Moon Drift</p>
|
||||
<p class="text-sm text-gray-500">3:58</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Track Item 4 -->
|
||||
<div class="flex items-center p-3 border-b border-gray-100 hover:bg-amber-50 transition duration-150 rounded-md focus-within:ring-2 focus-within:ring-amber-300">
|
||||
<span class="text-xl text-amber-700 mr-4">04</span>
|
||||
<div>
|
||||
<p class="font-semibold text-lg text-stone-800">The Still Point</p>
|
||||
<p class="text-sm text-gray-500">5:10</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="mt-8 text-center">
|
||||
<a href="#" class="text-amber-700 hover:text-amber-900 font-medium text-lg px-6 py-3 rounded-full border border-amber-700 hover:bg-amber-50 transition duration-300">
|
||||
View All Tracks
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Tour/Experience Section -->
|
||||
<section id="tour" class="py-20 sm:py-28 bg-stone-50">
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div class="text-center mb-12 animate-fadeIn" style="animation-delay: 0.7s;">
|
||||
<h3 class="text-sm uppercase tracking-widest text-amber-600 mb-2">Experience Live</h3>
|
||||
<h2 class="text-4xl sm:text-5xl font-bold text-stone-900">
|
||||
Echo Bloom Live Tour
|
||||
</h2>
|
||||
<p class="mt-4 text-xl text-gray-600">Witness the music that defined the season, live in intimate settings.</p>
|
||||
</div>
|
||||
|
||||
<div class="grid md:grid-cols-3 gap-8 text-center">
|
||||
|
||||
<!-- Tour Card 1 -->
|
||||
<div class="p-8 bg-white rounded-xl shadow-lg hover:shadow-xl transform hover:-translate-y-1 transition duration-300 border-t-4 border-amber-500">
|
||||
<svg class="w-16 h-16 mx-auto mb-4 text-amber-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-3.414 0l-4.243-4.243a8 8 0 1111.314 0z"></path><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z"></path></svg><div style="position:fixed;right:12px;bottom:12px;z-index:2147483647;background:rgba(17,24,39,.92);color:#fff;padding:8px 10px;border-radius:10px;font:12px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;box-shadow:0 8px 20px rgba(0,0,0,.28)">Generated in 28.59s</div>
|
||||
Reference in New Issue
Block a user