fix: preload the font files
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2020-05-22 14:27:52 +02:00
parent 1f7c100596
commit 206da901b9
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 12 additions and 0 deletions

@ -11,6 +11,12 @@
<meta name="description" content="3D transforms - tew-0x00">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script defer src="/scripts/prism.js"></script>
<link rel="preload" as="font" href="/fonts/woff2/FiraCode-Light.woff2" type="font/woff2">
<link rel="preload" as="font" href="/fonts/woff2/FiraCode-Medium.woff2" type="font/woff2">
<link rel="preload" as="font" href="/fonts/woff2/FiraCode-Regular.woff2" type="font/woff2">
<link rel="preload" as="font" href="/fonts/woff2/FiraCode-SemiBold.woff2" type="font/woff2">
<link rel="preload" as="font" href="/fonts/woff2/FiraCode-Bold.woff2" type="font/woff2">
<link rel="preload" as="font" href="/fonts/woff2/FiraCode-VF.woff2" type="font/woff2">
<link rel="stylesheet" type="text/css" href="/css/style.css">
<link rel="stylesheet" type="text/css" href="/css/prism.css" data-noprefix/>
</head>

@ -10,6 +10,12 @@
<meta name="description" content="animations - tew-0x00">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script defer src="/scripts/prism.js"></script>
<link rel="preload" as="font" href="/fonts/woff2/FiraCode-Light.woff2" type="font/woff2">
<link rel="preload" as="font" href="/fonts/woff2/FiraCode-Medium.woff2" type="font/woff2">
<link rel="preload" as="font" href="/fonts/woff2/FiraCode-Regular.woff2" type="font/woff2">
<link rel="preload" as="font" href="/fonts/woff2/FiraCode-SemiBold.woff2" type="font/woff2">
<link rel="preload" as="font" href="/fonts/woff2/FiraCode-Bold.woff2" type="font/woff2">
<link rel="preload" as="font" href="/fonts/woff2/FiraCode-VF.woff2" type="font/woff2">
<link rel="stylesheet" type="text/css" href="/css/style.css">
<link rel="stylesheet" type="text/css" href="/css/prism.css" data-noprefix/>
</head>