Fixed font issues
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m29s

This commit is contained in:
2026-01-16 10:42:42 -07:00
parent 81723ebdfa
commit 58ae6d5d0c
5 changed files with 11 additions and 14 deletions

View File

@@ -2,6 +2,7 @@
import Header from "../components/Header.astro";
import Footer from "../components/Footer.astro";
import { siteConfig } from "../config/site";
import "@fontsource-variable/roboto-slab";
import "../styles/global.css";
interface Props {

View File

@@ -36,25 +36,12 @@
--noise: 0;
}
@font-face {
font-family: "Roboto Slab";
src: url("../assets/fonts/RobotoSlab-VariableFont_wght.ttf")
format("truetype");
font-weight: 100 900;
font-style: normal;
font-display: optional;
}
html {
scroll-behavior: smooth;
}
body {
font-family:
"Roboto Slab",
system-ui,
-apple-system,
sans-serif;
font-family: "Roboto Slab Variable", serif;
}
.text-rotate:hover,