MyBike landing page - Portfolio project#2710
MyBike landing page - Portfolio project#2710folg-code wants to merge 48 commits intomate-academy:masterfrom
Conversation
-fixing class naming in compare section
-html for button
-scss for navigation
-styles for menu
-extract details grid to section - implement grid column values for mobile and tablet to scss
-set grid-colum for tablet/mobile -set correct padding/margin in section__content and grid mixin
-better style for compare
natalia-klonowska
left a comment
There was a problem hiding this comment.
- burger menu icon changes size on hover which seems unintentional
- checklist: Page shouldn't be reloaded on form submit
- change background image position and size of icons to match design:
- menu links should be in uppercase, last two links are missing styles and close icon size is wrong
- close icon shifts on hover causing clicks to miss and menu not to close:
https://www.loom.com/share/1d0fcd2267594d2195452954f5ca1ac4?sid=b40b0f26-c60e-43e4-853a-4e39a55dac32
src/index.html
Outdated
| <nav class="section section__content navigation"> | ||
| <a | ||
| href="index.html" | ||
| class="navigation--logo" |
There was a problem hiding this comment.
BEM : "Using a Modifier Instead of an Element"/"Using a Modifier Without the Belonging Class"
fix all other instances of this mistake
| </head> | ||
| <body> | ||
| <h1>Miami</h1> | ||
| <body class="body"> |
There was a problem hiding this comment.
you can use tag body for styling or create file for block body for consistency ;)
src/index.html
Outdated
| <main class="main"> | ||
| <section | ||
| class="section section__content" | ||
| id="about-us" | ||
| > | ||
| <h2 class="section__title title title--section main__title"> |
There was a problem hiding this comment.
BEM: "Using an Element Inside Another Block"
-fixing issues : "Using a Modifier Instead of an Element"/"Using a Modifier Without the Belonging Class"
- add href to phone number
|
Sorry for commits after request review. |
natalia-klonowska
left a comment
There was a problem hiding this comment.
-
Use a full-size background image and apply styling (background-position, background-size) so the image adapts better between breakpoints
-
layout is not responsive it's fixed with breakpoints which results in too large margins between them:
Here you can find a comparison between fixed and responsive layouts and here you can see example of responsive layout with breakpoints
- delete italic font style from contact links
- textarea should have different border-radius
- check and correct space between elements
- buttons send and explore shouldn't be in uppercase
- links should be in uppercase
- underline for the last link should be lower
- change number to match the design
| &--phone { | ||
| width: 24px; | ||
| height: 16px; | ||
|
|
||
| @include on-mobile { | ||
| width: 18px; | ||
| height: 12px; | ||
| } | ||
| } |
| .navigation__menu { | ||
| width: 24px; | ||
| height: 16px; | ||
|
|
||
| @include on-mobile { | ||
| width: 18px; | ||
| height: 12px; | ||
| } | ||
|
|
||
| background-image: url('../images/menu.svg'); | ||
| background-repeat: no-repeat; | ||
| background-size: contain; |
There was a problem hiding this comment.
change height to match width and add background-position to properly center burger menu icon with the other navigation icons
| .navigation__menu { | |
| width: 24px; | |
| height: 16px; | |
| @include on-mobile { | |
| width: 18px; | |
| height: 12px; | |
| } | |
| background-image: url('../images/menu.svg'); | |
| background-repeat: no-repeat; | |
| background-size: contain; | |
| .navigation__menu { | |
| width: 24px; | |
| height: 24px; | |
| @include on-mobile { | |
| width: 18px; | |
| height: 18px; | |
| } | |
| background-position: center; | |
| background-image: url('../images/menu.svg'); | |
| background-repeat: no-repeat; | |
| background-size: contain; |
…ppercase, font style in contact links, textarea borderradius
…ppercase, font style in contact links, textarea borderradius
src/index.html
Outdated
| <div class="menu__content"> | ||
| <nav class="navigation"> | ||
| <a | ||
| href="home" |
There was a problem hiding this comment.
404 error
| href="home" | |
| href="#home" |
src/index.html
Outdated
| href="./styles/main.scss" | ||
| /> | ||
| <link | ||
| rel="favicon" |
There was a problem hiding this comment.
| rel="favicon" | |
| rel="icon" |




[DEMO LINK] (https://folg-code.github.io/layout_miami)