forked from MapComplete/MapComplete
Single build: hide backlink, fix script
This commit is contained in:
parent
f0c0590d66
commit
4947f4c0a1
2 changed files with 12 additions and 9 deletions
|
@ -117,7 +117,7 @@ then
|
||||||
git push
|
git push
|
||||||
cd -
|
cd -
|
||||||
fi
|
fi
|
||||||
rm "dist_$THEME"
|
rm -r "dist_$THEME"
|
||||||
else
|
else
|
||||||
echo "BUILD COMPLETED"
|
echo "BUILD COMPLETED"
|
||||||
echo "On what domain will you deploy?"
|
echo "On what domain will you deploy?"
|
||||||
|
|
|
@ -21,19 +21,22 @@
|
||||||
|
|
||||||
let layout = state.layout
|
let layout = state.layout
|
||||||
let featureSwitches = state.featureSwitches
|
let featureSwitches = state.featureSwitches
|
||||||
|
let showHome = featureSwitches.featureSwitchBackToThemeOverview
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="link-underline links-w-full m-2 flex flex-col gap-y-1">
|
<div class="link-underline links-w-full m-2 flex flex-col gap-y-1">
|
||||||
<Tr t={Translations.t.general.aboutMapComplete.intro} />
|
<Tr t={Translations.t.general.aboutMapComplete.intro} />
|
||||||
|
|
||||||
<a class="flex" href={Utils.HomepageLink()}>
|
{#if ²$showHome}
|
||||||
<Add class="h-6 w-6" />
|
<a class="flex" href={Utils.HomepageLink()}>
|
||||||
{#if Utils.isIframe}
|
<Add class="h-6 w-6" />
|
||||||
<Tr t={Translations.t.general.seeIndex} />
|
{#if Utils.isIframe}
|
||||||
{:else}
|
<Tr t={Translations.t.general.seeIndex} />
|
||||||
<Tr t={Translations.t.general.backToIndex} />
|
{:else}
|
||||||
{/if}
|
<Tr t={Translations.t.general.backToIndex} />
|
||||||
</a>
|
{/if}
|
||||||
|
</a>
|
||||||
|
{/if}
|
||||||
|
|
||||||
<a class="flex" href="https://github.com/pietervdvn/MapComplete/" target="_blank">
|
<a class="flex" href="https://github.com/pietervdvn/MapComplete/" target="_blank">
|
||||||
<Github class="h-6 w-6" />
|
<Github class="h-6 w-6" />
|
||||||
|
|
Loading…
Reference in a new issue