Skip to content
Open

Done #99

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 starter_code/images/facebook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added starter_code/images/menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added starter_code/images/twiter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added starter_code/images/youtube.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
207 changes: 189 additions & 18 deletions starter_code/index.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,191 @@
<!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" />

<!-- link the font awesome CDN -->
<link href="https://use.fontawesome.com/releases/v5.0.1/css/all.css" rel="stylesheet"/>

<!-- link your styles -->
<link rel="stylesheet" href="./stylesheets/style.css" />
<title>Where work happens | Slack</title>
</head>

<body>


</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" />

<!-- link the font awesome CDN -->
<link href="https://use.fontawesome.com/releases/v5.0.1/css/all.css" rel="stylesheet" />

<!-- link your styles -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" />

<!-- link your styles -->
<link rel="stylesheet" href="./stylesheets/style.css" />

<title>Where work happens | Slack</title>
</head>

<body>
<div class="container">
<header class="nav-bar">
<img src="./images/slack-logo.png" alt="slack-logo" class="slack-logo">
<img class="d-lg-none d-block navicon" src="./images/menu.png" alt="">
<nav class="d-none d-lg-block">
<ul>
<li><a href=" #"></a>Why Slack?</li>
<li><a href="#"></a>Pricing</li>
<li><a href="#"></a>About Us</li>
<li><a href="#"></a>Your Workspace</li>
</ul>
</nav>
</header>
</div>

<section class="hero">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-6 order-lg-2 ">
<article class="description">
<div class="col-lg">
<h1>Where work happens</h1>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Debitis corporis perspiciatis cupiditate!
Totam
laudantium tempora facere consectetur! </p>
</div>

<div class="col-lg">
<article class="forms">
<div class="row ">

<div class="col-lg-6 d-xl-none">
<p class="email">E-mail</p>
</div>
<div class="col-lg-6">
<a class="get-started" href="#">Get started</a>
</div>
<p class="login">Already using Slack? <a href="#">Sing in</a></p>

</div>
</article>
</div>
</article>
</div>
<div class="col-lg-6 order-lg-1 ">
<img src="./images/home_talking.png" alt="home_talking">
</div>


</div>
</div>
</section>

<section class="first-cta">
<div class="container">
<h2>You are in a good company</h2>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit.</p>
<div class="row">
<div class="col justify-content-center button-col">
<p><a class="button">Discover why</a></p>
</div>
</div>

</div>

</section>

<section class="logos">
<div class="row ">
<div class="col-md-6 col-xl-4 "><img src="./images/airbnb-logo.png" alt="airbnb-logo"></div>
<div class="col-md-6 col-xl-4"><img src="./images/capital-one-logo.png" alt="capital-one-logo"></div>
<div class="col-md-6 col-xl-4 d-flex justify-content-center"><img class="d-md-none d-xl-block"
src="./images/harvard-logo.png" alt="harvard-logo"></div>
<div class="col-md-6 col-xl-4 d-flex justify-content-center"><img class="d-md-none d-xl-block"
src="./images/los-angeles-times-logo.png" alt="los-angeles-times-logo"></div>
<div class="col-md-6 col-xl-4"><img src="./images/ticketmaster-logo.png" alt="ticketmaster-logo"></div>
<div class="col-md-6 col-xl-4"><img src="./images/oracle-logo.png" alt="oracle-logo"></div>
</div>
</section>

<section class="second-cta">
<div class="container">
<div class="row align-items-center">
<div class="col-md-6">
<article class="cta-section">
<h5>Try it for free</h5>
<p>Already using Slack?</p>
<a href="#">Sign in</a>
</article>
</div>
<div class="col-md-3">
<p class="email">E-mail</p>
</div>
<div class="col-md-3">
<p><a class="get-started" href="#">Get started</a></p>
</div>
</div>
</div>
</section>

