Ironhack logo

CSS | Slack Clone with Flexbox

Introduction

You should be reaaaaally familiar with Slack at this point, but just to make it more clear, Slack is a cloud-based set of team collaboration tools and services or in simpler terms, it is a chatting program.

We use the app almost every day to keep our communications with our classmates and the Ironhack team, so we know perfectly the chat interface but today we are going to clone their landing page. Here you can visit the website and check what are we going to do. 😜

We want to practice our new Flexbox skill, so we are going to implement the "responsiveness" of the landing page. No worries, we will show you what we need!

Requirements

  • Fork this repo
  • Clone this repo into your ~/code/labs
  • Include both the client and server applications in your submission.

Submission

  • Upon completion, run the following commands
git add .
git commit -m "done"
git push origin master

Exercise

The starter_code contains the basic structure of an HTML & CSS project to start working. You will also find and images folder where all the images you will need for the project are stored.

In the HTML you find all the text needed! Focus on give it some style!

Iteration 1 | Extra Small Screen (width < 768px)

Mobile first right? 😉

Firs, we are going to clone the mobile design of the webpage! 📱 Oh! Remember to use flexbox, because it will be really helpful later on when we need to adapt it to different screen-size!

After doing your magic, you should have something like this:

mobile-1

mobile-1

mobile-1

mobile-1

mobile-1

mobile-1

mobile-1

Iteration 2 | Small Screen (961px > width > 767px)

Let's start growing our screen size. Focus on small screens (iPads, tablets or bigger smartphones). Notice we have some changes. You need to work on the following ones:

  1. The buttons and inputs stop occupying 100%.

  2. Now we have 2 companies logos on each row.

  3. The subfooter goes from 2 columns, to display all the 4 columns in the same row.

  4. The footer goes from 3 different rows of content to a simple row displaying some info at the left and some to the right.

small-1

small-1

small-1

small-1

small-1

Iteration 3 | Medium Screen (1024px > width > 960px)

The easiest change we will have. You should display 3 logos per row on the "You're in good company" section. Easy peasy!

medium-1

Iteration 4 | Large Screen (width > 1200px)

Last one! Some small changes and we are done!

  1. Our nav-bar starts to show all the menu links, so go ahead, remove the collapse icon and add the list.

  2. On the top of the webpage, the image is displayed in line with the "Where work happens" text. If you are using flex-box (you must 😉 ), this should be super easy!

medium-1

medium-1

medium-1

medium-1