Template Músic
Template para projetos de músicas
Código
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Enepta</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<style>
body {
background-color: #121212;
color: white;
font-family: Arial, sans-serif;
}
/* Header and profile section */
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 15px;
background-color: #1c1c1c;
}
.profile {
display: flex;
align-items: center;
}
.profile-img {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
margin-right: 10px;
}
/* Search bar section */
.search-bar {
background-color: #333;
border-radius: 25px;
padding: 10px 15px;
display: flex;
align-items: center;
color: white;
margin: 15px;
}
.search-bar input {
background: none;
border: none;
outline: none;
color: white;
flex-grow: 1;
padding-left: 10px;
}
/* Category section */
.category-tabs {
display: flex;
justify-content: space-around;
margin: 10px 0;
background-color: #1c1c1c;
padding: 10px;
}
.category-tabs a {
color: white;
font-size: 14px;
text-decoration: none;
}
.category-tabs a.active {
font-weight: bold;
}
/* Popular & Trending section */
.popular-trending, .following-artist {
margin-top: 20px;
}
.popular-trending img, .following-artist img {
width: 100%;
height: 150px;
object-fit: cover;
border-radius: 10px;
}
.popular-trending h5, .following-artist h5 {
color: white;
font-size: 14px;
margin-top: 10px;
text-align: center;
}
/* Following artist section */
.following-artist img {
width: 60px;
height: 60px;
border-radius: 50%;
object-fit: cover;
}
/* Media player at the bottom */
.media-player {
position: fixed;
bottom: 0;
width: 100%;
background-color: #1c1c1c;
padding: 10px;
}
.media-player img {
width: 50px;
height: 50px;
object-fit: cover;
border-radius: 10px;
}
.media-info {
display: flex;
align-items: center;
}
.media-controls {
display: flex;
justify-content: flex-end;
align-items: center;
}
.media-controls i {
color: white;
font-size: 20px;
margin: 0 10px;
}
.scrollable-content {
padding-bottom: 120px; /* To make space for media player */
}
</style>
</head>
<body>
<!-- Header -->
<div class="header">
<div class="profile">
<img src="https://via.placeholder.com/40" alt="Profile" class="profile-img">
<span>HipHop</span>
</div>
<div class="options">
<i class="fas fa-bell"></i>
<i class="fas fa-cog ms-3"></i>
</div>
</div>
<!-- Main Content -->
<div class="scrollable-content">
<!-- Search Bar -->
<div class="search-bar">
<i class="fas fa-search"></i>
<input type="text" placeholder="Search">
</div>
<!-- Category Tabs -->
<div class="category-tabs">
<a href="https://enepta.com" class="active">All</a>
<a href="https://enepta.com">Music</a>
<a href="https://enepta.com">Podcast</a>
<a href="https://enepta.com">Artist</a>
<a href="https://enepta.com">Event</a>
</div>
<!-- Popular & Trending Section -->
<div class="container popular-trending">
<h5 class="text-center">Popular & Trending</h5>
<div class="row">
<div class="col-4">
<img src="https://via.placeholder.com/150" alt="Ariana Grande">
<h5>My Everything</h5>
</div>
<div class="col-4">
<img src="https://via.placeholder.com/150" alt="Dua Lipa">
<h5>Levitating</h5>
</div>
<div class="col-4">
<img src="https://via.placeholder.com/150" alt="Billie Eilish">
<h5>Bad Guy</h5>
</div>
</div>
</div>
<!-- Following Artist Section -->
<div class="container following-artist">
<h5 class="text-center">Following Artist</h5>
<div class="d-flex justify-content-around">
<div class="text-center">
<img src="https://via.placeholder.com/60" alt="Artist">
<h5>Lorem Ipsum</h5>
</div>
<div class="text-center">
<img src="https://via.placeholder.com/60" alt="Artist">
<h5>Lorem Ipsum</h5>
</div>
<div class="text-center">
<img src="https://via.placeholder.com/60" alt="Artist">
<h5>Lorem Ipsum</h5>
</div>
</div>
</div>
</div>
<!-- Media Player -->
<div class="media-player">
<div class="d-flex justify-content-between align-items-center">
<div class="media-info">
<img src="https://via.placeholder.com/50" alt="Currently Playing">
<div>
<h5>Meddle About</h5>
<p>Chase Atlantic</p>
</div>
</div>
<div class="media-controls">
<i class="fas fa-backward"></i>
<i class="fas fa-play"></i>
<i class="fas fa-forward"></i>
</div>
</div>
</div>
<!-- Bootstrap & FontAwesome Scripts -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/js/all.min.js"></script>
</body>
</html>