181 lines
5.9 KiB
Plaintext
181 lines
5.9 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Great Scott Music</title>
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
|
|
<style>
|
|
body {
|
|
background-color: black;
|
|
color: white;
|
|
font-family: 'Metal Mania', sans-serif;
|
|
}
|
|
|
|
.card {
|
|
background-color: #222;
|
|
border: 1px solid #444;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: #ff5500;
|
|
border-color: #ff5500;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #ff3300;
|
|
}
|
|
|
|
/* Navbar Styling */
|
|
.navbar {
|
|
background-color: #1e1e1e;
|
|
padding: 1rem 2rem;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
|
|
border-bottom: 2px solid #ff5500;
|
|
}
|
|
|
|
.navbar-brand {
|
|
color: #ff5500 !important;
|
|
font-size: 1.8rem;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.navbar-brand:hover {
|
|
color: #ff3300 !important;
|
|
}
|
|
|
|
.navbar-nav .nav-item {
|
|
margin: 0 1rem;
|
|
}
|
|
|
|
.nav-link {
|
|
color: white !important;
|
|
font-size: 1.2rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
padding: 0.5rem 1rem !important;
|
|
border-radius: 5px;
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: #ff5500 !important;
|
|
background-color: rgba(255, 85, 0, 0.1);
|
|
}
|
|
|
|
.nav-link::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 0;
|
|
height: 2px;
|
|
bottom: 0;
|
|
left: 50%;
|
|
background-color: #ff5500;
|
|
transition: all 0.3s ease;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.nav-link:hover::after {
|
|
width: 80%;
|
|
}
|
|
|
|
.navbar-toggler {
|
|
border-color: #ff5500;
|
|
}
|
|
|
|
.navbar-toggler-icon {
|
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ff5500' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
|
|
}
|
|
|
|
/* Custom slim dark mode scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: #1e1e1e;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background-color: #4a4a4a;
|
|
border-radius: 10px;
|
|
border: 2px solid #1e1e1e;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background-color: #555555;
|
|
}
|
|
|
|
* {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #4a4a4a #1e1e1e;
|
|
}
|
|
|
|
/* Fix for section titles being hidden under navbar */
|
|
section {
|
|
padding-top: 90px; /* Adjust this value based on navbar height */
|
|
margin-top: -90px; /* Negative margin to offset the padding */
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<nav class="navbar navbar-expand-lg navbar-dark fixed-top">
|
|
<a class="navbar-brand" href="https://raven-scott.fyi">Raven Scott Music</a>
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navbarNav">
|
|
<ul class="navbar-nav ml-auto">
|
|
<% for (const genre in genreTracks) { %>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="#<%= genre %>">
|
|
<%= genre.charAt(0).toUpperCase() + genre.slice(1) %>
|
|
</a>
|
|
</li>
|
|
<% } %>
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="container mt-5 pt-5">
|
|
<% for (const genre in genreTracks) { %>
|
|
<section id="<%= genre %>">
|
|
<h2 class="text-center mb-4">
|
|
<%= genre.charAt(0).toUpperCase() + genre.slice(1) %> Tracks
|
|
</h2>
|
|
<div class="row">
|
|
<% genreTracks[genre].forEach(track => { %>
|
|
<div class="col-md-6 mb-4">
|
|
<div class="card text-center">
|
|
<div class="card-body">
|
|
<h5 class="card-title">
|
|
<%= track.title %>
|
|
</h5>
|
|
<p class="card-text"></p>
|
|
<iframe width="100%" height="166" scrolling="no" frameborder="no" allow="autoplay"
|
|
src="https://w.soundcloud.com/player/?url=<%= track.url %>&color=%23ff5500&auto_play=false&show_artwork=true"
|
|
loading="lazy">
|
|
</iframe>
|
|
<a href="/<%= genre %>/track/<%= track.slug %>" class="btn btn-primary mt-3">More Details</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<% }) %>
|
|
</div>
|
|
</section>
|
|
<% } %>
|
|
</div>
|
|
|
|
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.4/dist/umd/popper.min.js"></script>
|
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
|
|
</body>
|
|
|
|
</html> |