bitlo commited on
Commit
8d54e17
·
verified ·
1 Parent(s): 0e93776

Создай favicon

Browse files
Files changed (3) hide show
  1. components/navbar.js +5 -3
  2. index.html +2 -1
  3. static/favicon.ico +4 -0
components/navbar.js CHANGED
@@ -26,7 +26,9 @@ class CustomNavbar extends HTMLElement {
26
  </style>
27
  <nav class="navbar fixed w-full z-50 py-4 px-6 bg-white md:bg-transparent">
28
  <div class="container mx-auto flex justify-between items-center">
29
- <a href="/" class="text-2xl font-bold text-primary">Toptera</a>
30
-
31
- <div class="hidden md:flex space-x-8">
 
 
32
  <a href="#problem" class="text-zinc-700 hover:text-primary transition duration-300">
 
26
  </style>
27
  <nav class="navbar fixed w-full z-50 py-4 px-6 bg-white md:bg-transparent">
28
  <div class="container mx-auto flex justify-between items-center">
29
+ <a href="/" class="text-2xl font-bold text-primary flex items-center">
30
+ <img src="/static/favicon.ico" alt="Logo" class="w-6 h-6 mr-2">
31
+ Toptera
32
+ </a>
33
+ <div class="hidden md:flex space-x-8">
34
  <a href="#problem" class="text-zinc-700 hover:text-primary transition duration-300">
index.html CHANGED
@@ -4,7 +4,8 @@
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Toptera - Контент-машины для роста трафика</title>
7
- <link rel="stylesheet" href="style.css">
 
8
  <script src="https://cdn.tailwindcss.com"></script>
9
  <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
  <script src="https://unpkg.com/feather-icons"></script>
 
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Toptera - Контент-машины для роста трафика</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <link rel="stylesheet" href="style.css">
9
  <script src="https://cdn.tailwindcss.com"></script>
10
  <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
11
  <script src="https://unpkg.com/feather-icons"></script>
static/favicon.ico ADDED