dodey917 commited on
Commit
1b9c17b
·
verified ·
1 Parent(s): c706cd0

add this image as the website logo

Browse files
Files changed (1) hide show
  1. components/header.js +9 -6
components/header.js CHANGED
@@ -22,11 +22,10 @@ class CustomHeader extends HTMLElement {
22
  justify-content: space-between;
23
  align-items: center;
24
  }
25
-
26
  .logo {
27
  display: flex;
28
  align-items: center;
29
- gap: 0.5rem;
30
  font-size: 1.5rem;
31
  font-weight: bold;
32
  color: white;
@@ -34,7 +33,12 @@ class CustomHeader extends HTMLElement {
34
  transition: color 0.3s;
35
  }
36
 
37
- .logo:hover {
 
 
 
 
 
38
  color: #ef4444;
39
  }
40
 
@@ -105,15 +109,14 @@ class CustomHeader extends HTMLElement {
105
  }
106
  }
107
  </style>
108
-
109
  <header>
110
  <nav>
111
  <a href="/" class="logo">
 
112
  <span>Wear.Fun</span>
113
  <span style="color: #ef4444;">🚀</span>
114
  </a>
115
-
116
- <ul class="nav-links" id="navLinks">
117
  <li><a href="/" class="nav-link">Home</a></li>
118
  <li><a href="/meme.html" class="nav-link">Create</a></li>
119
  <li><a href="/shop.html" class="nav-link">Shop</a></li>
 
22
  justify-content: space-between;
23
  align-items: center;
24
  }
 
25
  .logo {
26
  display: flex;
27
  align-items: center;
28
+ gap: 0.75rem;
29
  font-size: 1.5rem;
30
  font-weight: bold;
31
  color: white;
 
33
  transition: color 0.3s;
34
  }
35
 
36
+ .logo-img {
37
+ width: 32px;
38
+ height: 32px;
39
+ border-radius: 6px;
40
+ }
41
+ .logo:hover {
42
  color: #ef4444;
43
  }
44
 
 
109
  }
110
  }
111
  </style>
 
112
  <header>
113
  <nav>
114
  <a href="/" class="logo">
115
+ <img src="/public/logo.png" alt="Wear.Fun Logo" class="logo-img">
116
  <span>Wear.Fun</span>
117
  <span style="color: #ef4444;">🚀</span>
118
  </a>
119
+ <ul class="nav-links" id="navLinks">
 
120
  <li><a href="/" class="nav-link">Home</a></li>
121
  <li><a href="/meme.html" class="nav-link">Create</a></li>
122
  <li><a href="/shop.html" class="nav-link">Shop</a></li>