diff --git a/nuxt.config.js b/nuxt.config.js index 594aab0..e2a7754 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -1,12 +1,30 @@ export default { // Target (https://go.nuxtjs.dev/config-target) target: "static", + modern: "client", // Global page headers (https://go.nuxtjs.dev/config-head) head: { titleTemplate: "%s @ Byloth's Website", meta: [], link: [ + { + rel: "preconnect", + href: "https://fonts.googleapis.com", + crossorigin: true + }, + + { + rel: "preload", + as: "style", + href: "https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap" + }, + { + rel: "preload", + as: "style", + href: "https://fonts.googleapis.com/css2?family=Material+Icons" + }, + { rel: "stylesheet", href: "https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap" }, { rel: "stylesheet", href: "https://fonts.googleapis.com/css2?family=Material+Icons" }, diff --git a/package.json b/package.json index b14af43..704a72b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@byloth/website", - "version": "5.0.5", + "version": "5.0.6", "description": "My personal website as a Nuxt.js application, written in TypeScript and based on Material Design.", "keywords": [ "Vue.js", diff --git a/store/config.ts b/store/config.ts index 175a31d..639da8d 100644 --- a/store/config.ts +++ b/store/config.ts @@ -54,7 +54,7 @@ const state = (): ConfigState => ({ title: "Chi sono" } ], - version: "5.0.5" + version: "5.0.6" }); export { state };