Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
c7e01c9
Initial landing page layout with categories – needs further design im…
Tomek93x Nov 13, 2025
a20f470
style: fix stylelint & prettier formatting for all styles, no lint er…
Tomek93x Nov 13, 2025
e499a6f
fix: remove duplicate categories grid section from index.html
Tomek93x Nov 13, 2025
293e607
style: auto-format and lint styles and markup files
Tomek93x Nov 13, 2025
424a14d
style: auto-fix style files using linter --fix option v2
Tomek93x Nov 13, 2025
0975a3d
feat: implement favicon
Tomek93x Nov 13, 2025
96bb1a0
style: add scale animation on hover for product, category and gallery…
Tomek93x Nov 14, 2025
7ebfac8
style: add scale-on-hover effect for product images in product-card
Tomek93x Nov 14, 2025
1dd4448
style: add scale-on-hover effect for all images
Tomek93x Nov 14, 2025
1fa45ba
style: fix mobile horizontal scroll and unify desktop/mobile layout
Tomek93x Nov 14, 2025
ba24fb6
style: unify animation speed across all interactive elements
Tomek93x Nov 14, 2025
3b3fd75
feat: prevent page reload on form submit
Tomek93x Nov 14, 2025
4f32daa
style: enable smooth scroll for anchor navigation
Tomek93x Nov 14, 2025
481b57c
fix: close mobile menu on nav link click
Tomek93x Nov 14, 2025
2e70a2e
feat: lock scroll under mobile menu
Tomek93x Nov 14, 2025
4237e6d
style: reset heading margins globally
Tomek93x Nov 14, 2025
a8f7116
style: set .hero-content h1 margin-top to 80px for Miami checklist
Tomek93x Nov 14, 2025
3fcbb0d
fix: add type module to script tag for vite bundling
Tomek93x Nov 14, 2025
abc727c
Move styles to BEM blocks, remove duplicates and clean up main.css
Tomek93x Nov 24, 2025
6979bbb
Fix: Change section ID to 'recommended' for anchor menu navigation
Tomek93x Nov 24, 2025
1fb338e
feat: Add form validation and contact phone link
Tomek93x Nov 26, 2025
4792cab
feat: Add form validation and contact phone link v2
Tomek93x Nov 26, 2025
e4a1ed7
block menu after deploy
Tomek93x Nov 26, 2025
916b858
block menu after deploy
Tomek93x Nov 26, 2025
3a5777d
Fix: Block scroll when menu is open
Tomek93x Nov 26, 2025
21198ae
Fix: Block scroll when menu is open v2
Tomek93x Nov 26, 2025
6fc0ea2
Fix: Block scroll when menu is open v3
Tomek93x Nov 26, 2025
0170d68
Fix: block scroll on menu open, hide menu after close, prevent page r…
Tomek93x Nov 26, 2025
2635a99
fixed
Tomek93x Nov 28, 2025
5826baa
Refactor layout: replace Grid with Flexbox
Tomek93x Nov 28, 2025
3e38196
Refactor layout: replace Grid with Flexbox
Tomek93x Nov 28, 2025
735db11
fixed mobile version
Tomek93x Nov 28, 2025
bbf67c6
fixed mobile version
Tomek93x Nov 28, 2025
6905d7b
block scroll
Tomek93x Nov 29, 2025
79ad60d
block scroll
Tomek93x Nov 29, 2025
15c5724
block scroll v2
Tomek93x Nov 29, 2025
4e7b4a2
Fix magin on mobile
Tomek93x Nov 30, 2025
7fe0057
Fix margin on mobile
Tomek93x Nov 30, 2025
adc551e
fixed image quality and margins
Tomek93x Dec 1, 2025
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
5 changes: 1 addition & 4 deletions .bemlintrc.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"elementDivider": "__",
"modifierDivider": "--",
"ignore": [
"node_modules",
"dist"
],
"ignore": ["node_modules", "dist"],
"rules": {
"one-block": true,
"one-element": true,
Expand Down
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/backstop_data
/dist
/node_modules
29 changes: 14 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,27 @@ name: Test

on:
pull_request:
branches: [ master ]
branches: [master]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
- name: Upload HTML report(backstop data)
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: report
path: backstop_data
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
- name: Upload HTML report(backstop data)
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: report
path: backstop_data
29 changes: 29 additions & 0 deletions .github/workflows/test.yml-template
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test

on:
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
- name: Upload HTML report(backstop data)
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: report
path: backstop_data
20 changes: 10 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# IDE
.idea
.vscode
build
dist

# Node
node_modules
.DS_Store

npm-debug.log*
yarn-debug.log*
yarn-error.log*
# MacOS
.DS_Store

raw_reports
reports
cypress/screenshots
cypress/videos
# Generated files
backstop_data
dist
.cache
.parcel-cache
11 changes: 1 addition & 10 deletions .linthtmlrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,7 @@
"indent-width-cont": true,
"input-radio-req-name": true,
"spec-char-escape": true,
"tag-bans": [
"b",
"i",
"u",
"center",
"style",
"marquee",
"font",
"s"
],
"tag-bans": ["b", "i", "u", "center", "style", "marquee", "font", "s"],
"tag-name-lowercase": true,
"tag-name-match": true,
"tag-self-close": false,
Expand Down
8 changes: 3 additions & 5 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module.exports = {
extends: "@mate-academy/stylelint-config",
plugins: [
"stylelint-scss"
],
rules: {}
extends: '@mate-academy/stylelint-config',
plugins: ['stylelint-scss'],
rules: {},
};
Empty file added Miami@1.0.0
Empty file.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ In this task, you will learn how to implement a landing page. To do that:
- [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/)
- when you finish the first block of your page deploy it and create a Pull Request with a [DEMO LINK](https://tomek93x.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;
5 changes: 4 additions & 1 deletion checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
15. Page shouldn't be reloaded on form submit (https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault)
16. Add a smooth scroll for the whole page
17. Fix menu for small screens (if there is not enough space for all the menu items)

```css
.menu {
/* Move these rules from .menu__content */
Expand All @@ -29,6 +30,7 @@

...
```

18. To disable page scrolling under the menu add the next code
```css
.page__body--with-menu {
Expand All @@ -45,4 +47,5 @@
});
```
19. Remember to reset default margins for headings (h1, h2, h3, etc.).
* Only for Miami: Make sure that ```<h1>``` is positioned exactly 80px from the bottom of the header.

- Only for Miami: Make sure that `<h1>` is positioned exactly 80px from the bottom of the header.
Loading
Loading