Fix font problem

This commit is contained in:
2021-09-01 15:10:33 +02:00
parent 270dd645cf
commit 235eff3f85
2 changed files with 6 additions and 4 deletions

View File

@@ -37,5 +37,10 @@ export default {
{ name: 'msapplication-TileColor', content: params.color }, { name: 'msapplication-TileColor', content: params.color },
{ name: 'theme-color', content: params.color }, { name: 'theme-color', content: params.color },
], ],
link: [{ rel: 'icon', type: params.favicon.type, href: params.favicon.href }], link: [
{ rel: 'icon', type: params.favicon.type, href: params.favicon.href },
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
{ rel: 'preconnect', href: 'https://fonts.googleapis.com', crossOrigin: 'true' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Raleway:wght@500&family=Roboto:wght@900&display=swap' }
],
} as NuxtOptionsHead } as NuxtOptionsHead

View File

@@ -1,6 +1,3 @@
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@900&display=swap');
.icon { .icon {
transform: translate(3px, -3px); transform: translate(3px, -3px);
z-index: 1; z-index: 1;