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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Implement landing page according to [Figma design](https://www.figma.com/file/dY
11. `git push origin develop` - to send you code for PR.
12. Create a Pull Request (PR) from your branch `develop` to branch `master` of original repo.
13. Replace `<your_account>` with your Github username in the
[DEMO LINK](https://<your_account>.github.io/layout_creativeBakery/).
[DEMO LINK](https://232567.github.io/layout_creativeBakery/).
14. Copy `DEMO LINK` to the PR description.

> To update you PR repeat steps 7-11.
Expand Down
281 changes: 269 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,275 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<title>Title</title>
<link
rel="stylesheet"
href="src/styles/main.scss"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Creative Bakery</title>
<link rel="icon" href="./src/images/favicon.png">

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are pointing the href to a favicon.png, but there is no such file in the images folder. Use cookie.png instead.


</head>

<body>
<h1>Hello Mate Academy</h1>
<script src="src/scripts/main.js"></script>
<header class="header" id="home">
<nav class="nav">
<a href="#" class="logo">Bakerlab</a>

<ul class="nav__list">
<li><a href="#products" class="nav__link">Products</a></li>
<li><a href="#about" class="nav__link">About Us</a></li>
<li><a href="#blog" class="nav__link">Blog</a></li>
<a href="#contact" class="nav__link nav__link--contact">
<img
class="nav__icon"
src="./src/images/icon-phone.png"
alt=""
>

Contact us
</a>
</ul>
</nav>
</header>

<main>

<!-- Hero section -->
<section class="hero">
<p class="hero__text">
We bake your fantasies — croissants, cakes, cookies, and cupcakes.
</p>

<div class="hero__content">
<h1 class="hero__title">
Creative
Bakery
</h1>

<img
class="hero__image"
src="./src/images/cookie.png"
alt="Cookie"
>
</div>

<a href="#about" class="hero__button">
<img
class="hero__button-icon"
src="./src/images/Icon-cookie.png"
alt=""
>
Learn more
</a>
</section>

<section class="products" id="products">
<div class="products__top">
<h2 class="products__title">What we bake</h2>

<p class="products__subtitle">
We can customize our cookies right for your needs.
Just imagine it.
</p>
</div>

<div class="products__grid">

<article class="product">
<img
class="product__image"
src="./src/images/cakes-1.png"
alt="Orange cake"
>

<p class="product__category">Cakes</p>

<h3 class="product__name">
Chocolate cakes with great cherries, orange zest and
chocolate chips
</h3>

<a href="#contact" class="product__order">
Order
</a>
</article>

<article class="product">
<img
class="product__image"
src="./src/images/cakes-2.png"
alt="Chocolate cake"
>

<p class="product__category">Cakes</p>

<h3 class="product__name">
Chocolate biscuit coffee cake topped with a buttercream
and powder
</h3>

<a href="#contact" class="product__order">
Order
</a>
</article>

<article class="product">
<img
class="product__image"
src="./src/images/Donuts-1.png"
alt="Donuts"
>

<p class="product__category">Donuts</p>

<h3 class="product__name">
Light multi-layered croissant blown with cinnamon
and cream
</h3>

<a href="#contact" class="product__order">
Order
</a>
</article>

<article class="product">
<img
class="product__image"
src="./src/images/Donuts-2.png"
alt="Donuts"
>

<p class="product__category">Donuts</p>

<h3 class="product__name">
Light multi-layered croissant blown with coconut
and nuts
</h3>

<a href="#contact" class="product__order">
Order
</a>
</article>

<article class="product">
<img
class="product__image"
src="./src/images/cakes-3.png"
alt="Chocolate pie"
>

<p class="product__category">Cakes</p>

<h3 class="product__name">
Chocolate salted caramel. Vanilla fruit pie
</h3>

<a href="#contact" class="product__order">
Order
</a>
</article>

<article class="product">
<img
class="product__image"
src="./src/images/cookies-1.png"
alt="Cookies"
>

<p class="product__category">Cookies</p>

<h3 class="product__name">
Chocolate cookies with golden raisins,
orange zest and chocolate chips
</h3>

<a href="#contact" class="product__order">
Order
</a>
</article>

</div>
</section>

<section class="about" id="about">
<div class="about__content">
<h2 class="about__title">
Few words <br>
about us
</h2>

<p class="about__text">
Like many early teens, Oleks and his father Ivan dreamed about
opening their own bakery. They spent countless hours experimenting
and baking while running at the family’s bakery. This passion
eventually grew into Bakerlab.
</p>
</div>

<div class="about__stats">
<div class="stat">
<h3 class="stat__number">2015</h3>
<p class="stat__text">Foundation year</p>
</div>

<div class="stat">
<h3 class="stat__number">23</h3>
<p class="stat__text">Stores</p>
</div>

<div class="stat">
<h3 class="stat__number">155</h3>
<p class="stat__text">Companies</p>
</div>

<div class="stat">
<h3 class="stat__number">10K+</h3>
<p class="stat__text">Clients</p>
</div>
</div>
</section>

<footer class="footer" id="contact">
<div class="footer__left">
<a href="#" class="footer__logo">Bakerlab</a>

<nav class="footer__menu">
<p class="footer__label">Menu</p>
<a href="#products">Products</a>
<a href="#about">About Us</a>
<a href="#blog">Blog</a>
<a href="#terms">Terms & Privacy</a>
</nav>

<div class="footer__socials">
<a href="#" target="_blank">
<img src="./src/images/icon-facebook.png" alt="Facebook">
</a>

<a href="#" target="_blank">
<img src="./src/images/icon-instagram.png" alt="Instagram">
</a>

<a href="#" target="_blank">
<img src="./src/images/icon-twitter.png" alt="Twitter">
</a>
</div>
</div>

<div class="footer__center">
<h2 class="footer__title">Contact us</h2>

<p class="footer__label">Call us</p>
<a href="tel:+12345559729">(629) 555-0129</a>
<a href="tel:+12345550123">(603) 555-0123</a>
<a href="tel:+12345550767">(704) 555-0127</a>

<p class="footer__copyright">© Bakerlab 2022</p>
</div>

<div class="footer__right">
<p class="footer__label">Email us</p>
<a href="mailto:bakerlab@example.com">bakerlab@example.com</a>
</div>
</footer>

<script type="module" src="./src/scripts/main.js"></script>
</body>
</html>
</html>
Loading
Loading