2022-06-08 23:24:19 +03:00
|
|
|
import { PageLayout } from "../comp/page_layout.ts";
|
|
|
|
import { AnyNode, E } from "ren/node.ts";
|
|
|
|
import { classNames } from "ren/attrs.ts";
|
|
|
|
import { Context } from "../../context.ts";
|
2023-06-20 16:30:27 +03:00
|
|
|
import { H3 } from "../../uikit/typo.ts";
|
2022-06-08 23:24:19 +03:00
|
|
|
|
|
|
|
export function E404Page(ctx: Context): AnyNode {
|
2023-02-03 03:09:57 +03:00
|
|
|
ctx.title = "Not Found - 404 | Pleshevski";
|
|
|
|
|
2022-06-08 23:24:19 +03:00
|
|
|
return PageLayout(ctx, [E404(ctx)]);
|
|
|
|
}
|
|
|
|
|
|
|
|
export function E404(ctx: Context): AnyNode {
|
|
|
|
return E("div", classNames("content-width gap-v-1x5"), [
|
|
|
|
H3(ctx.tr.Page_not_found),
|
|
|
|
]);
|
|
|
|
}
|