mirror of
https://github.com/SkyfallWasTaken/skyfalldev.git
synced 2024-12-04 22:57:32 +00:00
Switch to using Fontsource
This commit is contained in:
parent
8cdaa9e69a
commit
ff9913a816
3 changed files with 2 additions and 8 deletions
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
|
@ -12,6 +12,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/svelte": "^5.6.0",
|
||||
"@fontsource-variable/plus-jakarta-sans": "^5.0.21",
|
||||
"activity-calendar-widget": "^0.0.14",
|
||||
"octokit": "^4.0.2",
|
||||
"svelte": "^4.2.18",
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
// Import the global.css file here so that it is included on
|
||||
// all pages through the use of the <BaseHead /> component.
|
||||
import "@fontsource-variable/plus-jakarta-sans";
|
||||
import "../styles/global.css";
|
||||
import { ViewTransitions } from "astro:transitions";
|
||||
|
||||
|
@ -21,14 +22,6 @@ const { title, description, image = "/blog-placeholder-1.jpg" } = Astro.props;
|
|||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
|
||||
<!-- Font preloads -->
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
|
||||
<!-- Canonical URL -->
|
||||
<link rel="canonical" href={canonicalURL} />
|
||||
|
||||
|
|
Loading…
Reference in a new issue