forked from MapComplete/MapComplete
UX: usersetting visual cleanup, add 'clear caches'-option, version bump
This commit is contained in:
parent
7293edf228
commit
97df1dc65b
13 changed files with 108 additions and 27 deletions
|
|
@ -1,5 +1,6 @@
|
|||
<script lang="ts">
|
||||
import { ImmutableStore, Store } from "../../Logic/UIEventSource"
|
||||
import Icon from "../Map/Icon.svelte"
|
||||
|
||||
export let text: Store<string>
|
||||
export let href: Store<string>
|
||||
|
|
@ -8,6 +9,7 @@
|
|||
export let ariaLabel: Store<string> = undefined
|
||||
|
||||
export let newTab: Store<boolean> = new ImmutableStore(false)
|
||||
export let icon: Store<string> = undefined
|
||||
</script>
|
||||
|
||||
<a
|
||||
|
|
@ -18,5 +20,8 @@
|
|||
download={$download}
|
||||
class={$classnames}
|
||||
>
|
||||
{#if $icon}
|
||||
<Icon clss="w-8 h-8" icon={$icon}/>
|
||||
{/if}
|
||||
{@html $text}
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue