Only preload apex on project page
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Isaac Mills 2025-07-15 14:56:56 -06:00
parent 09623f73aa
commit 4c49073962
Signed by: fnmain
GPG key ID: B67D7410F33A0F61
6 changed files with 213 additions and 4 deletions

View file

@ -8,12 +8,10 @@
<title>The SANDWICH</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="apex.css">
<link rel="preload" href="/assets/ApexMk2-Regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/assets/ApexMk2-LightCondensed.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/assets/ApexMk2-BoldExtended.woff2" as="font" type="font/woff2" crossorigin>
<link rel="icon" href="/assets/favicon.ico" sizes="16x16 32x32">
<link rel="icon" href="/assets/favicon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/assets/apple-touch-icon.png">
<stack name="head"></stack>
<script type="module" src="index.js"></script>
<meta name="htmx-config" content='{"responseHandling": [{"code":"204", "swap": false},{"code":"...", "swap": true}]}'>
<style>

18
src/firacode.css Normal file
View file

@ -0,0 +1,18 @@
@font-face {
font-family: 'Fira Code';
src: url('FiraCode-Regular.woff2') format('woff2'),
url('FiraCode-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Fira Code';
src: url('FiraCode-Bold.woff2') format('woff2'),
url('FiraCode-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
font-display: swap;
}

View file

@ -228,4 +228,9 @@
</li>
</ol>
</fill:footer>
</x-tab.content>
</x-tab.content>
<push name="head">
<link rel="preload" href="/assets/ApexMk2-Regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/assets/ApexMk2-LightCondensed.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/assets/ApexMk2-BoldExtended.woff2" as="font" type="font/woff2" crossorigin>
</push>