fix(core): Updated font loading strategy in index.html for improved performance

This commit is contained in:
Philipp Kunz 2024-06-27 12:20:09 +02:00
parent 7e704483d0
commit 363cf32325
3 changed files with 10 additions and 11 deletions

View File

@ -1,5 +1,11 @@
# Changelog # Changelog
## 2024-06-27 - 1.0.74 - fix(core)
Updated font loading strategy in index.html for improved performance
- Replaced multiple font loading links with a single assetbroker link.
- Removed redundant preconnect and stylesheet links for fonts.
## 2024-06-26 - 1.0.73 - fix(documentation) ## 2024-06-26 - 1.0.73 - fix(documentation)
Update project description and keywords in package.json and npmextra.json. Refactored documentation in readme.md. Update project description and keywords in package.json and npmextra.json. Refactored documentation in readme.md.

View File

@ -10,16 +10,9 @@
/> />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="preconnect" href="https://rsms.me/"> <!--Lets load standard fonts-->
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://assetbroker.lossless.one/" crossorigin>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="stylesheet" href="https://assetbroker.lossless.one/fonts/fonts.css">
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
<link
crossorigin="anonymous"
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
<link href="https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
<style> <style>
body { body {

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@uptime.link/statuspage', name: '@uptime.link/statuspage',
version: '1.0.73', version: '1.0.74',
description: 'A catalog of web components for the UptimeLink dashboard.' description: 'A catalog of web components for the UptimeLink dashboard.'
} }