We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bf1469 commit 4c5b8f3Copy full SHA for 4c5b8f3
1 file changed
website/src/components/Header.tsx
@@ -2,6 +2,8 @@
2
3
import { useState, useCallback } from "react";
4
5
+const basePath = process.env.NEXT_PUBLIC_BASE_PATH ?? "";
6
+
7
interface HeaderProps {
8
onSearch: (query: string) => void;
9
}
@@ -38,7 +40,7 @@ export default function Header({ onSearch }: HeaderProps) {
38
40
href="/"
39
41
className="flex items-center gap-2 shrink-0 group"
42
>
- <img src="/logo.png" alt="Everything AI/ML logo" className="w-8 h-8 object-contain" />
43
+ <img src={`${basePath}/logo.png`} alt="Everything AI/ML logo" className="w-8 h-8 object-contain" />
44
<div className="hidden sm:block">
45
<div
46
className="font-bold text-base leading-tight"
0 commit comments