forked from MapComplete/MapComplete
Refactoring: remove unused asset, further stripping of Svg.ts
This commit is contained in:
parent
c2001f17a5
commit
f8e5efe495
8 changed files with 26 additions and 143 deletions
|
@ -2,15 +2,14 @@
|
|||
import { OsmConnection } from "../../Logic/Osm/OsmConnection"
|
||||
import Translations from "../i18n/Translations.js"
|
||||
import Tr from "./Tr.svelte"
|
||||
import ToSvelte from "./ToSvelte.svelte"
|
||||
import Svg from "../../Svg"
|
||||
import Login from "../../assets/svg/Login.svelte"
|
||||
|
||||
export let osmConnection: OsmConnection
|
||||
export let clss: string | undefined = undefined
|
||||
</script>
|
||||
|
||||
<button class={clss} on:click={() => osmConnection.AttemptLogin()} style="margin-left: 0">
|
||||
<ToSvelte construct={Svg.login_svg().SetClass("w-12 m-1")} />
|
||||
<Login class="w-12 m-1" />
|
||||
<slot>
|
||||
<Tr t={Translations.t.general.loginWithOpenStreetMap} />
|
||||
</slot>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue