Skip to content

Commit

Permalink
perf: remove unused fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
brckd committed Oct 28, 2024
1 parent 0fd9070 commit 79a99b2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 49 deletions.
36 changes: 0 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@
},
"dependencies": {
"@astrojs/rss": "^4.0.9",
"@fontsource-variable/aleo": "^5.1.0",
"@fontsource-variable/hanken-grotesk": "^5.1.0",
"@fontsource-variable/jetbrains-mono": "^5.1.1",
"@fontsource-variable/source-sans-3": "^5.1.0",
"astro": "^5.0.0-beta.3"
},
"devDependencies": {
Expand Down
7 changes: 0 additions & 7 deletions src/comps/Head.astro
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
---
// Import the global.css file here so that it is included on
// all pages through the use of the <BaseHead /> component.
import "@styles/global.css";
import "@fontsource-variable/jetbrains-mono";
import "@fontsource-variable/aleo";
import "@fontsource-variable/hanken-grotesk";
import "@fontsource-variable/source-sans-3";
import { ClientRouter } from "astro:transitions";
import { SITE_TITLE, SITE_DESCRIPTION } from "@src/consts";
Expand Down
6 changes: 3 additions & 3 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
import "@styles/global.css";
import "@fontsource-variable/hanken-grotesk";
import Head from "@comps/Head.astro";
import Header from "@comps/Header.astro";
import Footer from "@comps/Footer.astro";
import spin from "@assets/spin.svg";
import { Image } from "astro:assets";
import { SITE_TITLE } from "@src/consts";
export interface Props {
title: string;
Expand Down

0 comments on commit 79a99b2

Please sign in to comment.