├── design ├── active-states.jpg ├── desktop-design.jpg ├── mobile-design.jpg └── desktop-preview.jpg ├── images ├── favicon-32x32.png ├── icon-email.svg ├── bg-footer-top-mobile.svg ├── icon-phone.svg ├── bg-footer-top-desktop.svg ├── bg-section-bottom-mobile-1.svg ├── bg-section-top-mobile-1.svg ├── bg-section-top-desktop-1.svg ├── bg-section-bottom-mobile-2.svg ├── bg-section-bottom-desktop-1.svg ├── bg-section-top-mobile-2.svg ├── bg-section-top-desktop-2.svg ├── bg-section-bottom-desktop-2.svg ├── icon-messages.svg ├── icon-communities.svg ├── screen-mockups.svg ├── logo.svg ├── illustration-grow-together.svg ├── illustration-your-users.svg └── illustration-flowing-conversation.svg ├── .gitignore ├── script.js ├── style-guide.md ├── LICENSE ├── README.md ├── index.html └── style.css /design/active-states.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-my-frontend-mini-projects/Huddle-curved-section-landing-page_frontend_project/HEAD/design/active-states.jpg -------------------------------------------------------------------------------- /design/desktop-design.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-my-frontend-mini-projects/Huddle-curved-section-landing-page_frontend_project/HEAD/design/desktop-design.jpg -------------------------------------------------------------------------------- /design/mobile-design.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-my-frontend-mini-projects/Huddle-curved-section-landing-page_frontend_project/HEAD/design/mobile-design.jpg -------------------------------------------------------------------------------- /images/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-my-frontend-mini-projects/Huddle-curved-section-landing-page_frontend_project/HEAD/images/favicon-32x32.png -------------------------------------------------------------------------------- /design/desktop-preview.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-my-frontend-mini-projects/Huddle-curved-section-landing-page_frontend_project/HEAD/design/desktop-preview.jpg -------------------------------------------------------------------------------- /images/icon-email.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/bg-footer-top-mobile.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/icon-phone.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/bg-footer-top-desktop.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/bg-section-bottom-mobile-1.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/bg-section-top-mobile-1.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/bg-section-top-desktop-1.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Avoid accidental Sketch file upload 2 | ############################################### 3 | ## Please do not remove line 5 - thanks! 🙂 ## 4 | ############################################### 5 | *.sketch 6 | 7 | # Avoid accidental XD or Figma upload if you convert the design file 8 | ####################################################### 9 | ## Please do not remove lines 11 and 12 - thanks! 🙂 ## 10 | ####################################################### 11 | *.xd 12 | *.fig 13 | 14 | # Avoid your project being littered with annoying .DS_Store files! 15 | .DS_Store 16 | -------------------------------------------------------------------------------- /images/bg-section-bottom-mobile-2.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/bg-section-bottom-desktop-1.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/bg-section-top-mobile-2.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/bg-section-top-desktop-2.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/bg-section-bottom-desktop-2.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /script.js: -------------------------------------------------------------------------------- 1 | const form = document.querySelector("#form") 2 | const mail = document.querySelector("#mail") 3 | const errorText = document.querySelector("#error") 4 | 5 | 6 | function validateEmail(email) { 7 | const re = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; 8 | return re.test(String(email).toLowerCase()); 9 | } 10 | 11 | form.addEventListener("submit", (e) => { 12 | let emailValue = mail.value 13 | if (validateEmail(emailValue)) { 14 | errorText.style.display = "none"; 15 | } 16 | else { 17 | errorText.style.display = "block"; 18 | mail.style.border = "1px solid hsl(0, 6%, 24%)" 19 | e.preventDefault(); 20 | } 21 | }) -------------------------------------------------------------------------------- /style-guide.md: -------------------------------------------------------------------------------- 1 | # Front-end Style Guide 2 | 3 | ## Layout 4 | 5 | The designs were created to the following widths: 6 | 7 | - Mobile: 375px 8 | - Desktop: 1440px 9 | 10 | ## Colors 11 | 12 | ### Primary 13 | 14 | - Pink: hsl(322, 100%, 66%) 15 | - Light Pink: hsl(321, 100%, 78%) 16 | - Light Red: hsl(0, 100%, 63%) 17 | 18 | ### Neutral 19 | 20 | - Very Dark Cyan: hsl(192, 100%, 9%) 21 | - Very Pale Blue: hsl(207, 100%, 98%) 22 | 23 | ## Typography 24 | 25 | ### Headings 26 | 27 | - Family: [Poppins](https://fonts.google.com/specimen/Poppins) 28 | - Weights: 700 29 | 30 | ### Body 31 | 32 | - Family: [Open Sans](https://fonts.google.com/specimen/Open+Sans) 33 | - Weights: 400, 600, 700 34 | 35 | ## Icons 36 | 37 | For the social icons, you can use a font icon library. Some suggestions can be found below: 38 | 39 | - [Font Awesome](https://fontawesome.com/) 40 | - [IcoMoon](https://icomoon.io/) 41 | - [Ionicons](https://ionicons.com/) -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | BSD 3-Clause License 2 | 3 | Copyright (c) 2024, Sarthak Sachdev 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions are met: 7 | 8 | 1. Redistributions of source code must retain the above copyright notice, this 9 | list of conditions and the following disclaimer. 10 | 11 | 2. Redistributions in binary form must reproduce the above copyright notice, 12 | this list of conditions and the following disclaimer in the documentation 13 | and/or other materials provided with the distribution. 14 | 15 | 3. Neither the name of the copyright holder nor the names of its 16 | contributors may be used to endorse or promote products derived from 17 | this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 20 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 22 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 23 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 25 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 26 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 27 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | -------------------------------------------------------------------------------- /images/icon-messages.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/icon-communities.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Huddle Landing Page with Curved Section 2 | 3 | ## Welcome! 👋 4 | 5 | ## Table of contents 6 | 7 | - [Overview](#overview) 8 | - [The challenge](#the-challenge) 9 | - [How to setup the project](#how-to-setup-the-project) 10 | - [Screenshot](#screenshot) 11 | - [Links](#links) 12 | - [My process](#my-process) 13 | - [Built with](#built-with) 14 | - [What I learned](#what-i-learned) 15 | - [Continued development](#continued-development) 16 | - [Useful resources](#useful-resources) 17 | - [Author](#author) 18 | - [Acknowledgments](#acknowledgments) 19 | 20 | ## Overview 21 | 22 | ### The challenge 23 | 24 | The challenge is to create the Huddle Landing Page with Curved Section, a landing page for the Huddle website with a unique curved section divider. 25 | 26 | Users should be able to 27 | - View the optimal layout for the site depending on their device's screen size 28 | - See hover states for all interactive elements on the page. 29 | 30 | ### How to setup the project 31 | 32 | To set up the project locally, follow these steps: 33 | 34 | 1. Clone the repository using GitHub Desktop or Git Bash: 35 | ```bash 36 | git clone https://github.com/SartHak-0-Sach/Huddle-curved-section-landing-page_frontend_project.git 37 | ``` 38 | 2. Open the project folder in your code editor. 39 | 3. Run the project using a live server extension or deploy it using Netlify, Vercel, or another web hosting and deployment service. 40 | 41 | ### Screenshot 42 | 43 | ![Design Preview](./design/active-states.jpg) 44 | 45 | ### Links 46 | 47 | - Solution URL: [GitHub Repository](https://github.com/SartHak-0-Sach/Huddle-curved-section-landing-page_frontend_project) 48 | - Live Site URL: [Live Site](https://huddle-curved-section-app.netlify.app/) 49 | 50 | ## My process 51 | 52 | ### Built with 53 | 54 | - HTML5 55 | - CSS3 56 | - Vanilla JavaScript 57 | 58 | You will find all the required assets in the `/images` folder. The assets are already optimized. 59 | 60 | There is also a `style-guide.md` file containing the information you'll need, such as color palette and fonts. 61 | 62 | ### What I learned 63 | 64 | Through this project, one gets to revise a lot of CSS and JS concepts, one of them can be input validation as shown below- 65 | 66 | ```js 67 | function validateEmail(email) { 68 | const re = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; 69 | return re.test(String(email).toLowerCase()); 70 | } 71 | 72 | form.addEventListener("submit", (e) => { 73 | let emailValue = mail.value 74 | if (validateEmail(emailValue)) { 75 | errorText.style.display = "none"; 76 | } 77 | else { 78 | errorText.style.display = "block"; 79 | mail.style.border = "1px solid hsl(0, 6%, 24%)" 80 | e.preventDefault(); 81 | } 82 | }) 83 | ``` 84 | 85 | ### Continued development 86 | 87 | The continuously learning journey of a programmer never ends. This project made me realize that there are many concepts that I need to work upon including fundamentals like flex-box and its properties, to more complex concepts like working with fetch and async await in javascript. These areas are some that I think I need to work more upon in the upcoming future as they highlight some of the most significant regions of web development that are important for every developer to know of. 88 | 89 | These key points mentioned here will help me grow accountable and consistent towards improving at writing good quality code and be a successful full stack developer one day. 90 | 91 | ### Useful resources 92 | 93 | - [Harkirat Singh course notes](https://github.com/SartHak-0-Sach/harkirat-singh-course_code_and_notes) - I have added notes of all lectures along with code and lecture insights of all weeks along with bonus lectures to help you all as much as I can. 94 | - [My development code and notes](https://github.com/SartHak-0-Sach/cwh-web-dev-playlist_code_and_notes) - These are my notes that I made while working on my development skills in initial days and did these courses. Make sure to star the repository if you like it.✨💫 95 | - [mdn documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function) - This is an amazing article which helped me finally understand promises, async and await syntax. I'd recommend it to anyone still learning this concept. 96 | 97 | ## Author 98 | 99 | Sarthak Sachdev 100 | - Website - [Sarthak Sachdev](https://itsmesarthak.netlify.app/) 101 | - LeetCode - [@sarthak_sachdev](https://leetcode.com/u/sarthak_sachdev/) 102 | - Twitter - [@sarthak_sach69](https://www.twitter.com/sarthak_sach69) 103 | 104 | ## Acknowledgments 105 | 106 | I feel like the solutions provided on the website and the continuous doubt solving by industry experts on discord for free is something that is unmatched by anyone else and need to be acknowledged for their efforts in improving me as a developer by suggesting the best practices in your respective tech stack. 107 | 108 | ## Got feedback for me? 109 | 110 | I love receiving feedback! I am always looking to improve my code and take up new innovative ideas to work upon. So if you have anything you'd like to mention, please email 'hi' at saarsaach30[at]gmail[dot]com. 111 | 112 | If you found this project helpful, consider sharing it with others to spread the knowledge! 113 | 114 | **Happy exploring Huddle!** 🚀🌈 -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Huddle- community building platform 10 | 15 | 16 | 17 | 18 | 22 | 23 |
24 |
25 |

