Skip to content

Commit e25a90a

Browse files
raifdmuellerclaude
andcommitted
feat: add "Star on GitHub" link to the main intro link row
Adds a third link next to About and Propose New Anchor, pointing to the GitHub repository, with a star icon. Bilingual (EN/DE). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent b0a0678 commit e25a90a

3 files changed

Lines changed: 15 additions & 0 deletions

File tree

website/src/components/main-content.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,19 @@ export function renderMain() {
9595
${i18n.t('main.proposeAnchor')}
9696
</a>
9797
<span class="text-gray-300 dark:text-gray-600">|</span>
98+
<a
99+
href="https://github.com/LLM-Coding/Semantic-Anchors"
100+
target="_blank"
101+
rel="noopener noreferrer"
102+
class="inline-flex items-center gap-1 text-blue-600 dark:text-blue-400 hover:underline"
103+
data-i18n="main.starGithub"
104+
>
105+
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
106+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.915c.969 0 1.371 1.24.588 1.81l-3.976 2.888a1 1 0 00-.363 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.976-2.888a1 1 0 00-1.176 0l-3.976 2.888c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.363-1.118l-3.976-2.888c-.784-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z"></path>
107+
</svg>
108+
${i18n.t('main.starGithub')}
109+
</a>
110+
<span class="text-gray-300 dark:text-gray-600">|</span>
98111
<a
99112
href="#filters"
100113
class="inline-flex items-center gap-1 text-blue-600 dark:text-blue-400 hover:underline ml-auto"

website/src/translations/de.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"hero.skipToCatalog": "Zum Katalog ↓",
7171
"main.aboutLink": "Über",
7272
"main.proposeAnchor": "Neuen Anker vorschlagen",
73+
"main.starGithub": "Stern auf GitHub",
7374
"main.documentation": "Dokumentation",
7475
"search.placeholder": "Anchors durchsuchen...",
7576
"search.fullText": "(Volltext)",

website/src/translations/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"hero.skipToCatalog": "Skip to catalog ↓",
7171
"main.aboutLink": "About",
7272
"main.proposeAnchor": "Propose New Anchor",
73+
"main.starGithub": "Star on GitHub",
7374
"main.documentation": "Documentation",
7475
"search.placeholder": "Search anchors...",
7576
"search.fullText": "(full-text)",

0 commit comments

Comments
 (0)