aboutsummaryrefslogtreecommitdiff
path: root/src/content.config.ts
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2026-03-13 23:17:18 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2026-03-13 23:17:18 +0100
commit3dcfdf932babdab522b5544367956531e60956b2 (patch)
tree5215a43e3ab81b2b81356f2b4c5fc5a5f4a0ff4d /src/content.config.ts
parent42edb9a443cc9ea1bf6fe833ee46953a5a3da5f8 (diff)
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.
Diffstat (limited to 'src/content.config.ts')
-rw-r--r--src/content.config.ts3
1 files changed, 2 insertions, 1 deletions
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" }),