Added font preloading
All checks were successful
/ astro-check (push) Successful in 12s
/ get-version (push) Successful in 3s
/ check-tag (push) Successful in 3s
/ create-release (push) Successful in 8s
/ checking (push) Successful in 13s
/ build-site (push) Successful in 1m8s
/ auto-deploy-dockge (push) Successful in 9s
/ deploy-unlighthouse-files (push) Successful in 1m8s
/ unlighthouse (push) Successful in 52s
/ deploy-unlighthouse-site (push) Successful in 5s
All checks were successful
/ astro-check (push) Successful in 12s
/ get-version (push) Successful in 3s
/ check-tag (push) Successful in 3s
/ create-release (push) Successful in 8s
/ checking (push) Successful in 13s
/ build-site (push) Successful in 1m8s
/ auto-deploy-dockge (push) Successful in 9s
/ deploy-unlighthouse-files (push) Successful in 1m8s
/ unlighthouse (push) Successful in 52s
/ deploy-unlighthouse-site (push) Successful in 5s
This commit is contained in:
parent
747b1d78db
commit
a8815648cb
3 changed files with 15 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "fgo-ta-com-website",
|
||||
"type": "module",
|
||||
"version": "0.2.2-pre.20",
|
||||
"version": "0.2.2-pre.21",
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"start": "astro dev",
|
||||
|
|
|
@ -12,6 +12,15 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "**/*.woff2",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
"value": "no-cache"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "404.html",
|
||||
"headers": [
|
||||
|
|
|
@ -9,6 +9,9 @@ import databasestar from 'iconoir/icons/database-star.svg'
|
|||
import mail from 'iconoir/icons/mail.svg'
|
||||
import type { IconsLookup } from '../types/generic'
|
||||
|
||||
import workSans800 from '@fontsource/work-sans/files/work-sans-latin-800-normal.woff2?url';
|
||||
import workSans600 from '@fontsource/work-sans/files/work-sans-latin-600-normal.woff2?url';
|
||||
|
||||
export interface Props {
|
||||
title: string
|
||||
currentpage: string
|
||||
|
@ -61,6 +64,8 @@ const mapped_navdata = navdata.map((item) => ({
|
|||
<!-- Disable DarkReader, as site is already in dark mode -->
|
||||
<meta name="darkreader-lock" content="this site only has darkmode">
|
||||
<!-- Links -->
|
||||
<link rel="preload" as="font" type="font/woff2" href={workSans600} crossorigin="anonymous" />
|
||||
<link rel="preload" as="font" type="font/woff2" href={workSans800} crossorigin="anonymous" />
|
||||
<link rel="icon" type="image/ico" href="/favicon.ico" />
|
||||
<link rel="sitemap" href="/sitemap-index.xml" />
|
||||
<link href="https://mastodon.neshweb.net/@Firq" rel="me" />
|
||||
|
|
Loading…
Reference in a new issue