Skip to content
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

layout miami - bose version #2587

Open
wants to merge 47 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 42 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
af870d5
initial commit
arturgorniak Sep 15, 2023
2a1d091
html header skeleton
arturgorniak Sep 15, 2023
73790d4
basic styles for header
arturgorniak Sep 15, 2023
1f7f8f0
export icons
arturgorniak Sep 15, 2023
1dc8ac5
grid mixin and header styles
arturgorniak Sep 15, 2023
f95f544
header styles done
arturgorniak Sep 15, 2023
49be0d7
basic html and styles for main section
arturgorniak Sep 15, 2023
a2c1858
add two more section items
arturgorniak Sep 15, 2023
c1af9a7
spacing for section and small cleaning in htmlcode
arturgorniak Sep 15, 2023
219f02d
export images and categories section
arturgorniak Sep 15, 2023
5c83236
categories button styles
arturgorniak Sep 16, 2023
1a4fa0d
noname section and contact us section inputs
arturgorniak Sep 16, 2023
b92b5c8
button and form skeleton
arturgorniak Sep 16, 2023
7dc6faa
send button and buttons, inputs styles
arturgorniak Sep 16, 2023
bbd06e6
contact us section adress field
arturgorniak Sep 16, 2023
43cf804
html for navigation
arturgorniak Sep 16, 2023
500bb5c
styles for menu
arturgorniak Sep 16, 2023
9c3cf2d
working links in menu
arturgorniak Sep 16, 2023
ffe3d82
mixin for tablet and header for tablet
arturgorniak Sep 17, 2023
d84b792
tablet styles for recomended section
arturgorniak Sep 17, 2023
f0b0fca
section categories styles for tablet
arturgorniak Sep 17, 2023
7e9c3c4
section about us tablet styles
arturgorniak Sep 17, 2023
5fd68ae
section contact us styles for tablet
arturgorniak Sep 17, 2023
7284a28
manu styles for tablet
arturgorniak Sep 17, 2023
0a201df
hover states for burger and phone icons
arturgorniak Sep 17, 2023
06516ff
recommended section pictures for desktop
arturgorniak Sep 17, 2023
55c111d
section recommended for desktop done
arturgorniak Sep 17, 2023
cccb7e3
categories pictures and aboutus picture fordesktop
arturgorniak Sep 26, 2023
0f8e158
about us picture for desktop - update
arturgorniak Sep 26, 2023
99911f3
make section separate folder
arturgorniak Sep 26, 2023
8f77e80
contact us section for desktop
arturgorniak Sep 26, 2023
c5a8e2b
small improvements in grip for contact us section
arturgorniak Sep 26, 2023
aa4958e
menu styles for desktop and cursor update
arturgorniak Sep 26, 2023
69e1e34
favicon added
arturgorniak Sep 26, 2023
c72070f
make phone number and adress in contact us work
arturgorniak Sep 26, 2023
ce46d7f
improve button and input hovers
arturgorniak Sep 26, 2023
e8b4006
readme update
arturgorniak Sep 26, 2023
68dca90
requested mismatches with layout fixed
arturgorniak Oct 2, 2023
8562e31
fix inputs background color
arturgorniak Oct 2, 2023
ce28d9b
add background color to aboutus section
arturgorniak Oct 2, 2023
5a3c1d9
fix button text color and disable textarea scaling
arturgorniak Oct 2, 2023
c67b1b6
add hover effect on links and pictures,titlechange
arturgorniak Oct 2, 2023
b5bfbbc
requiredininputs,hoversin contactus,aboutuspicture
arturgorniak Oct 16, 2023
726f9f2
fix about us section and make email work
arturgorniak Oct 21, 2023
db22c18
fix inconsistences with layout
arturgorniak Oct 22, 2023
9adfb24
text area placeholder, attempt to disable scroling
arturgorniak Oct 28, 2023
ec71c8d
atempt to disable sroling while menu is open
arturgorniak Oct 28, 2023
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ node_modules
backstop_data
dist
.cache
styles.css
styles.css.map
2 changes: 2 additions & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/backstop_data/
/dist
reset.scss

26 changes: 11 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
# Miami landing page

In this task, you will learn how to implement a landing page. To do that:

