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
204 changes: 136 additions & 68 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,70 +1,138 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device -->

<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">

<title>Frontend Mentor | Huddle landing page with alternating feature blocks</title>

<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
</style>
</head>
<body>

Try It Free

Build The Community Your Fans Will Love

Huddle re-imagines the way we build communities. You have a voice, but so does your audience.
Create connections with your users as you engage in genuine discussion.

Get Started For Free

Grow Together

Generate meaningful discussions with your audience and build a strong, loyal community.
Think of the insightful conversations you miss out on with a feedback form.

Flowing Conversations

You wouldn't paginate a conversation in real life, so why do it online? Our threads
have just-in-time loading for a more natural flow.

Your Users

It takes no time at all to integrate Huddle with your app's authentication solution.
This means, once signed in to your app, your users can start chatting immediately.

Ready To Build Your Community?

Get Started For Free

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua

+1-543-123-4567
example@huddle.com

About Us
What We Do
FAQ

Career
Blog
Contact Us

&copy; Copyright 2018 Huddle. All rights reserved.

<footer>
<p class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">Your Name Here</a>.
</p>
</footer>
</body>
</html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- displays site properly based on user's device -->

<link rel="stylesheet" href="style.css" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./images/favicon-32x32.png"
/>
<link
href="https://fonts.googleapis.com/css?family=Poppins&display=swap"
rel="stylesheet"
/>

<title>
Frontend Mentor | Huddle landing page with alternating feature blocks
</title>

<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
.attribution {
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
</style>
</head>
<body>
<header>
<div class="flex-container-huddle-icon">
<img src="./images/logo.svg" style="height:1.7em" />
<button class="tryButton">Try it free</button>
</div>

<div class="flex-container-header-row">
<div class="flex-header-item">
<p class="bigTextStyle">
Build The Community Your Fans Will Love
</p>
<p class="textStyle">
Huddle re-imagines the way we build communities. You have a voice,
but so does your audience. Create connections with your users as you
engage in genuine discussion. Get Started For Free
</p>

<div style="text-align: center; margin: 3em">
<button class="getStartedButton">
Get Started For Free
</button>
</div>
</div>

<div class="flex-header-item">
<img class="mockup" src="./images/illustration-mockups.svg" />
</div>
</div>
</header>

<!-- GROW TOGETHER -->
<div class="flex-container-content-row">
<div class="flex-content-item">
<p class="bigTextStyleContent">
Build The Community Your Fans Will Love
</p>
<p class="textStyleContent">
Huddle re-imagines the way we build communities. You have a voice, but
so does your audience. Create connections with your users as you
engage in genuine discussion. Get Started For Free
</p>
</div>

<div class="flex-content-item">
<img
class="contentImage"
src="./images/illustration-grow-together.svg"
/>
</div>
</div>

<!-- FLOW CONVERSATIONS -->

<div class="flex-container-content-row">
<div class="flex-content-item">
<img
class="contentImage"
src="./images/illustration-flowing-conversation.svg"
/>
</div>
<div class="flex-content-item">
<p class="bigTextStyleContent">
Build The Community Your Fans Will Love
</p>
<p class="textStyleContent">
Huddle re-imagines the way we build communities. You have a voice, but
so does your audience. Create connections with your users as you
engage in genuine discussion. Get Started For Free
</p>
</div>
</div>

<!-- YOUR USERS -->
<div class="flex-container-content-row">
<div class="flex-content-item">
<p class="bigTextStyleContent">
Build The Community Your Fans Will Love
</p>
<p class="textStyleContent">
Huddle re-imagines the way we build communities. You have a voice, but
so does your audience. Create connections with your users as you
engage in genuine discussion. Get Started For Free
</p>
</div>

<div class="flex-content-item">
<img
class="contentImage"
src="./images/illustration-grow-together.svg"
/>
</div>
</div>

<footer>
<p class="attribution">
Challenge by
<a href="https://www.frontendmentor.io?ref=challenge" target="_blank"
>Frontend Mentor</a
>. Coded by <a href="#">Your Name Here</a>.
</p>
</footer>
</body>
</html>
170 changes: 170 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
/* header {
background-image: url(./images/bg-hero-desktop.svg);
background-color: aliceblue;
max-width: 1440em;
height: 300em;
margin: auto;
margin-top: 0px;
}
*/

* {
margin: 0;
padding: 0;
}
header {
background-image: url(./images/bg-hero-desktop.svg);
background-color: aliceblue;
height: 100vh;
margin: auto;
margin-top: 0px;
}

.container {
justify-content: space-around;
}

/* Small screens */
@media all and (max-width: 500px) {
.navigation {
/* On small screens, we are no longer using row direction but column */
flex-direction: column;
}
}

.flex-container-huddle-icon {
/* We first create a flex layout context */
display: flex;

/* Then we define the flow direction
and if we allow the items to wrap
* Remember this is the same as:
* flex-direction: row;
* flex-wrap: wrap;
*/
flex-flow: row wrap;

/* Then we define how is distributed the remaining space */
justify-content: space-between;
padding: 1em;
align-items: center;
}

.flex-container-header-row {
/* We first create a flex layout context */
display: flex;

/* Then we define the flow direction
and if we allow the items to wrap
* Remember this is the same as:
* flex-direction: row;
* flex-wrap: wrap;
*/
flex-flow: row wrap;
flex-wrap: wrap;
justify-content: space-around;
align-items: center;
height: 90vh;
}

/*
.flex-container {
padding: 0;
margin: 0;
list-style: none;

display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;

-webkit-flex-flow: row wrap;
justify-content: space-around;
} */

.flex-header-item {
max-width: 700px;

align-items: center;
}

.mockup {
width: 80%;
margin: 0 10% 0 10%;
}

.bigTextStyle {
font-size: 1.4em;
margin: 10% 10% 5% 10%;
text-align: center;
font-family: 'Poppins', sans-serif;
font-weight: bold;
}

.textStyle {
margin: 0 10% 0% 10%;
text-align: center;
font-family: 'Poppins', sans-serif;
}

.tryButton {
display: inline-block;
cursor: pointer;
text-align: center;
border-radius: 50px;
padding: 5px 20px 5px 20px;
box-shadow: 0 1px 1px #999;
background-color: white;
}

.getStartedButton {
display: inline-block;
font-weight: bold;
cursor: pointer;
text-align: center;
border-radius: 50px;
color: white;
padding: 10px 15% 10px 15%;
box-shadow: 0 1px 1px #999;
background-color: rgba(249, 95, 204);
}

/* --------------CONTENT------------- */

.flex-container-content-row {
display: flex;
flex-flow: row wrap;
flex-wrap: wrap;
justify-content: space-between;

align-items: center;
border: 1px solid grey;
border-radius: 50px;
margin: 5% 5% 2% 5%;
min-height: 35vh;
}

.flex-content-item {
max-width: 700px;
align-items: center;
}

.contentImage {
width: 40%;
margin: 5% 10% 5% 10%;
}

.bigTextStyleContent {
margin: 5% 10% 0% 10%;
font-size: 1.2em;
text-align: left;
font-family: 'Poppins', sans-serif;
font-weight: bold;
}

.textStyleContent {
margin: 0 10% 5% 10%;
text-align: left;
font-family: 'Poppins', sans-serif;
}