Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
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
255 changes: 251 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,266 @@
<!doctype html>
<html lang="en">
<html lang="en" class="page">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<title>Title</title>
<title>Creative bakery</title>
<link
rel="stylesheet"
href="src/styles/main.scss"
/>
<link
rel="icon"
type="image/x-icon"
href="src/images/favicon.png"
/>
<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=Inter:opsz,wght@14..32,100..900&display=swap" rel="stylesheet">
</head>
<body>
<h1>Hello Mate Academy</h1>
<body class="page__body">
<header class="header" id="header">
<div class="top-bar header__top-bar">
<div class="top-bar__logo"></div>
<a href="#menu" class="top-bar__icon-menu"></a>
<nav class="top-bar__nav">
<ul class="top-bar__nav-list">
<li class="top-bar__nav-item">
<a href="#products" class="top-bar__nav-link">Products</a>
</li>
<li class="top-bar__nav-item">
<a href="#about-us" class="top-bar__nav-link">About Us</a>
</li>
<li class="top-bar__nav-item">
<a href="https://example.com" class="top-bar__nav-link">Blog</a>
</li>
<li class="top-bar__nav-item top-bar__nav-item--contact">
<a href="https://example.com" class="top-bar__nav-link top-bar__nav-link--contact">Contact us</a>
</li>
</ul>
</nav>
</div>
<div class="header__img header__img--desktop"></div>
<div class="header__content">
<p class="header__description">
We bake your fantasies — croissants, cakes, cookies, and cupcakes.
</p>
<h1 class="header__title">
Creative bakery
</h1>
<img
src="src/images/Cookie-header.png"
alt="Cookie"
class="header__img header__img--mobile">
<div class="header__button">
<button class="header__button-more">Learn more</button>
</div>
</div>
</header>
<aside class="menu page__menu" id="menu">
<div class="top-bar menu__top-bar">
<div class="top-bar__logo"></div>
<a href="#header" class="top-bar__icon-close"></a>
</div>
<nav class="nav menu__nav">
<ul class="nav__list">
<li class="nav__item">
<a href="#products" class="nav__link">Products</a>
</li>
<li class="nav__item">
<a href="#about-us" class="nav__link">About Us</a>
</li>
<li class="nav__item">
<a href="https://example.com" class="nav__link">Blog</a>
</li>
<li class="nav__item nav__item--contact">
<a href="https://example.com" class="nav__link nav__link--contact">Contact us</a>
</li>
</ul>
</nav>
</aside>
<main>
<section class="product" id="products">
<h1 class="product__title">What we bake</h1>
<p class="product__description">
We can customize our cookies right for your needs. Just imagine it
</p>
<div class="product__content product__content--tablet">
<article class="goods">
<img
class="goods__img"
src="src/images/Products/Cake-1.png"
alt="Oatmeal cookies">
<a href="https://example.com" class="goods__category">Cakes</a>
<p class="goods__description">
Oatmeal cookies with golden raisins, orange zest and chocolate chips
</p>
<button class="goods__button">Order</button>
</article>
<article class="goods">
<img
class="goods__img"
src="src/images/Products/Cake-2.png"
alt="Chocolate biscuit">
<a href="https://example.com" class="goods__category">Cakes</a>
<p class="goods__description">
Chocolate biscuit coffee cake topped with a buttercream and powder
</p>
<button class="goods__button">Order</button>
</article>
</div>
<div class="product__content product__content--tablet product__content--desktop">
<article class="goods">
<img
class="goods__img"
src="src/images/Products/Donuts-3.png"
alt="Multi-layered croissant">
<a href="https://example.com" class="goods__category">Donuts</a>
<p class="goods__description">
Light multi-layered croissant strewn with cinammon and almond “petals”
</p>
<button class="goods__button">Order</button>
</article>
<article class="goods">
<img
class="goods__img"
src="src/images/Products/Donuts-4.png"
alt="Multi-layered croissant">
<a href="https://example.com" class="goods__category">Donuts</a>
<p class="goods__description">
Light multi-layered croissant strewn with coconut and nuts
</p>
<button class="goods__button">Order</button>
</article>
</div>
<div class="product__content product__content--tablet">
<article class="goods">
<img
class="goods__img"
src="src/images/Products/Cake-5.png"
alt="Chocolate salted caramel, Vanilla frutti pebbles">
<a href="https://example.com" class="goods__category">Cakes</a>
<p class="goods__description">
Chocolate salted caramel, Vanilla frutti pebbles
</p>
<button class="goods__button">Order</button>
</article>
<article class="goods">
<img
class="goods__img"
src="src/images/Products/Cookie-6.png"
alt="Oatmeal cookies">
<a href="https://example.com" class="goods__category">Cookies</a>
<p class="goods__description">
Oatmeal cookies with golden raisins, orange zest and chocolate chips
</p>
<button class="goods__button">Order</button>
</article>
</div>
</section>

