Skip to content

Commit 1e8bb52

Browse files
committed
wip: new rewrites
1 parent 1ee037c commit 1e8bb52

File tree

171 files changed

+2221
-59
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+2221
-59
lines changed

β€Žcontent-collections.tsβ€Ž

Lines changed: 82 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,86 @@
1-
import { defineConfig } from "@content-collections/core";
1+
import { defineCollection, defineConfig } from "@content-collections/core";
2+
import { z } from "zod";
23

3-
// for more information on configuration, visit:
4-
// https://www.content-collections.dev/docs/configuration
4+
const clients = defineCollection({
5+
name: "clients",
6+
directory: "content/clients",
7+
include: "**/meta.json",
8+
parser: "json",
9+
schema: z.object({
10+
name: z.string(),
11+
description: z.string(),
12+
href: z.string().optional(),
13+
avatar: z.string().optional(),
14+
banner: z.string().optional(),
15+
start: z.string().optional(),
16+
end: z.string().optional(),
17+
hidden: z.boolean().optional().default(false),
18+
// projects: z.array(
19+
// z.object({
20+
// name: z.string(),
21+
// description: z.string(),
22+
// avatar: z.string().optional(),
23+
// links: z
24+
// .array(
25+
// z.object({
26+
// name: z.string(),
27+
// href: z.string(),
28+
// icon: z.string().optional(),
29+
// })
30+
// )
31+
// .optional(),
32+
// media: z
33+
// .array(
34+
// z.object({
35+
// media: z.string(),
36+
// caption: z.string().optional(),
37+
// })
38+
// )
39+
// .optional(),
40+
// })
41+
// ),
42+
testimonials: z
43+
.array(
44+
z.object({
45+
name: z.string(),
46+
role: z.string(),
47+
testimonial: z.string(),
48+
url: z.string().optional(),
49+
avatar: z.string().optional(),
50+
})
51+
)
52+
.optional(),
53+
}),
54+
});
55+
56+
const artists = defineCollection({
57+
name: "artists",
58+
directory: "content/commissions",
59+
include: "**/meta.json",
60+
parser: "json",
61+
schema: z.object({
62+
name: z.string(),
63+
link: z.string().optional(),
64+
avatar: z.string().optional(),
65+
commissions: z.array(
66+
z.object({
67+
slug: z.string(),
68+
title: z.string(),
69+
description: z.string().optional(),
70+
images: z.array(z.string()),
71+
links: z
72+
.array(
73+
z.object({
74+
text: z.string(),
75+
href: z.string(),
76+
})
77+
)
78+
.optional(),
79+
})
80+
),
81+
}),
82+
});
583

684
export default defineConfig({
7-
collections: [],
85+
collections: [clients, artists],
886
});
9.13 KB
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "Axolotl Studios",
3+
"description": "Implementation of a points and generator system for Skyblock.",
4+
"avatar": "./avatar.png",
5+
"start": "Aug 2023",
6+
"end": "Sep 2023",
7+
"hidden": true,
8+
"projects": [
9+
{
10+
"name": "Points",
11+
"description": "A points system for Skyblock, which allows players to earn points by completing tasks and challenges. The points can be used to purchase items and other rewards. Integrates with other plugins with an API."
12+
},
13+
{
14+
"name": "Generator",
15+
"description": "A generator system for Skyblock, which allows players to generate resources over time. Includes a management GUI."
16+
}
17+
]
18+
}
42.6 KB
614 KB
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "CastiaMC",
3+
"description": "Developing flexible, scalable, and maintainable Minecraft networks across OxyWire's servers.",
4+
"href": "https://castiamc.com",
5+
"avatar": "./avatar.png",
6+
"banner": "./banner.png",
7+
"start": "Nov 2022",
8+
"end": "Jan 2023",
9+
"projects": [
10+
{
11+
"name": "CastiaMC",
12+
"description": "CastiaMC is a Minecraft Java server that focuses on an enhanced, polished survival experience. I primarily worked on updating existing features, creating a shared core framework, and improving the overall codebase.",
13+
"links": [
14+
{
15+
"name": "Website",
16+
"href": "https://castiamc.com"
17+
}
18+
],
19+
"media": []
20+
}
21+
]
22+
}
1.57 MB
4.61 MB
Binary file not shown.
107 KB
276 KB

0 commit comments

Comments
Β (0)