add favicon

This commit is contained in:
wieerwill 2023-11-01 20:41:40 +01:00
parent a5f25d1cd7
commit 90a9d1cdd0
11 changed files with 56 additions and 5 deletions

View File

@ -38,6 +38,18 @@ export default {
updateIsMobile
};
},
head() {
return {
title: 'Augsburg Mosaic | Discover the best spots in Augsburg',
meta: [
{
hid: 'description',
name: 'description',
content: 'Explore the best spots in Augsburg with Augsburg Mosaic. Discover attractions, food, culture, nature, and more.',
}
]
};
},
beforeDestroy() {
if (process.client) {
window.removeEventListener('resize', this.updateIsMobile);

View File

@ -2,11 +2,34 @@ export default defineNuxtConfig({
ssr: true,
target: 'static',
head: {
title: 'Augsburg Mosaic',
title: 'Augsburg Mosaic | Discover the best spots in Augsburg',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: 'Interactive map of Augsburg with recommended locations to visit.' }
{
hid: 'description',
name: 'description',
content: 'Explore the best spots in Augsburg with Augsburg Mosaic. Discover attractions, food, culture, nature, and more.',
},
{
hid: 'og:title',
property: 'og:title',
content: 'Augsburg Mosaic | Discover the best spots in Augsburg'
},
{
hid: 'og:description',
property: 'og:description',
content: 'Explore the best spots in Augsburg with Augsburg Mosaic. Discover attractions, food, culture, nature, and more.'
},
{ hid: 'og:type', property: 'og:type', content: 'website' },
{ hid: 'og:url', property: 'og:url', content: 'https://augsburg.wieerwill.de' },
{ hid: 'og:image', property: 'og:image', content: 'https://augsburg.wieerwill.de/screenshot.png' },
{ hid: 'og:site_name', property: 'og:site_name', content: 'Augsburg Mosaic' },
{ hid: 'twitter:card', name: 'twitter:card', content: 'summary_large_image' },
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{ rel: 'canonical', href: 'https://augsburg.wieerwill.de' },
]
},
modules: ['nuxt3-leaflet', '@pinia/nuxt'],

View File

@ -1,3 +0,0 @@
{
"extends": "../.nuxt/tsconfig.server.json"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 468 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

BIN
public/augsburg-mosaik.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 KiB

BIN
public/favicon-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 927 B

BIN
public/favicon-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 15 KiB

19
public/site.webmanifest Normal file
View File

@ -0,0 +1,19 @@
{
"name": "Augsburg Mosaic - Wieerwill",
"short_name": "Augsburg Mosaic",
"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"
}