Skip to content

Commit

Permalink
Merge pull request #8 from IliyaPolyakov:module3-task1
Browse files Browse the repository at this point in the history
Добавляю favicon
  • Loading branch information
IliyaPolyakov authored Oct 29, 2024
2 parents 86f18e2 + 9057888 commit f198319
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 25 deletions.
Binary file added favicon.ico
Binary file not shown.
50 changes: 26 additions & 24 deletions source/catalog.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="favicon.ico">
<link rel="icon" href="favicons/icon.svg" type="image/svg+xml">
<link rel="icon" href="favicon.ico">
<link rel="manifest" href="manifest.webmanifest">
<title>Каталог продукции</title>
</head>
<body class="">
<header class="main-header">
<nav class="navigation">
<a class="header-logo">
<img
class="main-header__logo-image"
src="/source/images/logo-mobile.svg"
width="33"
height="38"
alt="логотип кота"
/>
<a class="main-header__logo">
<picture>
<source media="(min-width:786px)" width="60" height="50" type="image/svg+xml" srcset="/source/images/logo-tablet.svg" alt="логотип кота" />
<source media="(min-width:1200px)" width="70" height="69" type="image/svg+xml" srcset="/source/images/logo-desktop.svg" alt="логотип кота" />
<img class="main-header__logo-image" src="/source/images/logo-mobile.svg" width="33" height="38" alt="логотип кота" />
</picture>
</a>
<a class="main-header__logo-text">
<img
class="main-header__logo-text"
src="/source/images/cat_energy_text.svg"
width="101"
height="18"
alt="текст кот энергия"
/>
</a>
<picture>
<source media="(min-width:1200px)" width="118" height="21" type="image/svg+xml" srcset="/source/images/cat_energy_text.svg" alt="текст кот энергия" >
<img class="main-header__logo-text" src="/source/images/cat_energy_text.svg" width="101"
height="18" alt="текст кот энергия"/>
</picture>
</a>
<button class="open-menu" type="button">
<span class="visually-hidden">Открыть меню</span>
</button>
Expand All @@ -40,6 +40,9 @@
<a href="#">Подбор программы</a>
</li>
</ul>
<h1>Функциональное питание для котов</h1>
<p>Занялся собой? Займись котом!</p>
<a href="#" class="select-program">Подобрать программу</a>
</nav>
</header>
<main class="main-container-catalog">
Expand Down Expand Up @@ -283,14 +286,13 @@ <h2 class="invitation__title">Приглашаем к сотруднечиств
<footer class="main-footer">
<div class="main-footer__wrapper">
<div class="main-footer__contact">
<a
><img
class="contacts-icon"
src="/source/images/cat_energy_text.svg"
width="128"
height="24"
alt="кот енергия"
/></a>
<a>
<picture>
<source media="(min-width:1200px)" width="118" height="21" type="image/svg+xml" srcset="/source/images/cat_energy_text.svg" alt="текст кот энергия" >
<img class="main-header__logo-text" src="/source/images/cat_energy_text.svg" width="101"
height="18" alt="текст кот энергия"/>
</picture>
</a>
</div>
<div class="main-footer__social">
<ul class="social-list">
Expand Down
Binary file added source/favicons/180.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/favicons/192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions source/favicons/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion source/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
<title>Cat energy</title>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" href="styles/styles.css" />
<link rel="icon" href="favicon.ico">
<link rel="icon" href="favicons/icon.svg" type="image/svg+xml">
<link rel="icon" href="favicon.ico">
<link rel="manifest" href="manifest.webmanifest">
<script src="scripts/index.js" defer></script>
</head>
<body class="page">
Expand Down Expand Up @@ -160,7 +164,11 @@ <h2 class="invitation__title">Приглашаем к сотруднечиств
<div class="main-footer__wrapper">
<div class="main-footer__contact">
<a>
<img class="contacts-icon" src="/source/images/cat_energy_text.svg" width="128" height="24" alt="кот енергия"/>
<picture>
<source media="(min-width:1200px)" width="118" height="21" type="image/svg+xml" srcset="/source/images/cat_energy_text.svg" alt="текст кот энергия" >
<img class="main-header__logo-text" src="/source/images/cat_energy_text.svg" width="101"
height="18" alt="текст кот энергия"/>
</picture>
</a>
</div>
<div class="main-footer__social">
Expand Down
9 changes: 9 additions & 0 deletions source/manifest.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"icons":[
{ "src": "/favicons/192.png", "type": "image/png", "sizes": "" },
{ "src": "/favicons/180.png", "type": "image/png", "sizes": "" },
{ "src": "", "type": "", "sizes": "" }
]


}

0 comments on commit f198319

Please sign in to comment.