Build The Community Your Fans Will Love

26 |

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

28 | 29 | screen-mockups 30 |
31 |
32 |
33 | icon-communities 34 |

1.4k+

35 |

Communities Formed

36 |
37 |
38 | icon-messages 39 |

2.7m+

40 |

Messages Sent

41 |
42 |
43 |
44 | 45 |
46 | 47 |
48 | bg-section-top-desktop-1 49 | bg-section-top-mobile-1 50 |
51 | illustration-grow-together 52 |
53 |

Grow Together

54 |

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

56 |
57 |
58 | bg-section-bottom-desktop-1 59 | bg-section-bottom-mobile-1 60 |
61 | 62 |
63 | illustration-flowing-conversation 64 |
65 |

Flowing Conversations

66 |

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

68 |
69 |
70 | 71 |
72 | bg-section-top-desktop-2 73 | bg-section-top-mobile-2 74 |
75 | illustration-your-users 76 |
77 |

Your Users

78 |

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

80 |
81 |
82 | bg-section-bottom-desktop-2 83 | bg-section-bottom-mobile-2 84 |
85 |
86 | 87 |
88 |

Ready To Build Your Community?

89 | 90 |
91 | 92 | 135 | 136 | 137 | 138 | 139 | -------------------------------------------------------------------------------- /images/screen-mockups.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/logo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | @import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Poppins:wght@700&display=swap"); 2 | 3 | * { 4 | padding: 0; 5 | margin: 0; 6 | box-sizing: border-box; 7 | } 8 | 9 | body { 10 | min-height: 100vh; 11 | font-size: 1.125rem; 12 | font-family: "Open Sans", sans-serif; 13 | color: hsl(192, 100%, 9%); 14 | } 15 | 16 | h1, 17 | h2, 18 | h3 { 19 | font-family: "Poppins", sans-serif; 20 | margin-bottom: 1.5rem; 21 | } 22 | 23 | nav { 24 | display: flex; 25 | justify-content: space-between; 26 | align-items: center; 27 | padding: 3rem 5rem; 28 | } 29 | 30 | nav button { 31 | padding: 0.5rem 3rem; 32 | color: hsl(322, 100%, 66%); 33 | border: 1px solid hsl(322, 100%, 66%); 34 | border-radius: 2rem; 35 | background: transparent; 36 | font-weight: 600; 37 | font-family: "Open Sans", sans-serif; 38 | cursor: pointer; 39 | } 40 | 41 | nav button:hover { 42 | color: hsl(321, 100%, 78%); 43 | border: 1px solid hsl(321, 100%, 78%); 44 | } 45 | 46 | header { 47 | max-width: 1100px; 48 | text-align: center; 49 | margin: 7rem auto; 50 | } 51 | 52 | .intro h1 { 53 | font-size: 2.85rem; 54 | } 55 | 56 | .intro p { 57 | max-width: 550px; 58 | margin: 0 auto 2rem auto; 59 | } 60 | 61 | .GSFF-btn { 62 | color: white; 63 | background: hsl(322, 100%, 66%); 64 | padding: 1.4rem 6rem; 65 | font-size: 1.1rem; 66 | font-weight: 600; 67 | border: none; 68 | border-radius: 2rem; 69 | box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.25); 70 | cursor: pointer; 71 | } 72 | 73 | .GSFF-btn:hover { 74 | background: hsl(321, 100%, 78%); 75 | } 76 | 77 | .intro img { 78 | margin: 5rem auto; 79 | width: 100%; 80 | height: 100%; 81 | } 82 | 83 | .count { 84 | margin: 0 5rem; 85 | display: flex; 86 | justify-content: space-between; 87 | } 88 | 89 | .count img { 90 | float: left; 91 | } 92 | 93 | .count h1 { 94 | font-size: 4.6rem; 95 | margin-bottom: 0.5rem; 96 | font-family: "Open Sans", sans-serif; 97 | } 98 | 99 | .count p { 100 | opacity: 0.6; 101 | } 102 | 103 | .column { 104 | margin: 5rem auto; 105 | } 106 | 107 | .pattern-top-desktop, 108 | .pattern-bottom-desktop { 109 | display: block; 110 | width: 100%; 111 | } 112 | 113 | .pattern-top-mobile, 114 | .pattern-bottom-mobile { 115 | display: none; 116 | } 117 | 118 | .column__text { 119 | display: grid; 120 | grid-template-columns: 1fr 1fr; 121 | gap: 6rem; 122 | align-items: center; 123 | padding: 5rem; 124 | } 125 | 126 | .first, 127 | .third { 128 | background: hsl(207, 100%, 98%); 129 | } 130 | 131 | .column__text img { 132 | max-width: 100%; 133 | max-height: 100%; 134 | } 135 | 136 | .first img, 137 | .third img { 138 | order: 2; 139 | } 140 | 141 | .first section, 142 | .third section { 143 | order: 1; 144 | } 145 | 146 | .column__text h2 { 147 | font-size: 2.5rem; 148 | } 149 | 150 | .community { 151 | display: flex; 152 | flex-direction: column; 153 | align-items: center; 154 | width: max-content; 155 | margin: 10rem auto; 156 | } 157 | 158 | .community h2 { 159 | font-size: 2rem; 160 | } 161 | 162 | .footer { 163 | padding: 5rem; 164 | background: hsl(192, 100%, 9%); 165 | color: white; 166 | display: flex; 167 | justify-content: space-between; 168 | } 169 | 170 | .about, 171 | .sign-in section { 172 | max-width: 420px; 173 | margin: 0 1rem; 174 | } 175 | 176 | #footer-logo { 177 | filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(125deg) brightness(103%) contrast(103%); 178 | margin-bottom: 1.5rem; 179 | } 180 | 181 | .phone, 182 | .email { 183 | display: flex; 184 | align-items: center; 185 | gap: 1rem; 186 | margin: 1rem auto; 187 | } 188 | 189 | .email a { 190 | color: white; 191 | text-decoration: none; 192 | } 193 | 194 | .email a:hover { 195 | color: rgb(52, 204, 250); 196 | text-decoration: underline; 197 | } 198 | 199 | .media-icons { 200 | display: flex; 201 | gap: 1.5rem; 202 | margin: 3rem 0 1rem 0; 203 | } 204 | 205 | .media-icons i { 206 | color: white; 207 | font-size: 2.5rem; 208 | } 209 | 210 | .media-icons i:hover { 211 | color: rgb(52, 204, 250); 212 | } 213 | 214 | .sign-in h3 { 215 | font-size: 1.8rem; 216 | font-family: "Open Sans", sans-serif; 217 | text-transform: uppercase; 218 | } 219 | 220 | .sign-in form { 221 | display: grid; 222 | grid-template-columns: minmax(auto, 400px) auto; 223 | gap: 2rem; 224 | margin-top: 1.5rem; 225 | margin-left: 1rem; 226 | } 227 | 228 | .infield input { 229 | width: 100%; 230 | height: 3rem; 231 | outline: none; 232 | border: none; 233 | border-radius: 0.3rem; 234 | padding-left: 1rem; 235 | } 236 | 237 | .infield #error { 238 | color: hsl(0, 100%, 63%); 239 | font-size: 0.8rem; 240 | margin: 0.5rem 0; 241 | display: none; 242 | } 243 | 244 | .sign-in form button { 245 | color: white; 246 | background: hsl(322, 100%, 66%); 247 | height: 3rem; 248 | outline: none; 249 | border: none; 250 | border-radius: 0.3rem; 251 | padding: 0.5rem 3rem; 252 | font-size: 1.1rem; 253 | cursor: pointer; 254 | } 255 | 256 | .sign-in form button:hover { 257 | background: hsl(321, 100%, 78%); 258 | } 259 | 260 | @media (max-width: 769px) { 261 | body { 262 | font-size: 1rem; 263 | } 264 | 265 | nav { 266 | padding: 3rem; 267 | } 268 | 269 | #nav-logo { 270 | max-width: 10rem; 271 | } 272 | 273 | nav button { 274 | padding: 0.4rem 1.2rem; 275 | } 276 | 277 | .intro h1 { 278 | font-size: 2rem; 279 | } 280 | 281 | .intro p { 282 | margin: 0 auto 2rem auto; 283 | } 284 | 285 | .GSFF-btn { 286 | padding: 1rem 3rem; 287 | } 288 | 289 | .intro img { 290 | padding: 0 3rem; 291 | } 292 | 293 | .count { 294 | flex-direction: column; 295 | gap: 5rem; 296 | } 297 | 298 | .count section { 299 | max-width: 250px; 300 | margin: 0 auto; 301 | } 302 | 303 | .column__text { 304 | grid-template-columns: 1fr; 305 | text-align: center; 306 | padding: 5rem 2rem; 307 | } 308 | 309 | .first img, 310 | .third img { 311 | order: 1; 312 | } 313 | 314 | .first section, 315 | .third section { 316 | order: 2; 317 | } 318 | 319 | .column__text h2 { 320 | font-size: 1.7rem; 321 | } 322 | 323 | .community h2 { 324 | font-size: 1.1rem; 325 | } 326 | 327 | .footer { 328 | flex-direction: column-reverse; 329 | gap: 5rem; 330 | padding: 5rem 3rem; 331 | } 332 | 333 | .about, 334 | .sign-in section { 335 | margin: 0; 336 | } 337 | 338 | #footer-logo { 339 | max-width: 15rem; 340 | margin-bottom: 2rem; 341 | } 342 | 343 | .phone, 344 | .email { 345 | margin: 1.5rem auto; 346 | } 347 | 348 | .media-icons a i { 349 | font-size: 2rem; 350 | } 351 | 352 | .sign-in form { 353 | display: grid; 354 | grid-template-columns: auto; 355 | justify-items: end; 356 | gap: 1rem; 357 | margin-top: 2rem; 358 | margin-left: 0; 359 | } 360 | 361 | .sign-in form .infield { 362 | width: 100%; 363 | } 364 | 365 | .infield input { 366 | width: 100%; 367 | } 368 | 369 | .infield #error { 370 | text-align: right; 371 | } 372 | 373 | .sign-in .sign-in form button { 374 | width: max-content; 375 | } 376 | } 377 | 378 | @media (max-width: 426px) { 379 | nav { 380 | padding: 3rem 2rem; 381 | } 382 | 383 | #nav-logo { 384 | max-width: 7rem; 385 | } 386 | 387 | .intro p { 388 | margin: 0 2rem 2rem 2rem; 389 | } 390 | 391 | .count { 392 | margin: 0 2rem; 393 | } 394 | 395 | .pattern-top-desktop, 396 | .pattern-bottom-desktop { 397 | display: none; 398 | } 399 | 400 | .pattern-top-mobile, 401 | .pattern-bottom-mobile { 402 | display: block; 403 | width: 100%; 404 | } 405 | 406 | #footer-logo { 407 | max-width: 12rem; 408 | } 409 | } -------------------------------------------------------------------------------- /images/illustration-grow-together.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/illustration-your-users.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/illustration-flowing-conversation.svg: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------