[content] migrate 404 to statics
[pagex] snake case to camel case [voidcannon] implement Static content type
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
import {
|
||||
VoidcannonContentType,
|
||||
VoidcannonSectionType
|
||||
} from "voidcannon";
|
||||
|
||||
import NotFoundFragment from "voidcannon/src/fragments/notfound/NotFound.fragment.js";
|
||||
|
||||
export default {
|
||||
type: VoidcannonContentType.EDITORIAL,
|
||||
id: "voidcannon-404",
|
||||
slug: "404",
|
||||
name: "404",
|
||||
description: "404. Not found.",
|
||||
color: null,
|
||||
sections: [
|
||||
{
|
||||
type: VoidcannonSectionType.FRAGMENT,
|
||||
fragment: NotFoundFragment,
|
||||
params: {}
|
||||
}
|
||||
]
|
||||
}
|
||||
18
src/content/static/404/404.pagex.js
Normal file
18
src/content/static/404/404.pagex.js
Normal file
@@ -0,0 +1,18 @@
|
||||
import {
|
||||
VoidcannonContentType
|
||||
} from "voidcannon";
|
||||
|
||||
import NotFoundFragment from "voidcannon/src/fragments/notfound/NotFound.fragment.js";
|
||||
|
||||
export default {
|
||||
type: VoidcannonContentType.STATIC,
|
||||
id: "voidcannon-404",
|
||||
slug: "404",
|
||||
name: "404",
|
||||
description: "404. Not found.",
|
||||
color: null,
|
||||
static: {
|
||||
fragment: NotFoundFragment,
|
||||
params: {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user