diff --git a/UI/Img.ts b/UI/Img.ts index 7a89820..23e399d 100644 --- a/UI/Img.ts +++ b/UI/Img.ts @@ -23,5 +23,34 @@ export class Img { ` + + static ornament = "\n" + + "image/svg+xml\n" + + " \n" + + " \n" + + " \n" + + " \n" + + "" + } diff --git a/UI/WelcomeMessage.ts b/UI/WelcomeMessage.ts index ca6e13f..1f1529e 100644 --- a/UI/WelcomeMessage.ts +++ b/UI/WelcomeMessage.ts @@ -31,7 +31,8 @@ export class WelcomeMessage extends UIElement { } this.description = fromLayout((layout) => layout.welcomeMessage); - this.plzLogIn = fromLayout((layout) => layout.gettingStartedPlzLogin.onClick(()=> State.state.osmConnection.AttemptLogin())); + this.plzLogIn = fromLayout((layout) => layout.gettingStartedPlzLogin); + this.plzLogIn.onClick(()=> State.state.osmConnection.AttemptLogin()); this.welcomeBack = fromLayout((layout) => layout.welcomeBackMessage); this.tail = fromLayout((layout) => layout.welcomeTail); } diff --git a/index.html b/index.html index fb8c848..170217e 100644 --- a/index.html +++ b/index.html @@ -28,7 +28,7 @@
-
+
{ @@ -171,5 +175,5 @@ if ((window != window.top && !State.state.featureSwitchWelcomeMessage) || State. new GeoLocationHandler().AttachTo("geolocate-button"); -State.state.locationControl.ping() +// State.state.locationControl.ping()