chore: remove more slop

This commit is contained in:
enscribe 2024-09-10 11:56:46 -07:00
parent 5d9940eddf
commit b9561ad2d0
No known key found for this signature in database
GPG key ID: 9BBD5C4114E25322
22 changed files with 237 additions and 587 deletions

View file

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

View file

@ -1,7 +1,7 @@
import { defineCollection, 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,24 +9,23 @@ const blog = defineCollection({
draft: z.boolean().optional(),
tags: z.array(z.string()).optional(),
author: z.union([reference("authors"), z.string()]).optional(),
}),
})
});
const publications = defineCollection({
type: 'content',
const authors = defineCollection({
type: "content",
schema: z.object({
title: z.string(),
description: z.string(),
date: z.coerce.date(),
paperURL: z.string().optional(),
authors: z.string().optional(),
codeURL: z.string().optional(),
webURL: z.string().optional(),
dataURL: z.string().optional(),
img: z.string().optional(),
imgAlt: z.string().optional(),
pub: z.string().optional(),
name: z.string(),
avatar: z.string().url(),
bio: z.string().optional(),
website: z.string().url().optional(),
twitter: z.string().optional(),
github: z.string().optional(),
linkedin: z.string().optional(),
mail: z.string().email().optional(),
discord: z.string().optional(),
}),
})
});
export const collections = { blog, publications }
export const collections = { blog, authors };

View file

@ -1,13 +0,0 @@
---
title: 'Paper Title1'
description: 'Your Paper Abstract'
date: '2024-03-26'
authors: 'John B*, Jon A*, Frank C, '
paperURL: 'Paper: https://astro-sphere-demo.vercel.app'
codeURL: 'Code: https://astro-sphere-demo.vercel.app'
webURL: 'Web: https://github.com/markhorn-dev/astro-sphere'
img: '/rupert-cat.gif'
imgAlt: 'Paper Teaser'
pub: 'ECCV2024'
dataURL: 'Data: '
---

View file

@ -1,13 +0,0 @@
---
title: 'Paper Title1'
description: 'Lorem ipsum dolor sit amet consectetur adipisicing elit. '
date: '2024-07-26'
authors: 'John B*, Jon A*, Frank C, John B, Jon A, Frank C, '
paperURL: 'Paper: https://astro-sphere-demo.vercel.app'
codeURL: 'Code: https://astro-sphere-demo.vercel.app'
webURL: 'Web: https://github.com/markhorn-dev/astro-sphere'
img: '/rupert-cat.gif'
imgAlt: 'Paper Teaser'
pub: 'ECCV2024'
dataURL: 'Data: https://github.com/markhorn-dev/astro-sphere'
---

View file

@ -1,13 +0,0 @@
---
title: 'Paper Title1'
description: 'Your Paper Abstract'
date: '2024-03-26'
authors: 'John B*, Jon A*, Frank C, '
paperURL: 'Paper: https://astro-sphere-demo.vercel.app'
codeURL: 'Code: https://astro-sphere-demo.vercel.app'
webURL: 'Web: https://github.com/markhorn-dev/astro-sphere'
img: '/rupert-cat.gif'
imgAlt: 'Paper Teaser'
pub: 'ECCV2024'
dataURL: 'Data: '
---