Added font preloading

This commit is contained in:
Prozilla 2023-08-10 18:35:39 +02:00
parent 0f62e00141
commit 0c6854b1d0
No known key found for this signature in database
GPG key ID: 5858DFE71CAF31EE

View file

@ -20,6 +20,13 @@
<meta property="og:description" content="ProzillaOS is an open-source web-based operating system inspired by Ubuntu Linux and Windows made with React.js by Prozilla."/>
<meta property="og:type" content="website"/>
<meta property="og:image" content="%PUBLIC_URL%/media/Banner2.png"/>
<!-- Fonts -->
<link rel="preload" href="%PUBLIC_URL%/media/fonts/Poppins/Poppins-Light.ttf" as="font" type="font/ttf" crossorigin>
<link rel="preload" href="%PUBLIC_URL%/media/fonts/Poppins/Poppins-Regular.ttf" as="font" type="font/ttf" crossorigin>
<link rel="preload" href="%PUBLIC_URL%/media/fonts/Poppins/Poppins-SemiBold.ttf" as="font" type="font/ttf" crossorigin>
<link rel="preload" href="%PUBLIC_URL%/media/fonts/Poppins/Poppins-Bold.ttf" as="font" type="font/ttf" crossorigin>
<link rel="preload" href="%PUBLIC_URL%/media/fonts/Roboto Mono/RobotoMono-VariableFont_wght.ttf" as="font" type="font/ttf" crossorigin>
</head>
<body>
<noscript>You need to enable JavaScript to run ProzillaOS.</noscript>