-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
347 additions
and
65 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,81 +80,117 @@ | |
<h1 class="visually-hidden">Интернет-магазин по продаже кофейных напитков Drink2Go.</h1> | ||
<div class="hero__wrapper"> | ||
<div class="hero__slider slider"> | ||
|
||
<ul class="slider__list"> | ||
|
||
<li class="slider__item slider__item--active"> | ||
<picture> | ||
<source type="image/webp" media="(min-width: 1440px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="600" height="600"> | ||
<source type="image/webp" media="(min-width: 768px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="476" height="476"> | ||
<source type="image/webp" srcset="images/[email protected] 1x, images/[email protected] 2x" width="280" height="280"> | ||
|
||
<source type="image/jpg" media="(min-width: 1440px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="600" height="600"> | ||
<source type="image/jpg" media="(min-width: 768px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="476" height="476"> | ||
<img class="slider__image" src="images/[email protected]" srcset="images/[email protected] 2x" width="280" height="280" alt="Напиток Декаф Флэт Уайт." loading="lazy"> | ||
</picture> | ||
<h2 class="slider__title title title--lg">Декаф Флэт Уайт</h2> | ||
<p class="slider__description">Свежесваренный кофе без кофеина из Эфиопии с натуральным фермерским молоком — то, что нужно для расслабления после тяжёлого рабочего дня</p> | ||
<div class="slider__action"> | ||
<div class="slider__price"> | ||
<s class="slider__price-old">295₽</s> | ||
<span class="slider__price-now">225₽</span> | ||
<div class="container"> | ||
<div class="slider__item-inner"> | ||
|
||
<div class="slider__image-wrapper"> | ||
<picture> | ||
<source type="image/webp" media="(min-width: 1440px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="600" height="600"> | ||
<source type="image/webp" media="(min-width: 768px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="476" height="476"> | ||
<source type="image/webp" srcset="images/[email protected] 1x, images/[email protected] 2x" width="280" height="280"> | ||
|
||
<source type="image/png" media="(min-width: 1440px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="600" height="600"> | ||
<source type="image/png" media="(min-width: 768px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="476" height="476"> | ||
<img class="slider__image" src="images/[email protected]" srcset="images/[email protected] 2x" width="280" height="280" alt="Напиток Декаф Флэт Уайт." loading="lazy"> | ||
</picture> | ||
</div> | ||
|
||
<div class="slider__text-wrapper"> | ||
<h2 class="slider__title title title--lg">Декаф Флэт Уайт</h2> | ||
<p class="slider__description">Свежесваренный кофе без кофеина из Эфиопии с натуральным фермерским молоком — то, что нужно для расслабления после тяжёлого рабочего дня</p> | ||
<div class="slider__action"> | ||
<div class="slider__price"> | ||
<s class="slider__price-old">295₽</s> | ||
<span class="slider__price-now">225₽</span> | ||
</div> | ||
<button class="slider__button button button--accent" type="button">Заказать</button> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
<button class="slider__button button button--accent">Заказать</button> | ||
</div> | ||
</li> | ||
|
||
<li class="slider__item"> | ||
<picture> | ||
<source type="image/webp" media="(min-width: 1440px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="600" height="600"> | ||
<source type="image/webp" media="(min-width: 768px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="476" height="476"> | ||
<source type="image/webp" srcset="images/[email protected] 1x, images/[email protected] 2x" width="280" height="280"> | ||
|
||
<source type="image/jpg" media="(min-width: 1440px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="600" height="600"> | ||
<source type="image/jpg" media="(min-width: 768px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="476" height="476"> | ||
<img class="slider__image" src="images/[email protected]" srcset="images/[email protected] 2x" width="280" height="280" alt="Напиток Лавандовый Латте." loading="lazy"> | ||
</picture> | ||
<h2 class="slider__title title title--lg">Лавандовый Латте</h2> | ||
<p class="slider__description">Невероятное сочетание перуанской высокогорной арабики с молоком ламы и лавандовым сиропом унесёт вас прямо на вершину Радужных гор</p> | ||
<div class="slider__action"> | ||
<div class="slider__price"> | ||
<s class="slider__price-old">285₽</s> | ||
<span class="slider__price-now">265₽</span> | ||
<div class="container"> | ||
<div class="slider__item-inner"> | ||
|
||
<div class="slider__image-wrapper"> | ||
<picture> | ||
<source type="image/webp" media="(min-width: 1440px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="600" height="600"> | ||
<source type="image/webp" media="(min-width: 768px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="476" height="476"> | ||
<source type="image/webp" srcset="images/[email protected] 1x, images/[email protected] 2x" width="280" height="280"> | ||
|
||
<source type="image/jpg" media="(min-width: 1440px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="600" height="600"> | ||
<source type="image/jpg" media="(min-width: 768px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="476" height="476"> | ||
<img class="slider__image" src="images/[email protected]" srcset="images/[email protected] 2x" width="280" height="280" alt="Напиток Лавандовый Латте." loading="lazy"> | ||
</picture> | ||
</div> | ||
|
||
<div class="slider__text-wrapper"> | ||
<h2 class="slider__title title title--lg">Лавандовый Латте</h2> | ||
<p class="slider__description">Невероятное сочетание перуанской высокогорной арабики с молоком ламы и лавандовым сиропом унесёт вас прямо на вершину Радужных гор</p> | ||
<div class="slider__action"> | ||
<div class="slider__price"> | ||
<s class="slider__price-old">285₽</s> | ||
<span class="slider__price-now">265₽</span> | ||
</div> | ||
<button class="slider__button button button--accent" type="button">Заказать</button> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
<button class="slider__button button button--accent">Заказать</button> | ||
</div> | ||
</li> | ||
|
||
<li class="slider__item"> | ||
<picture> | ||
<source type="image/webp" media="(min-width: 1440px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="600" height="600"> | ||
<source type="image/webp" media="(min-width: 768px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="476" height="476"> | ||
<source type="image/webp" srcset="images/[email protected] 1x, images/[email protected] 2x" width="280" height="280"> | ||
|
||
<source type="image/jpg" media="(min-width: 1440px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="600" height="600"> | ||
<source type="image/jpg" media="(min-width: 768px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="476" height="476"> | ||
<img class="slider__image" src="images/[email protected]" srcset="images/[email protected] 2x" width="280" height="280" alt="Напиток Лавандовый Латте." loading="lazy"> | ||
</picture> | ||
<h2 class="slider__title title title--lg">Тройной Эспрессо</h2> | ||
<p class="slider__description">Мощнее укола адреналина, чернее самой тёмной ночи, этот тройной эспрессо из Колумбии покажет вам, что такое настоящая бодрость</p> | ||
<div class="slider__action"> | ||
<div class="slider__price"> | ||
<s class="slider__price-old">395₽</s> | ||
<span class="slider__price-now">375₽</span> | ||
<div class="container"> | ||
<div class="slider__item-inner"> | ||
|
||
<div class="slider__image-wrapper"> | ||
<picture> | ||
<source type="image/webp" media="(min-width: 1440px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="600" height="600"> | ||
<source type="image/webp" media="(min-width: 768px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="476" height="476"> | ||
<source type="image/webp" srcset="images/[email protected] 1x, images/[email protected] 2x" width="280" height="280"> | ||
|
||
<source type="image/jpg" media="(min-width: 1440px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="600" height="600"> | ||
<source type="image/jpg" media="(min-width: 768px)" srcset="images/[email protected] 1x, images/[email protected] 2x" width="476" height="476"> | ||
<img class="slider__image" src="images/[email protected]" srcset="images/[email protected] 2x" width="280" height="280" alt="Напиток Лавандовый Латте." loading="lazy"> | ||
</picture> | ||
</div> | ||
|
||
<div class="slider__text-wrapper"> | ||
<h2 class="slider__title title title--lg">Тройной Эспрессо</h2> | ||
<p class="slider__description">Мощнее укола адреналина, чернее самой тёмной ночи, этот тройной эспрессо из Колумбии покажет вам, что такое настоящая бодрость</p> | ||
<div class="slider__action"> | ||
<div class="slider__price"> | ||
<s class="slider__price-old">395₽</s> | ||
<span class="slider__price-now">375₽</span> | ||
</div> | ||
<button class="slider__button button button--accent" type="button">Заказать</button> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
<button class="slider__button button button--accent">Заказать</button> | ||
</div> | ||
</li> | ||
</ul> | ||
|
||
<div class="slider__navigation"> | ||
<button class="slider__prev">1</button> | ||
<button class="slider__next">2</button> | ||
</div> | ||
<!-- <div class="slider__navigation"> | ||
<span class="slider__nav-button slider__nav-button--prev"></span> | ||
<span class="slider__nav-button slider__nav-button--next"></span> | ||
</div> --> | ||
|
||
<button class="slider__nav-button slider__nav-button--prev" type="button"></button> | ||
<button class="slider__nav-button slider__nav-button--next" type="button"></button> | ||
|
||
<div class="slider__pagination"> | ||
<ul class="pagination-list"> | ||
<li class="pagination-list__item pagination-list__item--active"></li> | ||
<li class="pagination-list__item"></li> | ||
<li class="pagination-list__item"></li> | ||
</ul> | ||
<div class="slider__pagination-item slider__pagination-item--active"></div> | ||
<div class="slider__pagination-item"></div> | ||
<div class="slider__pagination-item"></div> | ||
</div> | ||
|
||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.