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]- Ignacio Monzón Acosta - lab-css-spotify-clone #3478

Open
wants to merge 3 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
124 changes: 109 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,112 @@
<!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" />
<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>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Spotify Landing Page</title>
<link rel="stylesheet" href="styles/style.css">
</head>

<body>

<header>

<nav>

<img src="images/spotify-logo.png" alt="Spotify logo" id="logo">

<ul id="linksCabecera">

<li>Premium</li>
<li>Discover</li>
<li>Help</li>
<li>Download</li>

</ul>

</nav>

</header>


<section id="parteCentral">

<div>

<h1>Music for everyone.</h1>

<p>Spotify is now free on mobile, tablet, and computer.<br>Listen to the right music, wherever you are.</p>

</div>
</section>


<section id="ofertas">

<h2>What’s on Spotify?</h2>

<div id="ofertas-cajas">

<div class="oferta">

<img src="images/music-icon.png" alt="Millions of Songs">

<h3>Millions of Songs</h3>

<p>There are millions of songs on Spotify</p>

</div>

<div class="oferta">

<img src="images/high-quality-icon.png" alt="HD Music">

<h3>HD Music</h3>

<p>Listen to music as if you were listening live</p>

</div>

<div class="oferta">

<img src="images/devices-icon.png" alt="Stream Everywhere">

<h3>Stream Everywhere</h3>

<p>Stream music on your smartphone, tablet, or computer</p>
</div>
</div>
</section>


<section id="final">

<div id="textoFinal">

<h2>It’s as yeezy as Kanye West.</h2>

<p><strong>Search:</strong> Know what you want to listen to?<br>Just search and hit play.</p>

<p><strong>Browse:</strong> Check out the latest charts, new releases and playlists.</p>

<p><strong>Discover:</strong> Enjoy new music every Monday with your own personal playlists.</p>

</div>

<div>

<img src="images/spotify-icon-white.png" alt="Spotify icon in white" id="imagenCentral">

</div>

<div id="spotify-player">

<img src="images/spotify-app.jpg" alt="Kanye West Player">

</div>

</section>

</body>
</html>

165 changes: 159 additions & 6 deletions styles/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,161 @@
/*
Colors:
/* General */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

Text: 1A1A1A
Green: #00B172
White: #FFF
body {
font-family: Arial, sans-serif;
color: #333;
}

*/
a {
text-decoration: none;
color: #333;
}

/* CABECERA */

header {
background-color: #fff;
padding: 20px;
position: fixed;
width: 100%;
top: 0;
left: 0;
z-index: 100;
display: flex;
justify-content: space-between;
align-items: center;
}

#logo {
width: 100px;
}

#linksCabecera {
display: flex;
justify-content: flex-end;
}

#linksCabecera li {
list-style: none;
margin-left: 20px;
}

#linksCabecera a {
font-size: 16px;
font-weight: bold;
color: #333;
}
/* FIN DE LA CABECERA */

/* PARTE CENTRAL*/

#parteCentral {
height: 100vh;
background: url('../images/landing.jpg') no-repeat center center/cover;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
color: white;
margin-top: 80px;
}

#parteCentral h1 {
font-size: 4rem;
margin-bottom: 20px;
}

#parteCentral p {
font-size: 1.5rem;
}

h3 {

color: #31a65a;

}

/*FIN PARTE CENTRAL*/

/* OFERTAS */

#ofertas {
padding: 60px 20px;
text-align: center;
background-color: #f8f8f8;
}

#ofertas h2 {
font-size: 2.5rem;
margin-bottom: 40px;
}

#ofertas-cajas {
display: flex;
justify-content: space-around;
max-width: 1200px;
margin: 0 auto;
}

.oferta {
width: 30%;
text-align: center;
}

.oferta img {
width: 60px;
margin-bottom: 20px;
}

.oferta h3 {
font-size: 1.5rem;
margin-bottom: 10px;
}


/* FIN DE LA PARTE DE OFERTAS */


/* FINAL */

#final {
background-color: #31a65a;
color: white;
padding: 50px 20px;
display: flex;
justify-content: space-between;
align-items: center;
}

#textoFinal {
width: 50%;
font-size: 1.2rem;
line-height: 1.5;
}

#textoFinal h2 {

text-decoration: underline;

}

#imagenCentral {
width: 100px;

}


#spotify-player {
width: 300px;
}

#spotify-player img {
width: 100%;
}


/* FINAL DE LA PARTE FINAL*/