chore: layout
This commit is contained in:
parent
b9561ad2d0
commit
230dca64ca
27 changed files with 446 additions and 339 deletions
|
@ -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'
|
||||
---
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue