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

Vicente Duch - 30/09/24 - Spotify clone #3485

Open
wants to merge 1 commit 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
75 changes: 68 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,74 @@
<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">

</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>
<section>
<header>
<img src="/images/spotify-logo.png" alt="gig image">
<nav class="nav-bar">
<ul class="nav-bar-ul">
<li>Premium</li>
<li>Discover</li>
<li>Help</li>
<li>Download</li>
</ul>
</nav>
</header>
</section>

<section id="hero-section">
<div class="hero-image-text">
<h1>Music for everyone.</h1>
<h3>Spotify is now free on mobile, tablet and computer.
<br>Listen to the right music, wherever you are.</h3>
</div>
</section>
<section id="spotify-content">
<h2>What’s on Spotify? </h2>
<hr>
<div class="article-container">
<article class="logo-box">
<img src="images/music-icon.png" alt="speaker">
<h3>Millions of Songs</h3>
<p>There are millions of songs on Spotify</p>
</article>
<article class ="logo-box">
<img src="images/high-quality-icon.png" alt="music waves">
<h3>HD Music</h3>
<p>Listen to music as if you were listening live </p>
</article>
<article class ="logo-box">
<img src="images/devices-icon.png" alt="devices icon">
<h3>Stream Everywhere</h3>
<p>Stream music on your smartphone, tablet or computer </p>
</article>
</div>
</section>
<section id="musicplayer">
<article class="mplayer-container">
<div class="mplayer-text">
<h2>It’s as yeezy as Kanye West.</h2>
<hr>
<h3>Search</h3>
<p>Know what you want to listen to?
<br>
Just search and hit play.</p>
<h3>Browse </h3>
<p>Check out the latest charts,
<br> brand new releases and great
<br> playlists for right now.</p>
<h3>Discover</h3>
<p> Enjoy new music every Monday
<br>with your own personal playlist.
<br>Or sit back and enjoy Radio.</p>
</div>
<div class="mplayer-image">
<img src="/images/spotify-app.jpg" alt="music player">
</div>
</article>
</section>
</body>
</html>
180 changes: 180 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,183 @@ Green: #00B172
White: #FFF

*/


header {
display: flex;
justify-content: space-between;
align-items: center;
position: fixed;
z-index: 1;
background-color: white;
width: 100%;
padding-left: 10px;

}

header img{
width: 190px;
padding-top: 10px;
padding-bottom: 10px;

}

body {
margin: 0;
font-family:Arial, Helvetica, sans-serif
}

h1 {
font-size: 60px;
color:white;
text-align: center;
margin-top: 0;
}


.nav-bar {
width: 30%;
}


.nav-bar-ul {
margin: 0 auto;
justify-content: space-between;
display: flex;
list-style: none;
font-size: 24px;
padding-right: 32px;
}


#hero-section {
position: relative;
background: url('/images/landing.jpg') no-repeat center center;
background-size: cover;
background-repeat: no-repeat;
height: 824px;
display: flex;
align-items: center;
justify-content: center;
}

#hero-section h3 {
color:white;
text-align: center;
font-weight:400;
}


.heading {
text-align: center;
font-size: 24px;
}

#spotify-content hr {
color: #00B172;
background-color: #00B172;
height: 1px;
border-style: solid;
width:300px;
margin-top: 5px;
}

.article-container {
display: flex;
justify-content: space-around;
margin-top: 50px;
margin-bottom: 50px;
width: 100%;
display: flex;
justify-items: center;
align-items: center;
text-align: center;

}

#spotify-content h2{
text-align: center;
margin-bottom: 0;
font-size: 34px;
}

#spotify-content h3{
color:#00B172;
text-align: center;
font-size: 28px;
}

#spotify-content p{
font-size: 20px;
}


#spotify-content img{
width: 150px;
height: 125px;

}

.logo-box{
height: 300px;
width: 350px;
}


.mplayer-container {
background-image: url('/images/spotify-icon-white.png');
background-size: 100px;
background-repeat: no-repeat;
background-color:#00B172;
background-position: center;
display: flex;
justify-content: space-between;
margin-left: 50px;
margin-right: 50px;
}

.mplayer-container h2{
color:white;
font-size: 34px;
margin-bottom: 10px;
}

.mplayer-container h3{
color:white;
font-size:28px;
}

.mplayer-container p{
font-size: 20px;
color: white;
}

#musicplayer img{
width: 50%;

}

#musicplayer hr{
color: white;
background-color: white;
height: 1px;
border-style: solid;
width:390px;
margin-top: 0px;
margin-left: 5px;
}

.mplayer-text {
margin: 50px 50px 50px 100px;
width: 50%;
text-align:left

}

.mplayer-image {

display: flex;
align-items: center;
justify-content: center;
margin-top: 30px;
}