[blog] /src/content/ -> /content/

[voidcannon] hydrate/nojs fixes
[pagex] fix html parser quirk
This commit is contained in:
bignutty
2026-02-18 00:32:30 +01:00
parent ab32597e33
commit 62dffa02c1
63 changed files with 55 additions and 53 deletions

View File

@@ -0,0 +1,20 @@
import {
VoidcannonCollectionColor,
VoidcannonCollectionIconType,
VoidcannonCollectionType,
VoidcannonContentType
} from "voidcannon";
export default {
type: VoidcannonContentType.COLLECTION,
collection_type: VoidcannonCollectionType.HIDDEN,
id: "featured",
name: "Featured Content",
description: "Featured Content Collection",
color: VoidcannonCollectionColor.AQUA,
icon: {
type: VoidcannonCollectionIconType.ICON,
icon: "forklift",
gradient: ["#ff0","#00ffff"],
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -0,0 +1,13 @@
import {VoidcannonCollectionColor, VoidcannonCollectionIconType, VoidcannonContentType} from "voidcannon";
export default {
type: VoidcannonContentType.COLLECTION,
id: "discord",
name: "Discord",
description: "Anything concerning the blue chat app.",
color: VoidcannonCollectionColor.AQUA,
icon: {
type: VoidcannonCollectionIconType.ICON,
icon: "comic_bubble"
}
}

View File

@@ -0,0 +1,17 @@
import {VoidcannonCollectionColor, VoidcannonCollectionIconType, VoidcannonContentType} from "voidcannon";
import {PagexResourceTransformer} from "pagex";
export default {
type: VoidcannonContentType.COLLECTION,
id: "gramophone",
name: "Gramophone",
description: "Anything about Gramophone, the alternative Last.fm frontend.",
color: VoidcannonCollectionColor.BLUE,
icon: {
type: VoidcannonCollectionIconType.IMAGE,
image: {
_transform: PagexResourceTransformer.MEDIA,
path: "./assets/gramophone.png"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@@ -0,0 +1,13 @@
import {VoidcannonCollectionColor, VoidcannonCollectionIconType, VoidcannonContentType} from "voidcannon";
export default {
type: VoidcannonContentType.COLLECTION,
id: "test",
name: "Test Collection",
description: "contains testing articles",
color: VoidcannonCollectionColor.YELLOW_VIBRANT,
icon: {
type: VoidcannonCollectionIconType.EMOJI,
emoji: "🥰"
}
}

View File

@@ -0,0 +1,13 @@
import {VoidcannonCollectionColor, VoidcannonCollectionIconType, VoidcannonContentType} from "voidcannon";
export default {
type: VoidcannonContentType.COLLECTION,
id: "videogames",
name: "Video Games",
description: "Video Game Articles",
color: VoidcannonCollectionColor.RED_VIBRANT,
icon: {
type: VoidcannonCollectionIconType.ICON,
icon: "stadia_controller"
}
}