Skip to content

Commit 06d3c9e

Browse files
committed
docs: add Mobile ID favicon set from realfavicongenerator.net
Replace the old SVG favicon with a complete set including PNG, SVG, ICO, Apple touch icon, and web app manifest for proper cross-browser and cross-device support.
1 parent 74fd776 commit 06d3c9e

8 files changed

Lines changed: 36 additions & 1 deletion

File tree

docs/.vitepress/config.mts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@ export default defineConfig({
1616
}
1717
},
1818

19-
head: [['link', { rel: 'icon', href: '/mobileid.svg' }]],
19+
head: [
20+
['link', { rel: 'icon', type: 'image/png', sizes: '96x96', href: '/favicon-96x96.png' }],
21+
['link', { rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' }],
22+
['link', { rel: 'shortcut icon', href: '/favicon.ico' }],
23+
['link', { rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' }],
24+
['link', { rel: 'manifest', href: '/site.webmanifest' }],
25+
],
2026

2127
themeConfig: {
2228
// https://vitepress.dev/reference/default-theme-config

docs/public/apple-touch-icon.png

6.74 KB
Loading

docs/public/favicon-96x96.png

3.78 KB
Loading

docs/public/favicon.ico

14.7 KB
Binary file not shown.

docs/public/favicon.svg

Lines changed: 8 additions & 0 deletions
Loading

docs/public/site.webmanifest

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "Mobile ID docs",
3+
"short_name": "Mobile ID",
4+
"icons": [
5+
{
6+
"src": "/web-app-manifest-192x192.png",
7+
"sizes": "192x192",
8+
"type": "image/png",
9+
"purpose": "maskable"
10+
},
11+
{
12+
"src": "/web-app-manifest-512x512.png",
13+
"sizes": "512x512",
14+
"type": "image/png",
15+
"purpose": "maskable"
16+
}
17+
],
18+
"theme_color": "#ffffff",
19+
"background_color": "#ffffff",
20+
"display": "standalone"
21+
}
7.22 KB
Loading
24.5 KB
Loading

0 commit comments

Comments
 (0)