Skip to content

[WD-PT-APRIL-25] Kostantinos kazoullis lab spotify #3562

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

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
83 changes: 77 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,84 @@
<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>
<header>
<div class="logo">
<img class="spotify-logo" src="/images/spotify-logo.png" alt="spotify-logo"/>
</div>
<nav class="menu">
<ul class="menu-list">
<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>
<!-- Hero Section-->
<section id="hero">
<div
class="hero-content">
<h1>Music for everyone.</h1>
<br> Spotify is now free on mobile, tablet and computer.<br />
Listen to the right music, wherever you are.</p>
</div>
</section>
<section id="features">
<h2>What’s on Spotify?</h2>
<hr />
<div class="features-content">
<div class="feature-item">
<img src="./images/music-icon.png" alt="music-logo"/>
<h3> Millions of Songs</h3>
<p>There are millions of songs on Spotify </p>
</div>
<div class="feature-item">
<img src="./images/high-quality-icon.png" alt="hq-icon"/>
<h3>HD Music</h3>
<p> Listen to music as if you were listening live </p>
</div>
<div class="feature-item">
<img src="./images/devices-icon.png" alt="device-icon" />
<h3> Stream Everywhere</h3>
<p>Stream music on your smartphone, tablet or computer</p>
</div>
</section>
<!-- green section -->
<section id="green-section">
<div class="green-container">
<div class="items-container">
<h2>It’s as yeezy as Kanye West.</h2>
<hr />
<div class="items">
<div class="item">
<h3>Search</h3>
<p>Know what you want to listen to?<br> Just search and hit play.</p>
</div>
<div class="item">
<h3>Browse</h3>
<p>Check out the latest charts,<br> brand new releases and great playlists<br> for right now.</p>
</div>
<div class="item">
<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>
</div>
<!--white icon wrapper-->
<div class="white-icon-wrapper">
<img class="white-icon" src="./images/spotify-icon-white.png" alt="spotify-icon-white">
</div>

<div class="image">
<img class="photo" src="./images/spotify-app.jpg" alt="spotify-app">
</div>
</div>
</section>
</main>
<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>
243 changes: 243 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,246 @@ Green: #00B172
White: #FFF

*/
/* font */

html {
box-sizing: border-box;
font-size: 16px;
color: #1a1a1a;
}

*,
*:before,
*:after {
box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
margin: 0;
padding: 0;
font-weight: lighter;
}

body {
font-family: "helvetica", sans-serif;
}

header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
background-color: #fff;
position: fixed;
top: 0;
width: 100%;
overflow: hidden;
}
.spotify-logo img {
width: 140px;
}

.menu-list {
display: flex;
justify-content: space-between;
gap: 20px;
list-style-type: none;
}
.spotify-logo {
width: 140px;
}
.navbar-ul {
display: flex;
justify-content: space-between;
gap: 20px;
text-decoration: none;
}
.menu-list li a {
text-decoration: none;
color: #1a1a1a;
}

/* Hero Section ID*/

#hero {
display: flex;
justify-content: center;
align-items: center;
height: 80vh;
background-image: url(/images/landing.jpg);
background-size: cover;
background-position: center;
}
.hero-content {
text-align: center;
color: white;
}
.hero-content h1 {
font-size: 3rem;
font-weight: 600;
margin-bottom: 20px;
}
.hero-content p {
font-size: 1rem;
font-weight: 50;
margin-bottom: 10px;
line-height: 20px;
}
/* Features ID*/
#features {
padding: 45px 0;
}

#features h2 {
text-align: center;
font-size: 1.5rem;
font-weight: 500;
margin-bottom: 10px;
}
#features hr {
width: 190px;
height: 3px;
background-color: #00b172;
border: none;
margin: 0 auto 20px auto;
}
.features-content {
display: flex;
justify-content: space-evenly;
align-items: center;
padding: 50px;
text-align: center;
flex-wrap: wrap;
gap: 20px;
margin: top 3rem;
}
.feature-item img {
width: 80px;
margin-bottom: 10px;
}
.feature-item h3 {
font-size: 1.2rem;
font-weight: 600;
color: #00b172;
margin-bottom: 10px;
}
.feature-item {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
max-width: 300px;
padding: 20px;
border-radius: 10px;
background-color: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.feature-item p {
font-size: 1rem;
font-weight: 50;
line-height: 25px;
}
/* last (green) section */

#green-section {
background-color: #00b172;
display: flex;
justify-content: space-between;
align-items: center;
padding: 5rem 3rem;
position: relative;
flex-wrap: wrap;
margin: 0 auto;
max-width: 1600px;
width: 100%;
}

.items-container {
flex: 1;
max-width: 30%;
display: flex;
flex-direction: column;
align-items: flex-start;
color: white;
}

.items-container h2 {
font-size: 1.8rem;
font-weight: 300;
margin-bottom: 1rem;
color: white;
}

.items-container hr {
border: 0.1rem solid #fff;
width: 80%;
margin-bottom: 2rem ;


}

.items {
display: flex;
flex-direction: column;
gap: 1rem;
}

.items h3 {
font-size: 1.2rem;
font-weight: 600;
color: white;
margin-bottom:35px;
}

.items p {
font-size: 1rem;
color: white;
line-height: 1.6;
font-weight: 300;
text-align: left;
margin-bottom: 15px;
}

/* white icon */
.white-icon-wrapper {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}

.white-icon {
width: 8rem;
height: 8rem;
position: absolute;
margin-right: 70px ;
}
/* kanye image */
.image {
display: flex;
justify-content: flex-end;
margin-right: 10px;
}
.photo {
max-width: 100%;
height: auto;
max-height: 600px;
}
.green-container {
max-width: 1400px;
margin: 0 auto;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
gap: 2rem;
flex-wrap: wrap;
}