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/content.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/content.config.ts') diff --git a/src/content.config.ts b/src/content.config.ts index b5fca4e..532402c 100644 --- a/src/content.config.ts +++ b/src/content.config.ts @@ -1,5 +1,6 @@ import { glob } from "astro/loaders"; -import { defineCollection, z } from "astro:content"; +import { defineCollection } from "astro:content"; +import { z } from "astro/zod"; const blog = defineCollection({ loader: glob({ pattern: "**/*.{md,mdx}", base: "src/data/blog" }), -- cgit v1.3