Skip to content

Commit a792bef

Browse files
yuval blochclaude
andcommitted
Fix logo path for GitHub Pages base URL
/figaro_logo.svg resolves to the wrong root when Vite base is /figaro-/. Use import.meta.env.BASE_URL so the path is always correct. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent bce589a commit a792bef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/topbar/TopBar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function TopBar() {
4141
return (
4242
<header className="h-12 shrink-0 border-b border-border bg-background flex items-center px-4 gap-4">
4343
<img
44-
src="/figaro_logo.svg"
44+
src={`${import.meta.env.BASE_URL}figaro_logo.svg`}
4545
alt="Figaro"
4646
className="h-9 w-auto shrink-0"
4747
draggable={false}

0 commit comments

Comments
 (0)