Dmitriy Pleshevskiy
890c1f74ed
All checks were successful
continuous-integration/drone/push Build is passing
Closes #1 Reviewed-on: #2 Co-authored-by: Dmitriy Pleshevskiy <dmitriy@ideascup.me> Co-committed-by: Dmitriy Pleshevskiy <dmitriy@ideascup.me>
15 lines
465 B
TypeScript
15 lines
465 B
TypeScript
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";
|
|
import { H3 } from "../uikit/typo.ts";
|
|
|
|
export function E500Page(ctx: Context): AnyNode {
|
|
return PageLayout(ctx, [E500(ctx)]);
|
|
}
|
|
|
|
export function E500(ctx: Context): AnyNode {
|
|
return E("div", classNames("content-width gap-v-1x5"), [
|
|
H3(ctx.tr.Internal_server_error),
|
|
]);
|
|
}
|