chore: layout

This commit is contained in:
enscribe 2024-09-10 12:51:03 -07:00
parent b9561ad2d0
commit 230dca64ca
No known key found for this signature in database
GPG key ID: 9BBD5C4114E25322
27 changed files with 446 additions and 339 deletions

View file

@ -1,8 +1,8 @@
---
name: "enscribe"
avatar: "https://gravatar.com/avatar/9bfdc4ec972793cf05cb91efce5f4aaaec2a0da1bf4ec34dad0913f1d845faf6.webp?size=256"
bio: "d(-_-)b"
website: "https://enscribe.dev"
twitter: "enscry"
github: "jktrn"
---
name: 'enscribe'
avatar: 'https://gravatar.com/avatar/9bfdc4ec972793cf05cb91efce5f4aaaec2a0da1bf4ec34dad0913f1d845faf6.webp?size=256'
bio: 'd(-_-)b'
website: 'https://enscribe.dev'
twitter: 'enscry'
github: 'jktrn'
---

View file

@ -62,7 +62,7 @@ When developing you can continue to use `npm run dev` and Pagefind will use the
## UI enhancements 🎨
- Elements are styled and animate on focus
- Elements are styled and on focus
- Increased contrast in light mode
- Active theme is indicated by theme buttons
- Separate syntax highlight themes for light and dark mode

View file

@ -1,7 +1,7 @@
import { defineCollection, reference, z } from "astro:content";
import { defineCollection, reference, z } from 'astro:content'
const blog = defineCollection({
type: "content",
type: 'content',
schema: z.object({
title: z.string(),
description: z.string(),
@ -9,12 +9,12 @@ const blog = defineCollection({
draft: z.boolean().optional(),
tags: z.array(z.string()).optional(),
author: z.union([reference("authors"), z.string()]).optional(),
author: z.union([reference('authors'), z.string()]).optional(),
}),
});
})
const authors = defineCollection({
type: "content",
type: 'content',
schema: z.object({
name: z.string(),
avatar: z.string().url(),
@ -26,6 +26,6 @@ const authors = defineCollection({
mail: z.string().email().optional(),
discord: z.string().optional(),
}),
});
})
export const collections = { blog, authors };
export const collections = { blog, authors }