<section class="about-us" id="about-us">
<div class="about-us__main">
<h1 class="about-us__title">Few words About us</h1>
<p class="about-us__description">Like many design teams, Onfido made the transition from Abstract + Sketch, to Figma in the last couple of years. One of the common resistance points internally before making that switch, was Figma’s lack of Git-style branching that Abstract enabled. The design team had come to rely on branching and had built a lot of our processes around it.
</p>
</div>
<article class="about-us__statistic">
<div class="about-us__tablet">
<div class="about-us__content">
<h2 class="about-us__number">2015</h2>
<p class="about-us__text">Founded</p>
</div>
<div class="about-us__content">
<h2 class="about-us__number">23</h2>
<p class="about-us__text">Stores</p>
</div>
</div>
<div class="about-us__tablet">
<div class="about-us__content">
<h2 class="about-us__number">155</h2>
<p class="about-us__text">Companies</p>
</div>
<div class="about-us__content">
<h2 class="about-us__number">10k+</h2>
<p class="about-us__text">Clients</p>
</div>
</div>
</article>
</section>
</main>

<footer class="footer">
<section class="footer__nav">
<div class="top-bar footer__top-bar">
<a href="#header" class="top-bar__logo top-bar__logo--white"></a>
</div>
<nav class="nav footer__nav">
<p class="nav__title">Menu</p>
<ul class="nav__list-footer">
<li class="nav__item-footer">
<a href="#products" class="nav__link-footer">Products</a>
</li>
<li class="nav__item-footer">
<a href="#about-us" class="nav__link-footer">About Us</a>
</li>
<li class="nav__item-footer">
<a href="https://example.com" class="nav__link-footer">Blog</a>
</li>
<li class="nav__item-footer">
<a href="https://example.com" class="nav__link-footer">Terms & Privacy</a>
</li>
</ul>
</nav>
</section>
<section class="contact-us">
<h1 class="contact-us__title">Contact us</h1>
<div class="contact-us__information">
<article class="contact-us__content">
<p class="contact-us__description">Call us</p>
<p class="contact-us__number"><a href="tel:6295550129" class="contact-us__tel">(629) 555-0129</a></p>
<p class="contact-us__number"><a href="tel:6035550123" class="contact-us__tel">(603) 555-0123</a></p>
<p class="contact-us__number"><a href="tel:7045550127" class="contact-us__tel">(704) 555-0127</a></p>
</article>
<article class="contact-us__info">
<p class="contact-us__description">Email us</p>
<p class="contact-us__email"><a href="mailto:bakerlab@example.com" class="contact-us__link">bakerlab@example.com</a></p>
</article>
</div>
</section>
<section class="contact-us__icons">
<a href="https://example.com">
<img
src="src/images/Icon-facebook.png"
alt="Facebook"
class="contact-us__icon"
>
</a>
<a href="https://example.com">
<img
src="src/images/Icon-instagram.png"
alt="Instagram"
class="contact-us__icon"
>
</a>
<a href="https://example.com">
<img
src="src/images/Icon-twitter.png"
alt="Twitter"
class="contact-us__icon"
>
</a>
</section>
<section class="contact-us__copyrite">
<p class="contact-us__copy">&#169; Bakerlab 2022</p>
</section>
</footer>
<script src="src/scripts/main.js"></script>
</body>
</html>
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@linthtml/linthtml": "^0.9.6",
"@mate-academy/bemlint": "latest",
"@mate-academy/linthtml-config": "latest",
"@mate-academy/scripts": "^2.1.2",
"@mate-academy/scripts": "^2.1.3",
"@mate-academy/stylelint-config": "latest",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
Expand Down
Binary file added src/images/Cookie-header.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/Crumbs-background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/Icon-arrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/Icon-cookie-disabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/Icon-cookie-hover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/Icon-cookie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/Icon-facebook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/Icon-instagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/Icon-phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/Icon-twitter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/Products/Cake-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/Products/Cake-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/Products/Cake-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/Products/Cookie-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/Products/Donuts-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/Products/Donuts-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/top-bar/Icon-close.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/top-bar/Icon-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/top-bar/Logo-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/top-bar/Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading