mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Rename LBRY to Odysee, add Icon
This commit is contained in:
parent
d79ee9d52d
commit
a721f22138
2 changed files with 15 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue