Skip to content

Commit e5fa134

Browse files
committed
favicon
1 parent 2a15f30 commit e5fa134

File tree

9 files changed

+32
-5
lines changed

9 files changed

+32
-5
lines changed

docs/src/.vitepress/config.mts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ export default defineConfig({
1212
cleanUrls: true,
1313
outDir: 'REPLACE_ME_DOCUMENTER_VITEPRESS', // This is required for MarkdownVitepress to work correctly...
1414
head: [
15-
["link", { rel: "icon", href: "/assets/favicon.ico" }],
15+
["link", { rel: "icon", type: "image/png", href: "/assets/favicon-96x96.png", size: "96x96" }],
16+
["link", { rel: "icon", type: "image/svg+xml", href: "/assets/favicon.svg"}],
17+
["link", { rel: "shortcut icon", href: "/assets/favicon.ico"}],
18+
["link", { rel: "apple-touch-icon", href: "/assets/apple-touch-icon.png", size: "180x180" }],
1619
// ['link', { rel: 'icon', href: 'REPLACE_ME_DOCUMENTER_VITEPRESS_FAVICON' }]
1720
],
1821
ignoreDeadLinks: true,
@@ -30,7 +33,7 @@ export default defineConfig({
3033
},
3134
themeConfig: {
3235
outline: 'deep',
33-
logo: 'REPLACE_ME_DOCUMENTER_VITEPRESS',
36+
// logo: 'REPLACE_ME_DOCUMENTER_VITEPRESS',
3437
search: {
3538
provider: 'local',
3639
options: {
@@ -45,7 +48,7 @@ export default defineConfig({
4548
],
4649
footer: {
4750
message: 'Made with <a href="https://luxdl.github.io/DocumenterVitepress.jl/dev/" target="_blank"><strong>DocumenterVitepress.jl</strong></a><br>',
48-
copyright: `© Copyright ${new Date().getUTCFullYear()}.`
51+
copyright: `© Copyright ${new Date().getUTCFullYear()} Quinten Preiß.`
4952
}
5053
}
5154
})

docs/src/.vitepress/theme/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/styles/var
7676
--vp-home-hero-name-color: transparent;
7777
--vp-home-hero-name-background: -webkit-linear-gradient(
7878
120deg,
79-
#9558b259 10%,
80-
#9558B2);
79+
#9558B2 10%,
80+
#CB3C33);
8181
/* --vp-home-hero-name-background: #9558B2; */
8282

8383
/* --vp-home-hero-image-background-image: linear-gradient(

docs/src/assets/apple-touch-icon.png

7.35 KB
Loading

docs/src/assets/favicon-96x96.png

3.18 KB
Loading

docs/src/assets/favicon.ico

8.1 KB
Binary file not shown.

docs/src/assets/favicon.svg

Lines changed: 3 additions & 0 deletions
Loading

docs/src/assets/site.webmanifest

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "MyWebSite",
3+
"short_name": "MySite",
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+
}
8.82 KB
Loading
40.8 KB
Loading

0 commit comments

Comments
 (0)