Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
625185e
Merge pull request #990 from mate-academy/develop
meforoma Apr 12, 2022
b7a677c
Updated README.md with demo link sample
jstmpelowycz May 27, 2022
7e13326
Removed content bug in README.md
jstmpelowycz May 27, 2022
c2d1ad9
Update checklist.md
mgrinko Jun 22, 2022
6426dbe
Update README.md
mgrinko Jun 27, 2022
6c493f2
Update README.md
mgrinko Jun 27, 2022
61ea8cb
Update README.md
mgrinko Jun 27, 2022
374f13c
Update README.md
solaryasha Jul 8, 2022
8d0b01e
Update README.md
mgrinko Sep 6, 2022
cee64a5
changed my bike figma link to a new version
ihor-jpeg Sep 7, 2022
ea0dece
Merge pull request #1494 from mate-academy/update-my-bike-figma-link
ihor-jpeg Sep 7, 2022
c057b9a
Update README.md
mgrinko Sep 19, 2022
ee253f8
Update checklist.md
G-YaSha Oct 18, 2022
0b6e00c
downgrade parcel to 1.12.3
mgrinko Jun 8, 2023
6e9bbda
Update README.md
mgrinko Jun 16, 2023
b43bc67
fix dependencies
mhrynko Jul 14, 2023
c8ef338
update dependencies
Nov 12, 2023
e2200a7
Merge pull request #2614 from SerhiiKirik/update-deps
mgrinko Nov 20, 2023
bfd224b
fix deps
mgrinko Nov 29, 2023
c514de5
feature/prettier added prettier, updated packages
mykhalenych Feb 21, 2024
484c7a8
feature/prettier updated package
mykhalenych Feb 22, 2024
00951e4
Update package.json
mgrinko Feb 22, 2024
870cfed
Merge pull request #2644 from mykhalenych/feature/prettier
mgrinko Feb 22, 2024
6032576
Update package.json
mgrinko Mar 1, 2024
be86692
Update package.json
mgrinko Mar 4, 2024
03b8d7d
fix deps for node20
mgrinko Mar 11, 2024
b402e4f
add latest deps
mgrinko Jul 21, 2024
f5c9d49
Merge pull request #2660 from mate-academy/node20
mgrinko Sep 2, 2024
b647d3a
Update test.yml
mgrinko Sep 2, 2024
dac1f00
Update test.yml
mgrinko Sep 10, 2024
6e7453b
feat: use vite for layout (vue config uses vite under the hood)
Ayzrian Sep 28, 2025
5958067
feat: use layoutVite project type
Ayzrian Sep 28, 2025
cb9ab14
fix: add cross-env
Ayzrian Sep 28, 2025
bb67c56
feat: update package version to use vite
Ayzrian Sep 30, 2025
5e03630
fix: remove @parcel/transformer-sass
Ayzrian Sep 30, 2025
3fbec07
fix: remove cross-env
Ayzrian Sep 30, 2025
027fc57
Merge pull request #2711 from Ayzrian/feat/use-vite-for-layout
Sep 30, 2025
f15dcb5
Update package.json
mykhalenych Oct 2, 2025
043c9e2
Merge pull request #2713 from mykhalenych/patch-1
alenatovstukha Oct 6, 2025
ce7812a
first block mobile
wojthecode Dec 1, 2025
fd84117
added demo page
wojthecode Dec 1, 2025
d028a2f
add categories block mobile version
wojthecode Dec 2, 2025
a75b15e
add buy-direct block mobile version
wojthecode Dec 2, 2025
6c94f9b
add footer mobile version
wojthecode Dec 2, 2025
8dc90fc
added block contact mobile version
wojthecode Dec 2, 2025
2e81792
add navigation menu and refactor contacts - mobile version
wojthecode Dec 3, 2025
03e75d5
adding index.html to commit
wojthecode Dec 3, 2025
2cd0a89
refactor blocks and add accessibility - mobile version
wojthecode Dec 3, 2025
e4ae659
adjustment categories, header and menu to 744px wide
wojthecode Dec 3, 2025
2893950
adjustment contact and buy sections to 744px wide, improving spacing
wojthecode Dec 3, 2025
6e0f219
adjustment for desktop
wojthecode Dec 4, 2025
a80f79a
change rules import to use
wojthecode Dec 4, 2025
4aadb99
added form validation, links in address section, pictures increase on…
wojthecode Dec 17, 2025
dec1928
added script preventing page reload after submit
wojthecode Dec 18, 2025
f020645
changed phone icon size in mobile version, fix position of contact se…
wojthecode Dec 19, 2025
72f091c
fix script building on deploy
wojthecode Dec 22, 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
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
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

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

