From 8748020b3112fad4ff162b05bed9e106e26ac57d Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 25 Jul 2024 00:38:25 +0200 Subject: [PATCH] Small tweak to copyright panel --- src/UI/BigComponents/CopyrightPanel.svelte | 22 +++++++++++----------- src/UI/ThemeViewGUI.svelte | 4 +--- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/src/UI/BigComponents/CopyrightPanel.svelte b/src/UI/BigComponents/CopyrightPanel.svelte index 42c9173f5..a8f3190db 100644 --- a/src/UI/BigComponents/CopyrightPanel.svelte +++ b/src/UI/BigComponents/CopyrightPanel.svelte @@ -145,20 +145,20 @@ {/if} -
- - -
+ {#if maintainer !== undefined} +
+ + +
+ {/if} -
- - {#if $datacontributions !== undefined} + {#if $datacontributions !== undefined} +
+ - {:else} - - {/if} -
+
+ {/if}
diff --git a/src/UI/ThemeViewGUI.svelte b/src/UI/ThemeViewGUI.svelte index 97bbb91cd..aefe06216 100644 --- a/src/UI/ThemeViewGUI.svelte +++ b/src/UI/ThemeViewGUI.svelte @@ -65,16 +65,14 @@ import ExtraLinkButton from "./BigComponents/ExtraLinkButton.svelte" import CloseAnimation from "./Base/CloseAnimation.svelte" import { LastClickFeatureSource } from "../Logic/FeatureSource/Sources/LastClickFeatureSource" - import Github from "../assets/svg/Github.svelte" import ArrowDownTray from "@babeard/svelte-heroicons/mini/ArrowDownTray" import Share from "@babeard/svelte-heroicons/solid/Share" import ChevronRight from "@babeard/svelte-heroicons/solid/ChevronRight" - import DocumentChartBar from "@babeard/svelte-heroicons/outline/DocumentChartBar" import Marker from "./Map/Marker.svelte" import AboutMapComplete from "./BigComponents/AboutMapComplete.svelte" import HotkeyTable from "./BigComponents/HotkeyTable.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 let layout = state.layout