-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Develop #2724
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
base: master
Are you sure you want to change the base?
Develop #2724
Changes from 20 commits
26611c0
f684375
1f6391e
7d0726c
244e105
8af3e2d
afb74de
1e69ae7
e7d24a4
827c094
6d9026d
17e4c16
7577a9c
07a2855
c39ba00
3e6fa67
f00d5cf
cf913f1
081594b
5a0363f
a293d9c
8e9f74f
4145495
2a2d3b2
170eae3
db3770c
38ea391
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| /backstop_data | ||
| /dist | ||
| /node_modules |
| 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 |
| 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 |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -6,17 +6,249 @@ | |||||||||||||||||
| name="viewport" | ||||||||||||||||||
| content="width=device-width, initial-scale=1.0" | ||||||||||||||||||
| /> | ||||||||||||||||||
| <title>Miami</title> | ||||||||||||||||||
| <title>My-Bike</title> | ||||||||||||||||||
| <link rel="preconnect" href="https://fonts.googleapis.com"> | ||||||||||||||||||
| <link rel="preconnect" href="https://fonts.gstatic.com" | ||||||||||||||||||
| crossorigin="anonymous"> | ||||||||||||||||||
| <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap" rel="stylesheet"> | ||||||||||||||||||
| <link | ||||||||||||||||||
| rel="stylesheet" | ||||||||||||||||||
| href="src/styles/main.scss" | ||||||||||||||||||
| href="src/styles/main.css" | ||||||||||||||||||
| /> | ||||||||||||||||||
| <script | ||||||||||||||||||
| src="src/scripts/main.js" | ||||||||||||||||||
| defer | ||||||||||||||||||
| ></script> | ||||||||||||||||||
| </head> | ||||||||||||||||||
| <body> | ||||||||||||||||||
| <h1>Miami</h1> | ||||||||||||||||||
|
|
||||||||||||||||||
| <header class="header" id="home"> | ||||||||||||||||||
| <nav class="header__nav"> | ||||||||||||||||||
|
|
||||||||||||||||||
| <h1 class="header__nav--logo">MyBiKE</h1> | ||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
you can apply one of the following conventions:
Suggested change
Suggested change
Suggested change
|
||||||||||||||||||
|
|
||||||||||||||||||
| <div class="header__nav--buttons"> | ||||||||||||||||||
| <button class="header__nav--button"> | ||||||||||||||||||
| <img class="header__nav--phone-icon" src="src/images/phone.svg" | ||||||||||||||||||
| alt="phone Icon"/> | ||||||||||||||||||
| </button> | ||||||||||||||||||
|
|
||||||||||||||||||
| <button class="header__nav--button"> | ||||||||||||||||||
| <a href="#menu"> | ||||||||||||||||||
| <img class="header__nav--menu-icon" src="src/images/menu.svg" | ||||||||||||||||||
| alt="menu Icon"/> | ||||||||||||||||||
| </a> | ||||||||||||||||||
| </button> | ||||||||||||||||||
|
|
||||||||||||||||||
| </div> | ||||||||||||||||||
| </nav> | ||||||||||||||||||
|
|
||||||||||||||||||
| <div class="header__motto"> | ||||||||||||||||||
| <h2 class="header__motto--title">Take the Streets</h2> | ||||||||||||||||||
| </div> | ||||||||||||||||||
|
|
||||||||||||||||||
| </header> | ||||||||||||||||||
|
|
||||||||||||||||||
| <main class="main" id="about"> | ||||||||||||||||||
|
|
||||||||||||||||||
| <section class="move-free"> | ||||||||||||||||||
|
|
||||||||||||||||||
| <h3 class="move-free__title">Move Free</h3> | ||||||||||||||||||
|
|
||||||||||||||||||
| <p class="move-free__text">Shift your ride, not<br> | ||||||||||||||||||
| gears. Find the fastest way to move in the city as the bike adapts intuitively to power the speed you need. | ||||||||||||||||||
| </p> | ||||||||||||||||||
|
|
||||||||||||||||||
| </section> | ||||||||||||||||||
|
|
||||||||||||||||||
| <section class="compare"> | ||||||||||||||||||
| <h3 class="h3-title">Compare bikes</h3> | ||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remember that you're using BEM methodology so for consistency you should treat |
||||||||||||||||||
|
|
||||||||||||||||||
| <div class="compare__bikes" id="compare"> | ||||||||||||||||||
|
|
||||||||||||||||||
| <article class="compare__bike"> | ||||||||||||||||||
| <img class="photo" src="src/images/photos/bike1_mobile.jpg" | ||||||||||||||||||
| alt="Bike Sporty 4"/> | ||||||||||||||||||
|
|
||||||||||||||||||
| <h4 class="compare__bike--name h4-title">Sporty 4</h4> | ||||||||||||||||||
| <p class="description-title">The iconic frame brought to a new performance height as a sporty, active ride.</p> | ||||||||||||||||||
| <p class="compare__bike--price h4-title">$ 2 590</p> | ||||||||||||||||||
| </article> | ||||||||||||||||||
|
|
||||||||||||||||||
| <article class="compare__bike"> | ||||||||||||||||||
| <img class="photo" src="src/images/photos/bike2_mobile.jpg" | ||||||||||||||||||
| alt="Ride in town ST"/> | ||||||||||||||||||
| <h4 class="compare__bike--name h4-title">Ride in town ST</h4> | ||||||||||||||||||
| <p class="description-title">An open frame for an upright riding position as the most comfortable ride in town.</p> | ||||||||||||||||||
| <p class="compare__bike--price h4-title">$ 2 590</p> | ||||||||||||||||||
| </article> | ||||||||||||||||||
|
|
||||||||||||||||||
| <article class="compare__bike"> | ||||||||||||||||||
| <img class="photo" src="src/images/photos/bike3_mobile.jpg" | ||||||||||||||||||
|
|
||||||||||||||||||
| alt="Agile ride 3"/> | ||||||||||||||||||
| <h4 class="compare__bike--name h4-title">Agile ride 3</h4> | ||||||||||||||||||
| <p class="description-title">The lightweight frame that has earned its street tread as a sleek, agile ride.</p> | ||||||||||||||||||
| <p class="compare__bike--price h4-title">$ 2 090</p> | ||||||||||||||||||
| </article> | ||||||||||||||||||
|
|
||||||||||||||||||
| </div> | ||||||||||||||||||
| </section> | ||||||||||||||||||
|
|
||||||||||||||||||
| <section class="details" id="details"> | ||||||||||||||||||
|
|
||||||||||||||||||
| <h3 class="details__title h3-title">The details</h3> | ||||||||||||||||||
|
|
||||||||||||||||||
| <article class="details__detail"> | ||||||||||||||||||
|
|
||||||||||||||||||
| <div class="details__detail--photos"> | ||||||||||||||||||
| <img class="details__detail--photo photo" src="src/images/photos/unlock1_mobile.jpg" | ||||||||||||||||||
| alt="Auto Unlock-1"/> | ||||||||||||||||||
| <img class="details__detail--photo photo" src="src/images/photos/unlock2_mobile.jpg" | ||||||||||||||||||
| alt="Auto Unlock-2"/> | ||||||||||||||||||
| </div> | ||||||||||||||||||
|
|
||||||||||||||||||
| <h4 class="details__detail--title h4-title">Auto Unlock</h4> | ||||||||||||||||||
|
|
||||||||||||||||||
| <p class="description-title">The app senses when you're nearby to unlock automatically. GPS tracking so you know where your bike is and can track it anytime.</p> | ||||||||||||||||||
| </article> | ||||||||||||||||||
|
|
||||||||||||||||||
| <article class="details__detail"> | ||||||||||||||||||
|
|
||||||||||||||||||
| <div class="details__detail--photos"> | ||||||||||||||||||
| <img class="details__detail--photo photo" src="src/images/photos/light1_mobile.jpg" | ||||||||||||||||||
| alt="lights1"/> | ||||||||||||||||||
| <img class="details__detail--photo photo" src="src/images/photos/light2_mobile.jpg" | ||||||||||||||||||
| alt="lights2"/> | ||||||||||||||||||
| </div> | ||||||||||||||||||
|
|
||||||||||||||||||
| <h4 class="details__detail--title h4-title">Range & Integrated lights</h4> | ||||||||||||||||||
|
|
||||||||||||||||||
| <p class="description-title">The removable battery has up to 70km battery autonomy and weighs only 2.4 kg. Lights integrated into the frame give you always-on visibility day and night.</p> | ||||||||||||||||||
| </article> | ||||||||||||||||||
|
|
||||||||||||||||||
| <article class="details__detail"> | ||||||||||||||||||
|
|
||||||||||||||||||
| <div class="details__detail--photos"> | ||||||||||||||||||
| <img class="details__detail--photo photo" src="src/images/photos/breakes1_mobile.jpg" | ||||||||||||||||||
| alt="breakes1"/> | ||||||||||||||||||
| <img class="details__detail--photo photo" src="src/images/photos/breakes2_mobile.jpg" | ||||||||||||||||||
| alt="breakes2"/> | ||||||||||||||||||
| </div> | ||||||||||||||||||
|
|
||||||||||||||||||
| <h4 class="details__detail--title h4-title">Hydraulic disc brakes & Lightweight</h4> | ||||||||||||||||||
|
|
||||||||||||||||||
| <p class="description-title">Brakes with total stopping power the second you make contact. The removable battery has up to 70km battery autonomy and weighs only 2.4 kg. Lights integrated into the frame give you always-on visibility day and night.</p> | ||||||||||||||||||
| </article> | ||||||||||||||||||
|
|
||||||||||||||||||
| <div class="explore"> | ||||||||||||||||||
| <button class="explore__button button" type="button">Explore</button> | ||||||||||||||||||
| </div> | ||||||||||||||||||
|
|
||||||||||||||||||
| </section> | ||||||||||||||||||
| </main> | ||||||||||||||||||
|
|
||||||||||||||||||
| <footer class="footer"> | ||||||||||||||||||
|
|
||||||||||||||||||
| <h3 class="contact-us__title h3-title">Contact us</h3> | ||||||||||||||||||
| <div class="contact-us__title-container"> | ||||||||||||||||||
|
|
||||||||||||||||||
| <section class="contact-us"> | ||||||||||||||||||
|
|
||||||||||||||||||
| <form class="contact-us__form"> | ||||||||||||||||||
| <input | ||||||||||||||||||
| class="contact-us__input" | ||||||||||||||||||
| type="text" | ||||||||||||||||||
| name="name" | ||||||||||||||||||
| placeholder="Name" | ||||||||||||||||||
| required/> | ||||||||||||||||||
|
|
||||||||||||||||||
| <input | ||||||||||||||||||
| class="contact-us__input" | ||||||||||||||||||
| type="email" | ||||||||||||||||||
| name="email" | ||||||||||||||||||
| placeholder="Email" | ||||||||||||||||||
| required/> | ||||||||||||||||||
|
|
||||||||||||||||||
| <textarea | ||||||||||||||||||
| class="contact-us__input contact-us__textarea" | ||||||||||||||||||
| placeholder="Message" | ||||||||||||||||||
| required></textarea> | ||||||||||||||||||
|
|
||||||||||||||||||
| <div class="container-button"> | ||||||||||||||||||
| <button class="contact-us__button button" type="submit"> | ||||||||||||||||||
| Send | ||||||||||||||||||
| </button> | ||||||||||||||||||
| </div> | ||||||||||||||||||
|
|
||||||||||||||||||
| </form> | ||||||||||||||||||
| </section> | ||||||||||||||||||
|
|
||||||||||||||||||
| <section class="contact" id="contacts"> | ||||||||||||||||||
| <div class="contact__item"> | ||||||||||||||||||
| <h3 class="contact__label">Phone</h3> | ||||||||||||||||||
|
|
||||||||||||||||||
| <p class="contact__value"> | ||||||||||||||||||
| <a class="contact__link" href="tel:+1 234 5555-55-55">+1 234 5555-55-55</a> | ||||||||||||||||||
| </p> | ||||||||||||||||||
| </div> | ||||||||||||||||||
|
|
||||||||||||||||||
| <div class="contact__item"> | ||||||||||||||||||
| <h3 class="contact__label">Email</h3> | ||||||||||||||||||
|
|
||||||||||||||||||
| <p class="contact__value"> | ||||||||||||||||||
| <a class="contact__link" href="hello@miami.com">hello@miami.com</a> | ||||||||||||||||||
| </p> | ||||||||||||||||||
| </div> | ||||||||||||||||||
|
|
||||||||||||||||||
| <div class="contact__item"> | ||||||||||||||||||
| <h3 class="contact__label">Address</h3> | ||||||||||||||||||
|
|
||||||||||||||||||
| <p class="contact__value"> | ||||||||||||||||||
| 400 first ave.<br> | ||||||||||||||||||
| suite 700<br> | ||||||||||||||||||
| Minneapolis, MN 55401 | ||||||||||||||||||
| </p> | ||||||||||||||||||
| </div> | ||||||||||||||||||
|
|
||||||||||||||||||
| </section> | ||||||||||||||||||
| </div> | ||||||||||||||||||
| <div class="footer__background"></div> | ||||||||||||||||||
| </footer> | ||||||||||||||||||
|
|
||||||||||||||||||
| <section class="menu" id="menu"> | ||||||||||||||||||
| <header class="menu__header"> | ||||||||||||||||||
| <h2 class="menu__header--title">MyBiKE</h2> | ||||||||||||||||||
| <a class="menu__header--close-button" type="button" | ||||||||||||||||||
| href="#home"> | ||||||||||||||||||
| <img class="menu__header--close-button-icon" src="src/images/Icon-Close-black.svg" | ||||||||||||||||||
| alt="close Icon"/> | ||||||||||||||||||
| </a> | ||||||||||||||||||
| </header> | ||||||||||||||||||
|
|
||||||||||||||||||
| <main class="menu__main"> | ||||||||||||||||||
| <nav class="menu__nav"> | ||||||||||||||||||
| <ul class="menu__nav--links"> | ||||||||||||||||||
| <li ><a class="menu__nav--link" href="#home">Home</a></li> | ||||||||||||||||||
| <li><a class="menu__nav--link" href="#about">About Us</a></li> | ||||||||||||||||||
| <li><a class="menu__nav--link" href="#compare">Compare Bikes</a></li> | ||||||||||||||||||
| <li><a class="menu__nav--link" href="#details">Details</a></li> | ||||||||||||||||||
| <li><a class="menu__nav--link" href="#contacts">Contacts</a></li> | ||||||||||||||||||
| </ul> | ||||||||||||||||||
| </nav> | ||||||||||||||||||
| </main> | ||||||||||||||||||
|
|
||||||||||||||||||
| <footer class="menu__footer"> | ||||||||||||||||||
| <address class="contact"> | ||||||||||||||||||
| <a class="menu__footer--phone-link menu-link" href="tel:+48123123123"> | ||||||||||||||||||
| +1 234 5555-55-55 | ||||||||||||||||||
| </a> | ||||||||||||||||||
| </address> | ||||||||||||||||||
|
|
||||||||||||||||||
| <a class="menu__footer--cta-btn menu-link" href="/book-test-ride" > | ||||||||||||||||||
| Book a test ride | ||||||||||||||||||
| </a> | ||||||||||||||||||
| </footer> | ||||||||||||||||||
| </section> | ||||||||||||||||||
| </body> | ||||||||||||||||||
| </html> | ||||||||||||||||||
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.
you don't have main.css file. use main.scss