Skip to content

Commit 425b59f

Browse files
raifdmuellerclaude
andcommitted
feat: Add logo to website header
Display the Semantic Anchors logo (anchor in speech bubble) next to the site title in the navigation header. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent aefa0b4 commit 425b59f

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules/
22
*.png
3+
!website/public/logo.png
34
.playwright-mcp/

website/public/logo.png

111 KB
Loading

website/src/components/header.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ export function renderHeader() {
99
<div class="flex items-center justify-between">
1010
<div class="flex items-center gap-6">
1111
<h1 class="text-xl font-bold text-[var(--color-text)]">
12-
<a href="#/" class="no-underline text-inherit hover:text-[var(--color-primary)] transition-colors" data-i18n="app.title">Semantic Anchors</a>
12+
<a href="#/" class="no-underline text-inherit hover:text-[var(--color-primary)] transition-colors flex items-center gap-2" data-i18n="app.title">
13+
<img src="${import.meta.env.BASE_URL}logo.png" alt="" class="h-8 w-8" aria-hidden="true" />
14+
Semantic Anchors
15+
</a>
1316
</h1>
1417
<div class="hidden sm:flex items-center gap-4 text-sm">
1518
<a href="#/" class="nav-link text-[var(--color-text-secondary)] hover:text-[var(--color-text)] transition-colors" data-route="/" data-i18n="nav.catalog">${i18n.t('nav.catalog')}</a>

0 commit comments

Comments
 (0)