Add 404, fixing custom layouts and redirects

This commit is contained in:
Pieter Vander Vennet 2021-12-21 19:09:24 +01:00
parent 11150a258d
commit 8e2e367a0c
10 changed files with 59 additions and 8258 deletions

11
notfound.ts Normal file
View file

@ -0,0 +1,11 @@
import {FixedUiElement} from "./UI/Base/FixedUiElement";
import Combine from "./UI/Base/Combine";
import {SubtleButton} from "./UI/Base/SubtleButton";
import Svg from "./Svg";
new Combine([new FixedUiElement("This page is not found"),
new SubtleButton(Svg.back_svg(), "Back to index", {
url: "./index.html",
newTab: false
})
]).AttachTo("maindiv")