mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-14 12:14:42 +01:00
Fix font problem
This commit is contained in:
@@ -37,5 +37,10 @@ export default {
|
||||
{ name: 'msapplication-TileColor', 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
|
||||
|
||||
@@ -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 {
|
||||
transform: translate(3px, -3px);
|
||||
z-index: 1;
|
||||
|
||||
Reference in New Issue
Block a user