Skip to content
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

Адаптивная графика #6

Merged
merged 2 commits into from
Dec 15, 2024
Merged
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
49 changes: 38 additions & 11 deletions source/catalog.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@
<body class="page__body">
<header class="site-header">
<a class="site-header__link" href="index.html">
<img class="site-header__image" src="img/logo.svg" width="202" height="59"
alt="Логотип «Кэт Энерджи»">
<picture>
<source media="(min-width: 1440px)" srcset="img/logo-desktop.svg">
<source media="(min-width: 768px)" srcset="img/logo-tablet.svg">
<img class="main-header__logo" src="img/logo-mobile.svg" alt="Логотип «Кэт Энерджи»">
</picture>
</a>
<nav class="site-header__navigation">
<button class="main-header__toggle" type="button">
Expand Down Expand Up @@ -47,7 +50,10 @@ <h1 class="products__title">
<li class="products__item product">
<div class="product__card">
<a class="product__link" href="#">
<img class="product__image" src="img/little-chicken.png" width="161" height="172" alt="Маленький корм cо вкусом курицы">
<picture>
<source media="(min-width: 768px)" srcset="img/little-chicken-tablet.png 1x, img/[email protected] 2x">
<img class="product__image" src="img/little-chicken-mobile.png" srcset="img/[email protected] 2x" alt="Маленький корм cо вкусом курицы">
</picture>
</a>
<ul class="product__description">
<li class="product__item">
Expand Down Expand Up @@ -88,7 +94,10 @@ <h3 class="product__name">
<li class="products__item product">
<div class="product__card">
<a class="product__link" href="#">
<img class="product__image" src="img/big-chicken.png" width="172" height="196" alt="Большой корм со вкусом курицы">
<picture>
<source media="(min-width: 768px)" srcset="img/big-chicken-tablet.png 1x, img/[email protected] 2x">
<img class="product__image" src="img/big-chicken-mobile.png" srcset="img/[email protected] 2x" alt="Большой корм со вкусом курицы">
</picture>
</a>
<ul class="product__description">
<li class="product__item">
Expand Down Expand Up @@ -129,7 +138,10 @@ <h3 class="product__name">
<li class="products__item product">
<div class="product__card">
<a class="product__link" href="#">
<img class="product__image" src="img/little-fish.png" width="163" height="174" alt="Маленький корм со вкусом рыбы">
<picture>
<source media="(min-width: 768px)" srcset="img/little-fish-tablet.png 1x, img/[email protected] 2x">
<img class="product__image" src="img/little-fish-mobile.png" srcset="img/[email protected] 2x" alt="Маленький корм со вкусом рыбы">
</picture>
</a>
<ul class="product__description">
<li class="product__item">
Expand Down Expand Up @@ -170,7 +182,10 @@ <h3 class="product__name">
<li class="products__item product">
<div class="product__card">
<a class="product__link" href="#">
<img class="product__image" src="img/little-fish.png" width="172" height="196" alt="Большой корм со вкусом рыбы">
<picture>
<source media="(min-width: 768px)" srcset="img/big-fish-tablet.png 1x, img/[email protected] 2x">
<img class="product__image" src="img/big-fish-mobile.png" srcset="img/[email protected] 2x" alt="Большой корм со вкусом рыбы">
</picture>
</a>
<ul class="product__description">
<li class="product__item">
Expand Down Expand Up @@ -211,7 +226,10 @@ <h3 class="product__name">
<li class="products__item product">
<div class="product__card">
<a class="product__link" href="#">
<img class="product__image" src="img/little-buckwheat.png" width="161" height="171" alt="Маленький корм со вкусом гречки">
<picture>
<source media="(min-width: 768px)" srcset="img/little-buckwheat-tablet.png 1x, img/[email protected] 2x">
<img class="product__image" src="img/little-buckwheat-mobile.png" srcset="img/[email protected] 2x" alt="Маленький корм со вкусом гречки">
</picture>
</a>
<ul class="product__description">
<li class="product__item">
Expand Down Expand Up @@ -252,7 +270,10 @@ <h3 class="product__name">
<li class="products__item product">
<div class="product__card">
<a class="product__link" href="#">
<img class="product__image" src="img/big-buckwheat.png" width="172" height="196" alt="Большой корм со вкусом гречки">
<picture>
<source media="(min-width: 768px)" srcset="img/big-buckwheat-tablet.png 1x, img/[email protected] 2x">
<img class="product__image" src="img/big-buckwheat-mobile.png" srcset="img/[email protected] 2x" alt="Большой корм со вкусом гречки">
</picture>
</a>
<ul class="product__description">
<li class="product__item">
Expand Down Expand Up @@ -293,7 +314,10 @@ <h3 class="product__name">
<li class="products__item product">
<div class="product__card">
<a class="product__link" href="#">
<img class="product__image" src="img/little-rice.png" width="163" height="174" alt="Маленький корм со вкусом риса">
<picture>
<source media="(min-width: 768px)" srcset="img/little-rice-tablet.png 1x, img/[email protected] 2x">
<img class="product__image" src="img/little-rice-mobile.png" srcset="img/[email protected] 2x" alt="Маленький корм со вкусом риса">
</picture>
</a>
<ul class="product__description">
<li class="product__item">
Expand Down Expand Up @@ -451,7 +475,7 @@ <h3 class="extra__name">
</span>
</div>
</address>
<img class="map__image" src="img/map-mobile.jpg" width="320" height="362" alt="">
<iframe class="map__iframe" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1998.603625719817!2d30.32047247732077!3d59.938719162093584!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x4696310fca145cc1%3A0x42b32648d8238007!2z0JHQvtC70YzRiNCw0Y8g0JrQvtC90Y7RiNC10L3QvdCw0Y8g0YPQuy4sIDE5LzgsINCh0LDQvdC60YIt0J_QtdGC0LXRgNCx0YPRgNCzLCAxOTExODY!5e0!3m2!1sru!2sru!4v1733820038769!5m2!1sru!2sru" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
</section>
</main>
Expand Down Expand Up @@ -487,7 +511,10 @@ <h3 class="extra__name">
HTML Academy
</a>
<a class="copyright__link-image" href="https://htmlacademy.ru">
<img class="copyright__image" src="img/copyright.svg" width="27" height="34">
<picture>
<source media="(min-width: 768px)" srcset="img/copyright-tablet.svg">
<img class="copyright__image" src="img/copyright-mobile.svg">
</picture>
</a>
</div>
</div>
Expand Down
16 changes: 11 additions & 5 deletions source/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@
<body class="page__body">
<header class="site-header">
<a class="site-header__link" href="index.html">
<img class="site-header__image" src="img/logo.svg" width="202" height="59"
alt="Логотип «Кэт Энерджи»">
<picture>
<source media="(min-width: 1440px)" srcset="img/logo-desktop.svg">
<source media="(min-width: 768px)" srcset="img/logo-tablet.svg">
<img class="site-header__image" src="img/logo-mobile.svg" alt="Логотип «Кэт Энерджи»">
</picture>
</a>
<nav class="site-header__navigation">
<button class="main-header__toggle" type="button">
Expand Down Expand Up @@ -162,7 +165,7 @@ <h2 class="additionally__title">Дополнительно</h2>
</span>
</div>
</address>
<img class="map__image" src="img/map-mobile.jpg" width="320" height="362" alt="">
<iframe class="map__iframe" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1998.603625719817!2d30.32047247732077!3d59.938719162093584!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x4696310fca145cc1%3A0x42b32648d8238007!2z0JHQvtC70YzRiNCw0Y8g0JrQvtC90Y7RiNC10L3QvdCw0Y8g0YPQuy4sIDE5LzgsINCh0LDQvdC60YIt0J_QtdGC0LXRgNCx0YPRgNCzLCAxOTExODY!5e0!3m2!1sru!2sru!4v1733820038769!5m2!1sru!2sru" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
</section>
</main>
Expand Down Expand Up @@ -198,10 +201,13 @@ <h2 class="additionally__title">Дополнительно</h2>
HTML Academy
</a>
<a class="copyright__link-image" href="https://htmlacademy.ru">
<img class="copyright__image" src="img/copyright.svg" width="27" height="34">
<picture>
<source media="(min-width: 768px)" srcset="img/copyright-tablet.svg">
<img class="copyright__image" src="img/copyright-mobile.svg">
</picture>
</a>
</div>
</div>
</footer>
</body>
</html>
</html>
Binary file added source/img/big-buckwheat-mobile.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 source/img/[email protected]
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 source/img/big-buckwheat-tablet.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 source/img/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed source/img/big-buckwheat.png
Binary file not shown.
Binary file added source/img/big-chicken-mobile.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 source/img/[email protected]
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 source/img/big-chicken-tablet.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 source/img/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed source/img/big-chicken.png
Binary file not shown.
Binary file added source/img/big-fish-mobile.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 source/img/[email protected]
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 source/img/big-fish-tablet.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 source/img/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed source/img/big-fish.png
Binary file not shown.
File renamed without changes
1 change: 1 addition & 0 deletions source/img/copyright-tablet.svg
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 source/img/example-cat-big-mobile.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 source/img/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added source/img/[email protected]
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 source/img/example-cat-small-mobile.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 source/img/[email protected]
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 source/img/[email protected]
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 source/img/extra-gift-desktop.jpg
Binary file added source/img/[email protected]
Binary file added source/img/extra-gift-mobile.jpg
Binary file added source/img/[email protected]
Binary file added source/img/extra-gift-tablet.jpg
Binary file added source/img/[email protected]
Binary file removed source/img/extra-gift.jpg
Diff not rendered.
File renamed without changes
1 change: 1 addition & 0 deletions source/img/food-slimming-mobile.svg
1 change: 1 addition & 0 deletions source/img/food-slimming-tablet.svg
File renamed without changes
Loading
Loading