Small tweak to copyright panel

This commit is contained in:
Pieter Vander Vennet 2024-07-25 00:38:25 +02:00
parent 9e10c73791
commit 8748020b31
2 changed files with 12 additions and 14 deletions

View file

@ -145,20 +145,20 @@
<Tr t={$bgMapAttribution} /> <Tr t={$bgMapAttribution} />
</div> </div>
{/if} {/if}
<div class="flex items-center gap-x-2"> {#if maintainer !== undefined}
<Marker icons={state.layout.icon} size="h-8 w-8 shrink-0" /> <div class="flex items-center gap-x-2">
<Tr t={maintainer} /> <Marker icons={state.layout.icon} size="h-8 w-8 shrink-0" />
</div> <Tr t={maintainer} />
</div>
{/if}
<div class="flex items-center gap-x-2"> {#if $datacontributions !== undefined}
<UserGroupIcon class="w-8 h-8 shrink-0" /> <div class="flex items-center gap-x-2">
{#if $datacontributions !== undefined} <UserGroupIcon class="w-8 h-8 shrink-0" />
<Tr t={$datacontributions} /> <Tr t={$datacontributions} />
{:else} </div>
<Loading /> {/if}
{/if}
</div>
<div class="flex items-center gap-x-2"> <div class="flex items-center gap-x-2">

View file

@ -65,16 +65,14 @@
import ExtraLinkButton from "./BigComponents/ExtraLinkButton.svelte" import ExtraLinkButton from "./BigComponents/ExtraLinkButton.svelte"
import CloseAnimation from "./Base/CloseAnimation.svelte" import CloseAnimation from "./Base/CloseAnimation.svelte"
import { LastClickFeatureSource } from "../Logic/FeatureSource/Sources/LastClickFeatureSource" import { LastClickFeatureSource } from "../Logic/FeatureSource/Sources/LastClickFeatureSource"
import Github from "../assets/svg/Github.svelte"
import ArrowDownTray from "@babeard/svelte-heroicons/mini/ArrowDownTray" import ArrowDownTray from "@babeard/svelte-heroicons/mini/ArrowDownTray"
import Share from "@babeard/svelte-heroicons/solid/Share" import Share from "@babeard/svelte-heroicons/solid/Share"
import ChevronRight from "@babeard/svelte-heroicons/solid/ChevronRight" import ChevronRight from "@babeard/svelte-heroicons/solid/ChevronRight"
import DocumentChartBar from "@babeard/svelte-heroicons/outline/DocumentChartBar"
import Marker from "./Map/Marker.svelte" import Marker from "./Map/Marker.svelte"
import AboutMapComplete from "./BigComponents/AboutMapComplete.svelte" import AboutMapComplete from "./BigComponents/AboutMapComplete.svelte"
import HotkeyTable from "./BigComponents/HotkeyTable.svelte" import HotkeyTable from "./BigComponents/HotkeyTable.svelte"
import SelectedElementPanel from "./Base/SelectedElementPanel.svelte" import SelectedElementPanel from "./Base/SelectedElementPanel.svelte"
import { LayerConfigJson } from "../Models/ThemeConfig/Json/LayerConfigJson" import type { LayerConfigJson } from "../Models/ThemeConfig/Json/LayerConfigJson"
export let state: ThemeViewState export let state: ThemeViewState
let layout = state.layout let layout = state.layout