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> </button>
<!-- YouTube --> <!-- YouTube -->
<WatchOnYouTubeButton :link="`https://youtu.be/${getVideoId()}`" /> <WatchOnYouTubeButton :link="`https://youtu.be/${getVideoId()}`" />
<!-- LBRY --> <!-- Odysee -->
<!-- For large screens -->
<a <a
v-if="video.lbryId" v-if="video.lbryId"
:href="'https://odysee.com/' + 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> </a>
<!-- listen / watch toggle --> <!-- listen / watch toggle -->
<router-link <router-link

View file

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