From 3dcfdf932babdab522b5544367956531e60956b2 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Fri, 13 Mar 2026 23:17:18 +0100 Subject: chore: update dependencies and improve font handling - Bump versions of several Astro-related dependencies in package.json for better performance and features. - Update content.config.ts to import z from astro/zod for improved type validation. - Modify Layout.astro to use the Font component for better font management and preload the Archivo font. - Change font stacks in _variables.scss to reflect the new font choices, enhancing typography consistency. --- src/layouts/Layout.astro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/layouts') diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index ebe5917..ee1a56d 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,7 +1,7 @@ --- -import '@fontsource-variable/archivo' import Header from "../partials/Header.astro"; import Footer from "../partials/Footer.astro"; +import { Font } from "astro:assets"; interface Props { title: string; @@ -46,6 +46,8 @@ const { title, description, empty } = Astro.props; {title} - Ariel Costas + + -- cgit v1.3