content collections for badges and projects

This commit is contained in:
Reid 2024-09-18 17:13:15 -07:00
parent b09fe1b8bf
commit 49562a82a4
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
28 changed files with 131 additions and 61 deletions

View file

@ -0,0 +1,62 @@
- path: /88x31.gif
alt: CLI prompt displaying 'reidlab'
title: my button! feel free to use or hotlink
href: /
- path: ./img/blinchik.gif
alt: blinchik
title: best site on the internet!
href: https://yugoslavia.best
- path: ./img/poweredbybob.gif
alt: powered by bob
- path: ./img/miku.gif
alt: this site is miku approved
- path: ./img/paws.gif
alt: made with my own two paws
- path: ./img/nixos.png
alt: powered by nixos
title: free me from this prison
href: https://nixos.org
- path: ./img/notitg.png
alt: notitg
title: play notitg!
href: https://noti.tg
- path: ./img/kriswheretfarewe.png
alt: kris where tf are we
- path: ./img/showmeyourheart.gif
alt: final fantasy geometry dash
title: ▼▼ ▼▼ » ▲▲▲▲ ▲▲▲▲ ▼▼ ▼▼ ▲▲▲ ▲▲▲
href: https://gdbrowser.com/76767195
- path: ./img/acab.gif
alt: all cops are bastards
- path: ./img/w3cbad.gif
alt: w3c approved bad html markup
- path: ./img/internetarchive.gif
alt: internet archive
href: https://archive.org
- path: ./img/animeisgay.gif
alt: anime is gay as hell but i approve
- path: ./img/halflife.gif
alt: half life
title: gorgon freeman....
- path: ./img/vscode.png
alt: made with with vscode
href: https://code.visualstudio.com/
- path: ./img/oat100.gif
alt: i got 100% on.zone
href: https://oat.zone
- path: ./img/oat.gif
alt: oat.zone
title: cool person!
href: https://oat.zone
- path: ./img/tidalwave.gif
alt: tidal wave geometry dash
title: <<<TIDAL<<<<<<\n>>>>>>>WAVE>>>
href: https://gdbrowser.com/86407629
- path: ./img/singasongaboutlife.gif
alt: sing a song about life
title: sing a song about life
href: https://vyletpony.com/music
- path: ./img/slugcat.png
alt: slug cat
title: Slug ca
href: https://rainworldgame.com/

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,008 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 771 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 877 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 749 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

30
src/content/config.ts Normal file
View file

@ -0,0 +1,30 @@
import { z, defineCollection } from "astro:content";
// some of these schemas are a bit Weird but,
// i find it easier to have it in one array instead of several files
const projectsCollection = defineCollection({
type: "data",
schema: z.array(z.object({
name: z.string(),
description: z.string(),
date: z.date(),
dateVisual: z.string().optional(),
links: z.string().array()
}))
});
const badgesCollection = defineCollection({
type: "data",
schema: ({ image }) => z.array(z.object({
path: image().or(z.string()),
alt: z.string(),
href: z.string().optional(),
title: z.string().optional()
}))
});
export const collections = {
projects: projectsCollection,
badges: badgesCollection
};

View file

@ -0,0 +1,11 @@
- name: "lastfmpris"
description: "a rust application to scrobble your currently playing song on last.fm with mpris"
date: 2024-08-22
links:
- "https://git.reidlab.pink/reidlab/lastfmpris"
- name: reidlab.pink
description: this website!
date: 2024-07-04
links:
- https://reidlab.pink
- https://git.reidlab.pink/reidlab/website