Skip to content

Commit 9f6c307

Browse files
niconiconiclaude
andcommitted
docs: add o.cash logo as site favicon and nav icon
Extract the O icon from o.cash/logo.svg, use as favicon and navbar logo. Add default theme re-export to fix build. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8c48774 commit 9f6c307

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

docs/.vitepress/config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ export default defineConfig({
44
title: '@ocash/sdk',
55
description: 'TypeScript ZKP SDK for privacy-preserving token operations',
66

7+
head: [
8+
['link', { rel: 'icon', type: 'image/svg+xml', href: '/logo.svg' }],
9+
],
10+
711
locales: {
812
root: {
913
label: 'English',
@@ -118,6 +122,7 @@ export default defineConfig({
118122
},
119123

120124
themeConfig: {
125+
logo: '/logo.svg',
121126
search: {
122127
provider: 'local',
123128
},

docs/.vitepress/theme/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import DefaultTheme from 'vitepress/theme';
2+
3+
export default DefaultTheme;

docs/public/logo.svg

Lines changed: 5 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)