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-SEP24-ES] - Montse Macías #3499

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
Binary file added .DS_Store
Binary file not shown.
100 changes: 93 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,100 @@
<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 -->
<link rel="stylesheet" href="./styles/style.css" />
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap"
rel="stylesheet"
/>
</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.
<section>
<nav>
<img
class="logoSpotify"
src="images/spotify-logo.png"
alt="logoSpotify"
/>
<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 class="landing-section">
<h1>Music for everyone.</h1>
<p>Spotify is now free on mobile, tablet and computer.</p>
<p>Listen to the right music, wherever you are.</p>
</div>
</section>
<section class="onSpotify">
<h2>What’s on Spotify?</h2>
<div class="onSpotifyGrid">
<div class="itemsGrid">
<img
class="onSpotify-icons"
src="images/music-icon.png"
alt="music-icon"
/>
<h3>Millions of Songs</h3>
There are millions of songs on Spotify
</div>
<div class="itemsGrid">
<img
class="onSpotify-icons"
src="images/high-quality-icon.png"
alt="high-quality-icon"
/>
<h3>HD Music</h3>
Listen to music as if you were listening live
</div>
<div class="itemsGrid">
<img
class="onSpotify-icons"
src="images/devices-icon.png"
alt="devices-icon"
/>
<h3>Stream Everywhere</h3>
Stream music on your smartphone, tablet or computer
</div>
</div>
</section>
<section class="greenSection">
<h2>It’s as yeezy as Kanye West.</h2>
<div class="greenSection-content">


<div class="letra">
<h3>Search</h3>
<h4>Know what you want to listen to? Just search and hit play.</h4>
<h3>Browse</h3>
<h4>
Check out the latest charts, brand new releases and great playlists
for right now.
</h4>
<h3>Discover</h3>
<h4>
Enjoy new music every Monday with your own personal playlist. Or sit
back and enjoy Radio.
</h4>
</div>

<img
class="spotify-app"
src="images/spotify-app.jpg"
alt="spotify-app"
/>

</div>
<img
class="spotify-icon-white"
src="images/spotify-icon-white.png"
alt="spotify-icon-white"
/>


</div>
</section>
</body>
</html>
143 changes: 143 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,146 @@ Green: #00B172
White: #FFF

*/

.logoSpotify {
width: 230px;
}

body {
margin: 0;
font-family: "Montserrat", sans-serif;
}

nav {
display: flex;
justify-content: space-between;
padding: 20px 40px 20px 30px;
}

nav ul {
list-style: none;
display: flex;
justify-content: space-between;
align-items: center;
width: 33%;
}
nav a {
text-decoration: none;
color: #1a1a1a;
font-size: 20px;
font-family: "Montserrat", sans-serif;
}

.landing-section {
background-image: url("/images/landing.jpg");
background-size: cover;
background-position: center;
color: white;
display: flex;
height: 800px;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px; /* Añade espacio alrededor del contenido */
}
.landing-section p {
font-size: 25px; /* Tamaño de fuente adecuado para el texto descriptivo */
margin: 5px;
}

.landing-section h1 {
font-size: 80px;
font-weight: 500; /* Cambia el peso a 500 para un grosor intermedio */
margin: 10px;
}

.onSpotify {
display: grid;
align-items: center;
text-align: center;
margin: 30px 10px 50px 10px;
}

.onSpotifyGrid {
display: grid;
grid-template-columns: repeat(3, 1fr);
align-items: center;
justify-items: center;
margin: 0px 50px;
}

.onSpotify h3 {
color: #00b172;
}
.onSpotify h2 {
text-decoration: underline;
text-decoration-thickness: 4px;
text-underline-offset: 10px;
text-decoration-color: #00b172;
font-size: 35px;
}

.onSpotify-icons {
width: 130px;
}

.itemsGrid {
padding: 40px;
font-size: 25px;
}

.greenSection {
position: relative;
background-color: #00b172;
margin: 40px;
padding: 60px;
color: white;
}

.greenSection h2 {
text-decoration: underline;
text-decoration-thickness: 4px;
text-underline-offset: 10px;
text-decoration-color: white;
font-size: 35px;
color: white;
font-weight: 500;
margin: 0;
line-height: 3;
}

.greenSection h3 {
font-size: 20px;
margin: 5px 0px;
}

.greenSection h4 {
font-size: 17px; /* Hacer las descripciones más pequeñas */
line-height: 2;
font-weight: 500;
}

.greenSection-content {
display: flex;
justify-content: space-between;
align-items: center;
}

.letra {
width: 287px;
display: grid;
}

.greenSection .spotify-icon-white {
width: 100px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
}

.spotify-app {
width: 350px;
height: 520px;
}