From 9a03f8ebe6a4ef7f046dbfc8a104e9b4c28be14f Mon Sep 17 00:00:00 2001 From: Francesco Masala Date: Mon, 12 Feb 2024 21:30:35 +0100 Subject: [PATCH] Updated nuxt config --- nuxt.config.ts | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index f45a34d..8f24a2f 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -4,6 +4,24 @@ import {fileURLToPath} from 'url' import VueI18nVitePlugin from '@intlify/unplugin-vue-i18n/vite' export default defineNuxtConfig({ + app: { + head: { + charset: 'utf-16', + title: 'HyperBit SRLs', + viewport: 'width=device-width, initial-scale=1', + meta: [ + {property: 'og:title', content: 'HyperBit SRLs'}, + {property: 'og:description', content: 'HyperBit - We connect the world 🔌'}, + {property: 'og:type', content: 'website'}, + {property: 'og:url', content: 'https://hyperbit.it'}, + {property: 'og:site_name', content: 'HyperBit SRLs'}, + {property: 'og:locale', content: 'it_IT'}, + ], + link: [ + {rel: 'icon', type: 'image/x-icon', href: '/HyperBit_Dark_Logo.svg'} + ] + } + }, colorMode: {preference: "light"}, devtools: {enabled: true}, modules: ["@nuxt/ui", '@nuxtjs/plausible'], @@ -31,18 +49,5 @@ export default defineNuxtConfig({ } ) ] - }, - head: { - charset: 'utf-16', - title: 'HyperBit SRLs', - viewport: 'width=device-width, initial-scale=1', - meta: [{property: 'og:title', content: 'HyperBit SRLs'}, { - property: 'og:description', content: 'HyperBit - We connect the world 🔌' - }, {property: 'og:type', content: 'website'}, { - property: 'og:url', content: 'https://hyperbit.it' - }, {property: 'og:image', content: 'https://hyperbit.it/publicCover.png'}, { - property: 'og:site_name', content: 'HyperBit SRLs' - }, {property: 'og:locale', content: 'it_IT'},], - link: [{rel: 'icon', type: 'image/x-icon', href: '/HyperBit_Dark_Logo.svg'}], - }, + } })