Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WD-PT-SEPT24-ES-NURIACHUMILLAS #3480

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 76 additions & 14 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,80 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Spotify Clone</title>
<!-- don't forget to link your styles -->
</head>
<body>
Premium Discover Help Download Music for everyone. Spotify is now free on mobile, tablet and computer. Listen to the
right music, wherever you are. What’s on Spotify? Millions of Songs There are millions of songs on Spotify HD Music
Listen to music as if you were listening live Stream Everywhere Stream music on your smartphone, tablet or computer
It’s as yeezy as Kanye West. Search Know what you want to listen to? Just search and hit play. Browse Check out the
latest charts, brand new releases and great playlists for right now. Discover Enjoy new music every Monday with your
own personal playlist. Or sit back and enjoy Radio.
</body>
<link rel="stylesheet" href="styles/style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
</head>
<body>
<header class="header">
<div class="container">
<div class="logo">
<img src="images/spotify-logo.png" alt="Spotify Logo">
</div>
<nav class="header-nav">
<ul>
<li><a href="#">Premium</a></li>
<li><a href="#">Discover</a></li>
<li><a href="#">Help</a></li>
<li><a href="#">Download</a></li>
</ul>
</nav>
</div>
</header>

<section class="hero">
<div class="hero-text">
<h1>Music for everyone.</h1>
<p>Spotify is now free on mobile, tablet and computer. Listen to the right music, wherever you are.</p>
</div>
</section>

<section class="sectionFeature">
<div class="textFeatures">What's on Spotify?</div>
<div class="cardsFeatures">
<div class="feature">
<img src="images/music-icon.png" alt="Music Icon">
<h3>Millions of Songs</h3>
<p>There are millions of songs on Spotify</p>
</div>
<div class="feature">
<img src="images/high-quality-icon.png" alt="HD Music Icon">
<h3>HD Music</h3>
<p>Listen to music as if you were listening live</p>
</div>
<div class="feature">
<img src="images/devices-icon.png" alt="Stream Icon">
<h3>Stream Everywhere</h3>
<p>Stream music on your smartphone, tablet or computer</p>
</div>
</div>
</section>

<section class="content">
<div class="text-content">
<h2 class="tittle">It’s as yeezy as Kanye West.</h2>
<div class="text">
<h4>Search</h4>
<p>Know what you want to listen to? Just search and hit play.</p>
<h4>Browse</h4>
<p>Check out the latest charts, brand new releases and great playlists for right now.</p>
<h4>Discover</h4>
<p>Enjoy new music every Monday with your own personal playlist. Or sit back and enjoy Radio.</p>
</div>
</div>
<div class="logo-spotify">
<img src="images/spotify-icon-white.png" alt="Spotify Logo">
</div>

<div class="image-music">
<img src="images/spotify-app.jpg" alt="Spotify App">
</div>
</div>
</section>
</body>
</html>
219 changes: 213 additions & 6 deletions styles/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,215 @@
/*
Colors:

Text: 1A1A1A
Green: #00B172
White: #FFF
.poppins-light {
font-family: "Poppins", sans-serif;
font-weight: 300;
font-style: normal;
}

.poppins-regular {
font-family: "Poppins", sans-serif;
font-weight: 400;
font-style: normal;
}

*/
.poppins-bold {
font-family: "Poppins", sans-serif;
font-weight: 700;
font-style: normal;
}



.poppins-black {
font-family: "Poppins", sans-serif;
font-weight: 900;
font-style: normal;
}





/* Reseteo de estilos generales */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: poppins;
}

/* Estilo general del cuerpo */
body {
background-color: #FFF; /* Fondo blanco */
color: #1A1A1A; /* Color de texto */
font-size: 16px;
}

/* Estilos del encabezado y la barra de navegación */
.header {
background-color: #FFF; /* Fondo blanco */
position: fixed; /* Fijo en la parte superior */
width: 100%;
top: 0;
z-index: 1000;
border-bottom: 1px solid #e6e6e6; /* Borde inferior */
}

.container {
width: 80%;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0;
}

.logo img {
height: 40px;
}

.header-nav ul {
list-style: none;
display: flex;
gap: 30px; /* Espacio entre los enlaces */
}

.header-nav ul li a {
text-decoration: none;
color: #1A1A1A; /* Color de los enlaces */
font-weight: bold;
}

/* Estilo de la sección hero */
.hero {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
background: url('../images/landing.jpg') center/cover no-repeat; /* Imagen de fondo */
padding-top: 60px; /* Compensa el navbar fijo */
}

.hero-text {
max-width: 700px;
}

.hero-text h1 {
font-size: 50px;
margin-bottom: 20px;
color: #FFF; /* Texto blanco */

}

.hero-text p {
max-width: 600px;
font-size: 25px;
line-height: 1.5;
color: #FFF;
font-weight: 100;
}

/* Estilo de la sección de características */
.sectionFeature{
display: flex;
flex-direction: column;
align-items: center;
max-width: 100vw;
}
.textFeatures{
padding: 50px 0;
font-size: 25px;
font-weight: 600
}
.cardsFeatures{
display: flex;
align-items: center;
justify-content: space-around;
padding-bottom: 50px;
}
.feature{
display: flex;
flex-direction: column;
align-items: center;
justify-self: center;
width: 400px;
}
.cardsFeatures .feature img {
height: 90px;
margin-bottom: 20px;
}

.cardsFeatures .feature h3 {
font-size: 20px;
margin-bottom: 10px;
color: #00B172; /* Verde */
}

.cardsFeatures .feature p {
width: 200px;
font-size: 16px;
line-height: 1.4;
text-align: center;
font-weight: 200;
}

/* Estilo de la sección de contenido verde */
.content {
display: flex;
justify-content: space-between;
align-items: center;
padding: 50px 0;
background-color: #00B172;
color: #FFF;
position: relative;
margin-top: 20px;
max-width: 100vw;
padding: 60px;
}

.tittle{
font-size: 30px;
text-decoration: underline;
text-underline-offset: 10px
}
.text-content{
height: 50em;
padding: 2rem 0 0 0;
}

.text{
display: flex;
flex-direction: column;
justify-content: space-evenly;
height: 40em;
width: 33vw;
}
.text h4{
font-size: 28px;
font-weight: 900;

}
.text p{
font-size: 20px;
font-weight: 200;
line-height: 1.5;
margin-top: -80px;
}
.logo-spotify img{
height: 130px;
align-items: center;

}
.logo-spotify{
width: 33vw;
display: flex;
flex-direction: column;
align-items: center;
}

.image-music img{
height: 40em;
}
.image-music{
width: 33vw;
}