0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch.git synced 2024-12-22 13:22:58 -05:00

Add "twitch" button #39

This commit is contained in:
dragongoose 2023-10-04 21:41:38 -04:00
parent 85c6a9aaea
commit 01bd23a29c
No known key found for this signature in database
GPG key ID: 01397EEC371CDAA5

View file

@ -33,14 +33,15 @@ export default {
</div>
<search-bar class="mt-4 mr-4 hidden sm:inline-block sm:mt-0"></search-bar>
<div class="text-contrast hidden sm:block">
<div class="text-contrast hidden space-x-4 sm:block">
<a
href="https://codeberg.org/dragongoose/safetwitch"
class="mt-4 mr-4 sm:inline-block sm:mt-0"
target="_blank"
>{{ $t('nav.code') }}</a
>
<router-link to="/privacy" class="mt-4 mr-4 sm:inline-block sm:mt-0">{{
<a :href="'https://twitch.tv' + $route.fullPath">Twitch</a>
<router-link to="/privacy">{{
$t('nav.privacy')
}}</router-link>
<router-link to="/settings">{{ $t("nav.settings") }}</router-link>
@ -60,6 +61,7 @@ export default {
<search-bar></search-bar>
<ul class="inline-flex space-x-3 md:space-x-6 font-medium">
<a href="https://codeberg.org/dragongoose/safetwitch">{{ $t('nav.code') }}</a>
<a :href="'https://twitch.tv' + $route.fullPath">Redirect to Twitch</a>
<router-link to="/privacy">{{ $t('nav.privacy') }}</router-link>
<router-link to="/settings">{{ $t("nav.settings") }}</router-link>
</ul>