<section class="site-map">
<div class="row">
<div class="col-sm-4"><img src="./images/Slack.ico" alt="slack-logo"></div>
<div class="col-sm-8">
<div class="row">
<div class="col-6 col-sm-6 col-md-3">
<h5>Company</h5>
<p><a href="#">About us</a></p>
<p><a href="#">Careers</a></p>
<p><a href="#">Blog</a></p>
<p><a href="#">Press</a></p>
<p><a href="#">Brand Guidelines</a></p>
</div>
<div class="col-6 col-sm-6 col-md-3">
<h5>Product</h5>
<p><a href="#">Why Slack?</a></p>
<p><a href="#">Enterprise</a></p>
<p><a href="#" #>Customer Stories</a></p>
<p><a href="#">Pricing</a></p>
<p><a href="#">Security</a></p>
</div>
<div class="col-6 col-sm-6 col-md-3">
<h5>Resources</h5>
<p><a href="#">Downloads</a></p>
<p><a href="#">Help Center</a></p>
<p><a href="#">Guides</a></p>
<p><a href="#">Partners</a></p>
<p><a href="#">Events</a></p>
<p><a href="#">App Directory</a></p>
<p><a href="#">API</a></p>
</div>
<div class="col-6 col-sm-6 col-md-3">
<h5>Extra</h5>
<p><a href="#">Podcast</a></p>
<p><a href="#">Slack Shop</a></p>
<p><a href="#">Slack at work</a></p>
<p><a href="#">Slack Fund</a></p>
</div>
</div>
</div>
</div>
</section>

<footer class="footer-nav">
<div class="row align-items-center">
<div class="col-md-6">
<ul>
<li><a href="#">Status</a></li>
<li><a href="#">Privacy & Terms</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
<div class="col-md-3">
<section class="language">
<img class="flag" src="./images/us-flag.png" alt="EN">
<p>English</p>
</section>
</div>
<div class="col-md-3 ">
<figure class="rss-icons">
<img class="icon" src="./images/twiter.png" alt="twiter">
<img class="icon" src="./images/facebook.png" alt="facebook">
<img class="icon" src="./images/youtube.png" alt="youtube">
</figure>
</div>
</div>
</footer>
</body>

</html>
182 changes: 182 additions & 0 deletions starter_code/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,185 @@ main-titles dark-grey: #2C303F;
paragraph grey: #5b5e6d;
nav grey: #5b5e6d;
*/

img {
width: 100%
}


/*Navigation menue styles*/
.nav-bar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
border-bottom: #5b5e6d 1px solid;
margin-bottom: 30px;
}

.nav-bar .slack-logo {
width: 20%;
}

.nav-bar .navicon {
width: 40px;
}

.nav-bar ul {
list-style: none;
display: flex;
}

.nav-bar li {
padding: 0 10px;
}

/*First section styles*/
.description,
.first-cta h2,
.first-cta p {
margin: 20px auto
}

h1,
h2 {
font-family: serif;
font-weight: 700;

}

h1 {
line-height: 0.8em;
margin: 30px 0;
font-size: 3.8em;
}

.email {
border: solid 1px #d0d1d5;
border-radius: 5px;
padding: 10px;
color: #5b5e6d;
}

.first-cta,
.login {
text-align: center;
margin-bottom: 30px;
}

.get-started,
.button {
text-transform: uppercase;
text-decoration: none;
text-align: center;
font-weight: 600;
padding: 10px;
border-radius: 5px;

}

.get-started {
background-color: #192592;
color: white;
display: block;
margin-bottom: 15px;
}

.button {
color: #192592;
border: solid 2px #192592;
}

/*Logos section*/

.logos,
.footer-nav {
background-color: #F4F3F4;
text-align: center;
}

.logos img {
width: 70%;
padding: 50px;
}

.second-cta {
padding: 30px;
border-bottom: 1px solid #8d8e90;
align-items: center;
text-align: center;


}

.cta-section {
margin-bottom: 20px;
;
}

.cta-section p {
display: inline;

}

.site-map {
margin: 30px;
}

.site-map a {
text-decoration: none;
color: #5b5e6d
}

.site-map img {
width: 30%;
margin-bottom: 20px;
}


/*Footer navigation panel*/

.footer-nav ul,
.language,
.rss-icons {
list-style: none;
display: flex;
justify-content: center;
padding: 10px;
}

.footer-nav a,
.language {
margin: 0 20px;
text-decoration: none;
font-weight: bold;
color: #5b5e6d
}

.flag,
.icon {
width: 40px;
margin: 0 10px;
}

.rss-icons img {
width: 30px;
opacity: 0.5;
}

@media screen and (min-width: 575px) {
.second-cta {
text-align: left
}

h1 {
font-size: 4.2em;
}

}

@media screen and (min-width: 770px) {
.login {
text-align: left;
}
}