- choose a landing page design from the list below;
- [BOSE landing](https://www.figma.com/file/DtkQmQ797hk0nI4KfMi2Uq/BOSE-New-Version?type=design&node-id=6703-88&t=L7eKz5YKLN0m5WxR-0)
- [MET landing](https://www.figma.com/file/lSR1m42L9YwzQwzzxKwHpw/THE-MET)
- [MYBIKE landing](https://www.figma.com/file/NZQAIydtHo5QkINyGLHNcq/BIKE-New-Version?node-id=0%3A1)
- [B&O](https://www.figma.com/file/DtkQmQ797hk0nI4KfMi2Uq/BOSE-New-Version?type=design&node-id=6817-212&t=ZTV6Gl8NzaWkJ4FK-0)
- [Nothing](https://www.figma.com/file/DtkQmQ797hk0nI4KfMi2Uq/BOSE-New-Version?type=design&node-id=6802-139&t=L7eKz5YKLN0m5WxR-0)
- watch the lesson videos and implement your page blocks similarly to the videos;
- **DON'T** try to do it `Pixel Perfect` - implement it the most `simple` way so it looks similar;
- when you finish the first block of your page deploy it and create a Pull Request with a [DEMO LINK](https://<your_account>.github.io/layout_miami/)
- after each next block do the same (add, commit and push the changes, and deploy the updated demo;
- check yourself using the [CHECKLIST](https://github.com/mate-academy/layout_miami/blob/master/checklist.md) when finished;
DESCRIPTION
First site made by me from start during the process of learning as Mate Academy part time student.
Entire layout was created by following layout deployed on FIGMA.
Site is online here:
[DEMO LINK](https://arturgorniak.github.io/layout_miami/)
Technologies used:
- HTML
- CSS
- SCSS
Link to layout on FIGMA:
(https://www.figma.com/file/DtkQmQ797hk0nI4KfMi2Uq/BOSE-New-Version?type=design&node-id=6817-387&mode=design&t=pF8KFKX2hn8bzmrs-0)
Binary file removed src/fonts/Roboto-Regular-webfont.woff
Binary file not shown.
3 changes: 0 additions & 3 deletions src/images/cross.svg

This file was deleted.

3 changes: 0 additions & 3 deletions src/images/crown.svg

This file was deleted.

Binary file removed src/images/favicon.png
Binary file not shown.
Binary file removed src/images/logo.png
Binary file not shown.
3 changes: 0 additions & 3 deletions src/images/menu.svg

This file was deleted.

3 changes: 0 additions & 3 deletions src/images/menu_hover.svg

This file was deleted.

3 changes: 0 additions & 3 deletions src/images/phone.svg

This file was deleted.

Binary file removed src/images/photos/1.jpg
Binary file not shown.
Binary file removed src/images/photos/2.jpg
Binary file not shown.
Binary file removed src/images/photos/3.jpg
Binary file not shown.
Binary file removed src/images/photos/4.jpg
Binary file not shown.
Binary file removed src/images/photos/5.jpg
Binary file not shown.
Binary file removed src/images/photos/6.jpg
Binary file not shown.
298 changes: 295 additions & 3 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,303 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Miami</title>
<link rel="stylesheet" href="./styles/main.scss">
<title>Bang & Olufsen</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&display=swap" rel="stylesheet">
<link rel="icon" href="./pictures/favicon.png">
<link rel="stylesheet" href="./styles/index.scss">
<script src="scripts/main.js" defer></script>
</head>

<body>
<h1>Miami</h1>
<header class="header">
<div class="nav header__nav">
<a class="nav__link" href="#">
<img
class="nav__item logo"
src="../src/pictures/Logo.svg"
alt="logo"
>
</a>
<div class="nav__links links">
<a class="nav__link phone" href="tel:+1 234 555-55-55">
<span class="phone__label">+1 234 555-55-55</span>
<img
class="nav__item phone"
src="../src/pictures/Icon-Phone-call.svg"
alt="phone"
>
</a>
<a class="nav__link burger" href="#menu">
<span class="burger__label">Open menu</span>
</a>
</div>
</div>
<h1 class="header__title">
Your senses.
<br>
Set free.
</h1>
</header>

<nav class="menu" id="menu">
<div class="menu__header">
<a class="menu__link menu__link--logo" href="#">
<img
class="menu__icon logo"
src="../src/pictures/Logo.svg"
alt="logo"
>
</a>
<a class="menu__link menu__link--close" href="#">
<img
class="menu__icon close"
src="../src/pictures/Icon-Close.svg"
alt="menu"
>
</a>
</div>
<div class="menu__item">
<a class="menu__link" href="#recommended">
<h3 class="menu__title">Recommended</h3>
</a>
<a class="menu__link" href="#categories">
<h3 class="menu__title">Categories</h3>
</a>
<a class="menu__link" href="#aboutus">
<h3 class="menu__title">About Us</h3>
</a>
<a class="menu__link" href="#contactus">
<h3 class="menu__title">Contact Us</h3>
</a>
</div>
<div class="menu__item">
<p class="menu__paragraph">
+1 234 5555-55-55
</p>
<p class="menu__paragraph menu__paragraph--decorated">
call to order
</p>
</div>
</nav>

<main class="main">
<section class="section" id="recommended">
<h2 class="section__title">Recommended</h2>
<div class="section__item section__item--recommended">
<img
class="section__picture section__picture--recommended"
src="../src/pictures/recommended1.jpg"
alt="speaker"
>
<article class="section__article section__article--recommended">
<p class="section__paragraph section__paragraph--bold">
BEOSOUND A5
</p>
<p class="section__paragraph">
Huge sound anywhere – in the home or outdoors.
Beosound A5 is a Wi-Fi and Bluetooth speaker with
long-lasting battery and wireless charging built in.
</p>
<p class="section__paragraph section__paragraph--bold">
$ 1299.00
</p>
</article>
</div>
<div class="section__item section__item--recommended">
<img
class="section__picture section__picture--recommended"
src="../src/pictures/recommended2.jpg"
alt="headphones"
>
<article class="section__article section__article--recommended">
<p class="section__paragraph section__paragraph--bold">
BEOPLAY HX
</p>
<p class="section__paragraph">
Wireless noise-cancelling headphones.
Listen in comfort whether you're on a call,
working from home or taking a moment for yourself.
</p>
<p class="section__paragraph section__paragraph--bold">
$ 499.00
</p>
</article>
</div>
<div class="section__item section__item--recommended">
<img
class="section__picture section__picture--recommended"
src="../src/pictures/recommended3.jpg"
alt="soundbar"
>
<article class="section__article section__article--recommended">
<p class="section__paragraph section__paragraph--bold">
BEOSOUND THEATRE
</p>
<p class="section__paragraph">
Four patent-pending acoustic innovations in one sleek soundbar
envelop you in sound from every angle.
Made to fit any TV, and last for generations.
</p>
<p class="section__paragraph section__paragraph--bold">
$ 3199.00
</p>
</article>
</div>
</section>

<section class="section" id="categories">
<h2 class="section__title">
Sound. Vision.
<br>
It’s your pick.
</h2>
<div class="section__item section__item--categories">
<div class="pictures">
<img
class="section__picture section__picture--categories"
src="../src/pictures/categories1.jpg"
alt="speaker"
>
<img
class="section__picture section__picture--categories"
src="../src/pictures/categories2.jpg"
alt="speaker"
>
</div>
<p class="section__paragraph section__paragraph--categories section__paragraph--bold">
Portable speakers
</p>
</div>
<div class="section__item section__item--categories">
<div class="pictures">
<img
class="section__picture section__picture--categories"
src="../src/pictures/categories3.jpg"
alt="earphones"
>
<img
class="section__picture section__picture--categories"
src="../src/pictures/categories4.jpg"
alt="earphones"
>
</div>
<p class="section__paragraph section__paragraph--categories section__paragraph--bold">
Earphones
</p>
</div>
<div class="section__item section__item--categories">
<div class="pictures">
<img
class="section__picture section__picture--categories"
src="../src/pictures/categories5.jpg"
alt="gadgets"
>
<img
class="section__picture section__picture--categories"
src="../src/pictures/categories6.jpg"
alt="gadgets"
>
</div>
<p class="section__paragraph section__paragraph--categories section__paragraph--bold">
Smart home
</p>
</div>
<button class="button">View all</button>
</section>

<section class="section section--aboutus" id="aboutus">
<div class="section__item section__item--aboutus__picture">
<img
class="section__picture section__picture--ignore"
src="../src/pictures/categories7.jpg"
alt="player"
>
</div>
<div class="section__item section__item--aboutus__paragraph">
<h2 class="section__title section__title--aboutus">
Timeless, for 50 years and counting
</h2>
<article class="section__article section__article--aboutus">
<p class="section__paragraph">
Bang & Olufsen is expanding its Recreated Classics Program
with the launch of Beosystems – a limited edition music
system that transcends time by bridging the gap between
one of our iconic designs from 1972 and today’s
cutting-edge digital technology.
</p>
</article>
</div>
</section>

<section class="section section--contactus" id="contactus">
<h2 class="section__title">
Contact us
</h2>
<form class="section__item section__item--form">
<label for="name"></label>
<input
class="input section__input"
type="text"
placeholder="Enter your name"
id="name"
>
<label for="email"></label>
<input
class="input section__input"
type="email"
placeholder="Enter your email"
id="email"
>
<label for="message"></label>
<textarea
class="textarea section__textarea"
name="message"
id="message">
</textarea>
<a class="button button--link" href="#">Send</a>
</form>
<address class="section__item section__item--address">
<div class="section__paragraph--address">
<p class="section__paragraph section__paragraph--small">
Phone
</p>
<p class="section__paragraph--address__link">
<a class="section__paragraph" href="tel:+1 234 555-55-55">
+1 234 5555-55-55
</a>
</p>
</div>
<div class="section__paragraph--address">
<p class="section__paragraph section__paragraph--small">
Email
</p>
<p class="section__paragraph section__paragraph--address__link">
hello@bang&olufsen.com
</p>
</div>
<div class="section__paragraph--address">
<p class="section__paragraph section__paragraph--small">
Address
</p>
<p class="section__paragraph--address__link">
<a class="section__paragraph"
target="_blank"
href="https://www.google.com/maps/place/Colle+McVoy/@44.9813776,
-93.2755681,17z/data=!3m1!4b1!4m6!3m5!1s0x52b332863933ee65
:0x92818bb17a988e0a!8m2!3d44.9813776!4d-93.2729932!16s%2Fg
%2F1wn_5rqw">
400 first ave.
<br>
suite 700
<br>
Minneapolis, MN 55401
</a>
</p>
</div>
</address>
</section>
</main>
</body>
</html>
10 changes: 10 additions & 0 deletions src/pictures/Icon-Burger-menu-hover.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/pictures/Icon-Burger-menu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/pictures/Icon-Close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading