Skip to content
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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
105 changes: 89 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,91 @@
<!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>
</html>

<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>
<link rel="stylesheet" href="/styles/style.css">
</head>

<body>
<header>
<div class="header-container container-alinhamento">
<img src="/images/spotify-logo.png" alt="logo spotify clone" class="logo">
<nav class="menu-principal">
<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>
<main>
<section class="hero-section">
<div class="hero-content container-alinhamento">
<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="main-container container-alinhamento">
<h2>What’s on Spotify? </h2>

<div class="cards-spotify">
<div class="card-item">
<img src="/images/music-icon.png" alt="icone caixas de som">
<h4>Millions of Songs</h4>
<p>There are millions of songs on Spotify HD Music</p>
</div>


<div class="card-item">
<img src="/images/high-quality-icon.png" alt="icone high quality">
<h4>HD Music</h4>
Listen to music as if you were listening live
</div>

<div class="card-item">
<img src="/images/devices-icon.png" alt="icone devices">
<h4>Stream Everywhere</h4>
<p>Stream music on your smartphone, tablet or computer</p>
</div>
</div>

<section class="kanye-section">
<div class="kanye-content container-alinhamento">

<div class="kanye-text">
<h2>It’s as yeezy as Kanye West.</h2>

<div class="feature-item">
<h3>Search</h3>
<p>Know what you want to listen to? Just search and hit play.</p>
</div>

<div class="feature-item">
<h3>Browse</h3>
<p>Check out the latest charts, brand new releases and great playlists for right now.</p>
</div>

<div class="feature-item">
<h3>Discover</h3>
<p>Enjoy new music every Monday with your own personal playlist. Or sit back and enjoy Radio.</p>
</div>

</div>

<div class="kanye-image">
<img src="/images/spotify-app.jpg" alt="Spotify app no celular" class="phone-mockup">
</div>

</div>
</section>
</section>
</main>
</body>

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

*/
body {
background-color: black;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
color: #333;
}

.container-alinhamento {
max-width: 960px;
margin: 0 auto;
padding-left: 30px;
padding-right: 30px;
background-color: transparent;
}

header {
background-color: white;
max-width: 960px;
padding-top: 5px;
padding-bottom: 5px;
margin: 0 auto;
}

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

.music-icon {
display: flex;
justify-content: space-between;
align-items: center;
background-image: url(/images/music-icon.png);

}

.hero-section {
background-color: black;
color: white;
text-align: center;
background-image: url('/images/landing.jpg');
background-size: cover;
background-position: center bottom;
background-repeat: no-repeat;
max-width: 960px;
padding-top: 150px;
padding-bottom: 150px;
margin: 0 auto;
}

.hero-content {
padding: 0;
margin: 0 auto;
/* text-align: center;*/
}


.main-container {
max-width: 960px;
margin: 0 auto;
background-color: white;
text-align: center;
padding-top: 50px;
padding-bottom: 50px;


}
.main-container h2 {
text-align: center;
margin-bottom: 30px;

}

.main-container section {
padding-left: 30px;
padding-right: 30px;
}

.cards-spotify {
display: flex;
justify-content: space-between;
align-items: stretch;
text-align: center;
margin-top: 30px;
margin-bottom: 50px;
}

.card-item {
width: 30%;
padding: 20px 10px;
border: 1px solid #ffde00;
border-radius: 5px;
}

.card-item img {
width: 70px;
height: auto;
margin-bottom: 10px;
}

.card-item h4 {
color: #1ed760;
font-size: 16px;
margin-top: 0;
}

.second-paragraph {
padding-top: 20px;
}


.logo {
width: 120px;
height: auto;
}

.menu-principal ul {
display: flex;
list-style: none;
margin: 0;
padding: 0;
}

.menu-principal li {
margin-left: 20px;
}

.menu-principal li a {
text-decoration: none;
color: #333;
font-family: Arial, sans-serif;
font-size: 14px;
padding: 5px 0;
}
.kanye-section {
background-color: #1ED760;
padding-top: 80px;
padding-bottom: 80px;
}

.kanye-content {

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

.kanye-text {
flex-basis: 60%;
color: white;
padding-right: 30px;
}

.kanye-text h2 {
font-size: 36px;
margin-bottom: 40px;
}

.kanye-image {
flex-basis: 40%;
text-align: center;
}

.kanye-image .phone-mockup {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}


.feature-item h3 {
font-size: 24px;
margin-bottom: 5px;
}

.feature-item p {
font-size: 16px;
margin-bottom: 20px;
}