steps:
- uses: actions/checkout@v2
Expand All @@ -20,10 +20,10 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm start & sleep 5 && npm test
- run: npm test
- name: Upload HTML report(backstop data)
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: report
path: backstop_data
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ node_modules
backstop_data
dist
.cache
.parcel-cache

src/styles/styles.css
src/styles/styles.css.map
48 changes: 47 additions & 1 deletion .linthtmlrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,49 @@
{
"extends": "@mate-academy/linthtml-config"
"attr-bans": [
"align",
"background",
"bgcolor",
"border",
"frameborder",
"style"
],
"attr-name-ignore-regex": "viewBox",
"attr-no-dup": true,
"attr-quote-style": "double",
"attr-req-value": true,
"class-no-dup": true,
"doctype-first": true,
"doctype-html5": true,
"fig-req-figcaption": true,
"head-req-title": true,
"html-req-lang": true,
"id-class-style": false,
"id-no-dup": true,
"img-req-src": true,
"img-req-alt": "allownull",
"indent-width": 2,
"indent-style": "spaces",
"indent-width-cont": true,
"input-radio-req-name": true,
"spec-char-escape": true,
"tag-bans": [
"b",
"i",
"u",
"center",
"style",
"marquee",
"font",
"s"
],
"tag-name-lowercase": true,
"tag-name-match": true,
"tag-self-close": false,
"tag-close": true,
"text-ignore-regex": "&",
"title-no-dup": true,
"line-end-style": "lf",
"attr-new-line": 2,
"attr-name-style": "dash",
"attr-no-unsafe-char": true
}
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/node_modules
/dist
**/*.test.js
20 changes: 20 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"printWidth": 80,
"overrides": [
{
"files": "*.html",
"options": {
"parser": "html",
"insertPragma": false,
"endOfLine": "auto",
"singleAttributePerLine": true,
"htmlWhitespaceSensitivity": "ignore"
}
}
]
}
5 changes: 1 addition & 4 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
module.exports = {
extends: [
"stylelint-config-recommended-scss",
"@mate-academy/stylelint-config"
],
extends: "@mate-academy/stylelint-config",
plugins: [
"stylelint-scss"
],
Expand Down
23 changes: 13 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
# Miami landing page

You have several designs that are very similar to Miami. Choose the most interesting for you. Don't be afraid of another markup. We developed landing pages that in coding will be almost the same as Miami. You still able to chose Miami.

- [the BOSE landing page](https://www.figma.com/file/OMjQNb3hg1LKMV4OwyQ3Ao/BOSE?node-id=0%3A1)
- [the MYBIKE landing page](https://www.figma.com/file/Ic3SlZjkATYaS7uTifZAIk/BIKE?node-id=0%3A1)
- [the MET landing page](https://www.figma.com/file/lSR1m42L9YwzQwzzxKwHpw/THE-MET?node-id=0%3A1)
- [the Miami landing page](https://www.figma.com/file/nHz8bflIwJaWP3P99vKTH5/miami_home_new?node-id=16033%3A3)

Implement selected landing page following the lesson videos.

--> [CHECKLIST](https://github.com/mate-academy/layout_miami/blob/master/checklist.md)
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://wojthecode.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;
8 changes: 4 additions & 4 deletions checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
6. Same when you click on logo. There shouldn't be any error.
7. When clicking on any location / address - prevent errors and make it to open location in Google Maps
8. Pictures in Gallery should increase on hover
9. Location-related addresses / links / images should open google maps in a new tab `target="_blank"`
10. Apply :hover effect for images on page (testimonials / gallery, other sections).
9. Location-related addresses / links should open google maps in a new tab `target="_blank"`
10. Apply `:hover` effect for images on page (testimonials / gallery, other sections).
11. Make sure everything looks neat on mobile and without horizontal scrolling
12. The speed of animations is the same throughout the landing page (for example, increasing when hovering or moving blocks when scrolling)
13. Placeholders in the forms suggest what to enter; apply validation of the form fields (`required`, `email / tel etc.`), then it is clear in what format to enter the data
Expand All @@ -29,7 +29,7 @@

...
```
15. To disable page scrolling under the menu add the next code
18. To disable page scrolling under the menu add the next code
```css
.page__body--with-menu {
overflow: hidden;
Expand All @@ -44,5 +44,5 @@
}
});
```
16. Remember to reset default margins for headings (h1, h2, h3, etc.).
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.
Loading