web/DonateShareCard: hide twitter button in russia

This commit is contained in:
wukko 2024-08-09 16:06:33 +06:00
parent d1a2d768d9
commit 6bda6dab03
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -1,6 +1,7 @@
<script lang="ts"> <script lang="ts">
import { contacts } from "$lib/env"; import { contacts } from "$lib/env";
import { device } from "$lib/device"; import { device } from "$lib/device";
import locale from "$lib/i18n/locale";
import { t } from "$lib/i18n/translations"; import { t } from "$lib/i18n/translations";
import { openURL, copyURL, shareURL } from "$lib/download"; import { openURL, copyURL, shareURL } from "$lib/download";
@ -82,6 +83,7 @@
{$t("button.star")} {$t("button.star")}
</button> </button>
{#if $locale !== "ru"}
<button <button
id="action-button-twitter" id="action-button-twitter"
class="action-button" class="action-button"
@ -92,6 +94,7 @@
</div> </div>
{$t("button.follow")} {$t("button.follow")}
</button> </button>
{/if}
</div> </div>
</div> </div>
<div <div