Add link to OsmCha in about

This commit is contained in:
Pieter Vander Vennet 2024-06-21 02:46:54 +02:00
parent 1acb645beb
commit 8a40c5953f
2 changed files with 17 additions and 8 deletions

View file

@ -200,6 +200,7 @@
"openIssueTracker": "File a bug", "openIssueTracker": "File a bug",
"openMapillary": "Open Mapillary here", "openMapillary": "Open Mapillary here",
"openOsmcha": "See latest edits made with {theme}", "openOsmcha": "See latest edits made with {theme}",
"openOsmchaLastWeek": "See edits from the last 7 days",
"openThemeDocumentation": "Open the documentation for thematic map {name}", "openThemeDocumentation": "Open the documentation for thematic map {name}",
"seeOnMapillary": "See this image on Mapillary", "seeOnMapillary": "See this image on Mapillary",
"themeBy": "Theme maintained by {author}", "themeBy": "Theme maintained by {author}",

View file

@ -25,6 +25,8 @@
import Liberapay from "../assets/svg/Liberapay.svelte" import Liberapay from "../assets/svg/Liberapay.svelte"
import Bug from "../assets/svg/Bug.svelte" import Bug from "../assets/svg/Bug.svelte"
import Github from "../assets/svg/Github.svelte" import Github from "../assets/svg/Github.svelte"
import { Utils } from "../Utils"
import { ArrowTrendingUp } from "@babeard/svelte-heroicons/solid/ArrowTrendingUp"
const featureSwitches = new OsmConnectionFeatureSwitches() const featureSwitches = new OsmConnectionFeatureSwitches()
const osmConnection = new OsmConnection({ const osmConnection = new OsmConnection({
@ -146,6 +148,15 @@
<UnofficialThemeList search={themeSearchText} {state} /> <UnofficialThemeList search={themeSearchText} {state} />
</LoginToggle> </LoginToggle>
<a
class="flex button"
href={window.location.protocol + "//" + window.location.host + "/studio.html"}
>
<Pencil class="mr-2 h-6 w-6" />
<Tr t={Translations.t.general.morescreen.createYourOwnTheme} />
</a>
<h3 id="about"> <h3 id="about">
<Tr t={Translations.t.index.about} /> <Tr t={Translations.t.index.about} />
</h3> </h3>
@ -161,6 +172,11 @@
<Tr t={Translations.t.general.attribution.openIssueTracker} /> <Tr t={Translations.t.general.attribution.openIssueTracker} />
</a> </a>
<a class="flex" href={Utils.OsmChaLinkFor(7)} target="_blank">
<ArrowTrendingUp class="mr-2 h-6 w-6"/>
<Tr t={Translations.t.general.attribution.openOsmchaLastWeek}/>
</a>
<a class="flex" href="https://en.osm.town/@MapComplete" target="_blank"> <a class="flex" href="https://en.osm.town/@MapComplete" target="_blank">
<Mastodon class="mr-2 h-6 w-6" /> <Mastodon class="mr-2 h-6 w-6" />
<Tr t={Translations.t.general.attribution.followOnMastodon} /> <Tr t={Translations.t.general.attribution.followOnMastodon} />
@ -171,14 +187,6 @@
<Tr t={Translations.t.general.attribution.donate} /> <Tr t={Translations.t.general.attribution.donate} />
</a> </a>
<a
class="flex"
href={window.location.protocol + "//" + window.location.host + "/studio.html"}
>
<Pencil class="mr-2 h-6 w-6" />
<Tr t={Translations.t.general.morescreen.createYourOwnTheme} />
</a>
<a <a
class="flex" class="flex"
href={window.location.protocol + "//" + window.location.host + "/privacy.html"} href={window.location.protocol + "//" + window.location.host + "/privacy.html"}