[blog] /src/content/ -> /content/
[voidcannon] hydrate/nojs fixes [pagex] fix html parser quirk
This commit is contained in:
20
content/collections/_featured.pagex.js
Normal file
20
content/collections/_featured.pagex.js
Normal 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"],
|
||||
}
|
||||
}
|
||||
BIN
content/collections/assets/gramophone.png
Normal file
BIN
content/collections/assets/gramophone.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
13
content/collections/discord.pagex.js
Normal file
13
content/collections/discord.pagex.js
Normal 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"
|
||||
}
|
||||
}
|
||||
17
content/collections/gramophone.pagex.js
Normal file
17
content/collections/gramophone.pagex.js
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
content/collections/snacked.png
Normal file
BIN
content/collections/snacked.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
13
content/collections/test.pagex.js
Normal file
13
content/collections/test.pagex.js
Normal 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: "🥰"
|
||||
}
|
||||
}
|
||||
13
content/collections/videogames.pagex.js
Normal file
13
content/collections/videogames.pagex.js
Normal 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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user