-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
landing page MYBike #2033
base: main
Are you sure you want to change the base?
landing page MYBike #2033
Conversation
R-Ohirok
commented
Feb 6, 2025
•
edited
Loading
edited
- DEMO LINK
- DESIGN: (https://www.figma.com/design/NZQAIydtHo5QkINyGLHNcq/BIKE-New-Version?node-id=41317-96&t=x7ZvE8YTsqLgZDQB-0)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job! Looks really amazing!
Fix things that I mentioned, and also fix few issues than I showed you on this video: https://www.loom.com/share/54e773497b5243b38d12731a5121edbf?sid=56ff264c-547b-4a4a-9f63-bb4d18787750
src/styles/blocks/details.scss
Outdated
.detail { | ||
&__photos { | ||
@include page-grid; | ||
|
||
margin-bottom: 16px; | ||
} | ||
|
||
&__link { | ||
position: relative; | ||
&--wide { | ||
@include on-tablet { | ||
grid-column: span 4; | ||
} | ||
|
||
@include on-desktop { | ||
grid-column: span 8; | ||
} | ||
} | ||
|
||
&--square { | ||
height: 0; | ||
padding-bottom: 100%; | ||
|
||
@include on-tablet { | ||
grid-column: span 2; | ||
} | ||
|
||
@include on-desktop { | ||
grid-column: span 4; | ||
} | ||
} | ||
|
||
@include hover(transform, scale(1.05)); | ||
} | ||
|
||
&__photo { | ||
position: absolute; | ||
width: 100%; | ||
height: 100%; | ||
object-fit: cover; | ||
} | ||
|
||
&__title { | ||
margin: 0; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to separate file
src/styles/blocks/details.scss
Outdated
.explore { | ||
@include page-grid; | ||
|
||
&__button { | ||
grid-column: 1 / 3; | ||
|
||
height: 56px; | ||
line-height: 56px; | ||
font-size: 16px; | ||
font-weight: $bold-font-weight; | ||
|
||
text-decoration: none; | ||
text-align: center; | ||
align-self: center; | ||
|
||
background-color: #fff; | ||
border: 1px solid #fff; | ||
border-radius: 40px; | ||
color: $dark-text-color; | ||
|
||
@include on-tablet { | ||
grid-column: 2 / 6; | ||
} | ||
|
||
@include on-desktop { | ||
grid-column: 5 / 9; | ||
} | ||
|
||
@include shadow; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to separate file
src/styles/blocks/header.scss
Outdated
@@ -0,0 +1,49 @@ | |||
/* #region header */ | |||
.header { | |||
// display: none !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove comments
src/styles/blocks/header.scss
Outdated
} | ||
} | ||
|
||
/* #endregion */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
src/styles/blocks/icon.scss
Outdated
@@ -0,0 +1,57 @@ | |||
/* #region icon */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
src/styles/blocks/icon.scss
Outdated
} | ||
} | ||
|
||
/* #endregion */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove comments here and in all another cases
src/styles/blocks/page.scss
Outdated
h3 { | ||
font-size: $bold-text-size; | ||
font-weight: $bold-font-weight; | ||
line-height: $bold-line-height; | ||
} | ||
|
||
a { | ||
color: $light-text-color; | ||
text-decoration: none; | ||
} | ||
|
||
p { | ||
margin: 0; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make separate file, for example reset.scss or extends.scss for this styles
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now 👍
Thanks for fixing all the issues!