Rename LBRY to Odysee, add Icon

This commit is contained in:
Nyte 2023-06-15 15:22:52 +02:00
parent d79ee9d52d
commit a721f22138
2 changed files with 15 additions and 4 deletions

View file

@ -120,13 +120,23 @@
</button>
<!-- YouTube -->
<WatchOnYouTubeButton :link="`https://youtu.be/${getVideoId()}`" />
<!-- LBRY -->
<!-- Odysee -->
<!-- For large screens -->
<a
v-if="video.lbryId"
:href="'https://odysee.com/' + video.lbryId"
class="btn flex items-center"
class="btn lt-lg:hidden flex items-center"
>
<i18n-t keypath="player.watch_on" tag="strong">LBRY</i18n-t>
<i18n-t keypath="player.watch_on" tag="strong">Odysee</i18n-t>
<font-awesome-icon class="mx-1.5" :icon="['fab', 'odysee']" />
</a>
<!-- For small screens -->
<a
v-if="video.lbryId"
:href="'https://odysee.com/' + video.lbryId"
class="btn lg:hidden flex items-center"
>
<font-awesome-icon class="mx-1.5" :icon="['fab', 'odysee']" />
</a>
<!-- listen / watch toggle -->
<router-link

View file

@ -23,7 +23,7 @@ import {
faBookmark,
faEdit,
} from "@fortawesome/free-solid-svg-icons";
import { faGithub, faBitcoin, faYoutube } from "@fortawesome/free-brands-svg-icons";
import { faGithub, faBitcoin, faYoutube, faOdysee } from "@fortawesome/free-brands-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
library.add(
faEye,
@ -34,6 +34,7 @@ library.add(
faHeart,
faHeadphones,
faYoutube,
faOdysee,
faRss,
faChevronLeft,
faLevelDownAlt,