Skip to content
Open

Develop #2742

Show file tree
Hide file tree
Changes from 42 commits
Commits
Show all changes
49 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
23e965a
first tree blocks
KrzywMan Mar 24, 2026
f640ee5
1260 page draft without interactives
KrzywMan Mar 24, 2026
72aca73
Page 1260 complete
KrzywMan Mar 24, 2026
f5beec6
layout 1260 complete solution
KrzywMan Mar 24, 2026
d6fb1fc
fix font paths
KrzywMan Mar 24, 2026
c6789b8
Fix bugs and styles
KrzywMan Mar 27, 2026
e7f1fe8
Fix product sesion, button distance, contact us section, menu icon
KrzywMan Mar 28, 2026
d8ffc43
Draft wersji tabletowej i mobilnej
KrzywMan Mar 31, 2026
faa5044
Fix how-to-buy container, categories_grid, photos
KrzywMan Apr 2, 2026
523d584
Fix parenthesis
KrzywMan Apr 2, 2026
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
19 changes: 10 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# IDE
.idea
.vscode

# Node
build
dist
node_modules

# MacOS
.DS_Store

# Generated files
backstop_data
dist
.cache
npm-debug.log*
yarn-debug.log*
yarn-error.log*

raw_reports
reports
cypress/screenshots
cypress/videos
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://<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;
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.
22 changes: 22 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<title>Miami</title>
<link
rel="stylesheet"
href="src/styles/main.scss"
/>
<script
src="src/scripts/main.js"
defer
></script>
</head>
<body>
<h1>Miami</h1>
</body>
</html>
Loading