Update frontend/src/components/AppHeader.jsx
Browse files
frontend/src/components/AppHeader.jsx
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
// frontend/src/components/AppHeader.jsx
|
| 2 |
import React from "react";
|
|
|
|
| 3 |
|
| 4 |
export default function AppHeader({ title, subtitle, right }) {
|
| 5 |
return (
|
|
@@ -7,7 +8,7 @@ export default function AppHeader({ title, subtitle, right }) {
|
|
| 7 |
<div className="max-w-6xl mx-auto px-4 py-4 flex items-center justify-between gap-4">
|
| 8 |
<div className="flex items-center gap-3 min-w-0">
|
| 9 |
<img
|
| 10 |
-
src=
|
| 11 |
alt="Karate Dojo logo"
|
| 12 |
className="h-8 w-8 rounded-full border border-slate-200 object-contain bg-white"
|
| 13 |
/>
|
|
|
|
| 1 |
// frontend/src/components/AppHeader.jsx
|
| 2 |
import React from "react";
|
| 3 |
+
import dojoLogo from "/dojo-logo.png"; // <-- important: import from public
|
| 4 |
|
| 5 |
export default function AppHeader({ title, subtitle, right }) {
|
| 6 |
return (
|
|
|
|
| 8 |
<div className="max-w-6xl mx-auto px-4 py-4 flex items-center justify-between gap-4">
|
| 9 |
<div className="flex items-center gap-3 min-w-0">
|
| 10 |
<img
|
| 11 |
+
src={dojoLogo}
|
| 12 |
alt="Karate Dojo logo"
|
| 13 |
className="h-8 w-8 rounded-full border border-slate-200 object-contain bg-white"
|
| 14 |
/>
|