add favicons

This commit is contained in:
Michael Dausmann
2024-02-17 11:51:36 +11:00
parent 23c248a08b
commit 8a801b1696
10 changed files with 44 additions and 4 deletions

View File

@@ -21,7 +21,28 @@ export default defineNuxtConfig({
htmlAttrs: {
lang: 'en'
},
title: 'SupaNuxt SaaS'
title: 'SupaNuxt SaaS',
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{
rel: 'icon',
type: 'image/png',
sizes: '32x32',
href: '/favicon-32x32.png'
},
{
rel: 'icon',
type: 'image/png',
sizes: '16x16',
href: '/favicon-16x16.png'
},
{
rel: 'apple-touch-icon',
sizes: '180x180',
href: '/apple-touch-icon.png'
},
{ rel: 'manifest', href: '/site.webmanifest' }
]
}
},
runtimeConfig: {

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "supanuxt-saas",
"version": "1.4.1",
"version": "1.4.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "supanuxt-saas",
"version": "1.4.1",
"version": "1.4.2",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "supanuxt-saas",
"version": "1.4.1",
"version": "1.4.2",
"author": {
"name": "Michael Dausmann",
"email": "mdausmann@gmail.com",

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

BIN
public/apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
public/favicon-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 873 B

BIN
public/favicon-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

19
public/site.webmanifest Normal file
View File

@@ -0,0 +1,19 @@
{
"name": "SupaNuxt SaaS",
"short_name": "supanuxt_saas",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}