From 3d39960af74bc85a992ca054047f462e41287493 Mon Sep 17 00:00:00 2001 From: Pete Stenger Date: Wed, 21 Aug 2024 10:14:00 -0500 Subject: [PATCH] WIP --- fallctf.com/src/layouts/Base.astro | 2 -- fallctf.com/src/pages/index.astro | 6 +++--- sigpwny.com/src/layouts/Base.astro | 2 ++ 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fallctf.com/src/layouts/Base.astro b/fallctf.com/src/layouts/Base.astro index c3dbbd9c3..438ade616 100644 --- a/fallctf.com/src/layouts/Base.astro +++ b/fallctf.com/src/layouts/Base.astro @@ -1,6 +1,4 @@ --- -import '@/styles/main.css'; -import '@/styles/md.css'; import '~/styles/prism-one-dark.css'; import type { HeadProps } from '~/components/BaseHead.astro'; diff --git a/fallctf.com/src/pages/index.astro b/fallctf.com/src/pages/index.astro index e76cc22dd..70f547eff 100644 --- a/fallctf.com/src/pages/index.astro +++ b/fallctf.com/src/pages/index.astro @@ -1,8 +1,8 @@ --- import Layout from '@/layouts/Base.astro'; -import { getCollection } from "astro:content"; +import { getCollection, type CollectionEntry } from "astro:content"; -const rawEvents = await getCollection('events') +const rawEvents = await getCollection('events') as CollectionEntry<'events'>[]; --- @@ -10,7 +10,7 @@ const rawEvents = await getCollection('events') diff --git a/sigpwny.com/src/layouts/Base.astro b/sigpwny.com/src/layouts/Base.astro index baf0cc71b..376b232c3 100644 --- a/sigpwny.com/src/layouts/Base.astro +++ b/sigpwny.com/src/layouts/Base.astro @@ -1,4 +1,6 @@ --- +import '@/styles/main.css'; +import '@/styles/md.css'; import '~/styles/prism-one-dark.css'; import type { HeadProps } from '~/components/BaseHead.astro';