forked from MapComplete/MapComplete
Add 404, fixing custom layouts and redirects
This commit is contained in:
parent
11150a258d
commit
8e2e367a0c
10 changed files with 59 additions and 8258 deletions
11
notfound.ts
Normal file
11
notfound.ts
Normal 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")
|
Loading…
Add table
Add a link
Reference in a new issue