Skip to content

Commit 8a801b1

Browse files
add favicons
1 parent 23c248a commit 8a801b1

10 files changed

+44
-4
lines changed

nuxt.config.ts

+22-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,28 @@ export default defineNuxtConfig({
2121
htmlAttrs: {
2222
lang: 'en'
2323
},
24-
title: 'SupaNuxt SaaS'
24+
title: 'SupaNuxt SaaS',
25+
link: [
26+
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
27+
{
28+
rel: 'icon',
29+
type: 'image/png',
30+
sizes: '32x32',
31+
href: '/favicon-32x32.png'
32+
},
33+
{
34+
rel: 'icon',
35+
type: 'image/png',
36+
sizes: '16x16',
37+
href: '/favicon-16x16.png'
38+
},
39+
{
40+
rel: 'apple-touch-icon',
41+
sizes: '180x180',
42+
href: '/apple-touch-icon.png'
43+
},
44+
{ rel: 'manifest', href: '/site.webmanifest' }
45+
]
2546
}
2647
},
2748
runtimeConfig: {

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "supanuxt-saas",
3-
"version": "1.4.1",
3+
"version": "1.4.2",
44
"author": {
55
"name": "Michael Dausmann",
66
"email": "[email protected]",

public/android-chrome-192x192.png

30.6 KB
Loading

public/android-chrome-512x512.png

117 KB
Loading

public/apple-touch-icon.png

27.3 KB
Loading

public/favicon-16x16.png

873 Bytes
Loading

public/favicon-32x32.png

2.19 KB
Loading

public/favicon.ico

15 KB
Binary file not shown.

public/site.webmanifest

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "SupaNuxt SaaS",
3+
"short_name": "supanuxt_saas",
4+
"icons": [
5+
{
6+
"src": "/android-chrome-192x192.png",
7+
"sizes": "192x192",
8+
"type": "image/png"
9+
},
10+
{
11+
"src": "/android-chrome-512x512.png",
12+
"sizes": "512x512",
13+
"type": "image/png"
14+
}
15+
],
16+
"theme_color": "#ffffff",
17+
"background_color": "#ffffff",
18+
"display": "standalone"
19+
}

0 commit comments

Comments
 (0)