mirror of
https://github.com/avinal/avinal.github.io.git
synced 2026-07-04 07:40:09 +05:30
switch to self-hosted Iosevka fonts, enable prefetch
Assisted by Claude Code Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
@@ -3,6 +3,13 @@ import Nav from "@/components/Nav.astro";
|
||||
import Footer from "@/components/Footer.astro";
|
||||
import theme, { generateThemeCSS } from "@/config/theme";
|
||||
import "@/styles/global.css";
|
||||
import "@fontsource/iosevka-aile/400.css";
|
||||
import "@fontsource/iosevka-aile/500.css";
|
||||
import "@fontsource/iosevka-aile/600.css";
|
||||
import "@fontsource/iosevka-aile/700.css";
|
||||
import "@fontsource/iosevka-aile/800.css";
|
||||
import "@fontsource/iosevka/400.css";
|
||||
import "@fontsource/iosevka/500.css";
|
||||
|
||||
interface Props {
|
||||
title: string;
|
||||
@@ -56,10 +63,6 @@ const resolvedOgImage = ogImage || new URL("/og-default.svg", Astro.site).href;
|
||||
<link rel="sitemap" href="/sitemap-index.xml" />
|
||||
<link rel="alternate" type="application/rss+xml" title="Avinal Kumar" href="/rss.xml" />
|
||||
|
||||
<!-- 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=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet" />
|
||||
|
||||
<!-- Design tokens generated from theme config -->
|
||||
<style set:html={themeCSS} />
|
||||
|
||||
Reference in New Issue
Block a user