diff --git a/src/components/user/AboutTab.vue b/src/components/user/AboutTab.vue new file mode 100644 index 0000000..0f1bb70 --- /dev/null +++ b/src/components/user/AboutTab.vue @@ -0,0 +1,50 @@ + + + \ No newline at end of file diff --git a/src/main.ts b/src/main.ts index d49c8e5..327328c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -24,13 +24,14 @@ import { IoSearchOutline, BiHeadphones, BiCameraVideoFill, - IoLink, + BiLink45Deg, FaCircleNotch, BiTwitter, BiInstagram, BiDiscord, BiYoutube, BiTiktok, + BiReddit, BiHeartFill, IoPerson } from 'oh-vue-icons/icons' @@ -39,13 +40,14 @@ addIcons( IoSearchOutline, BiHeadphones, BiCameraVideoFill, - IoLink, + BiLink45Deg, FaCircleNotch, BiTwitter, BiInstagram, BiDiscord, BiYoutube, BiTiktok, + BiReddit, BiHeartFill, IoPerson ) diff --git a/src/types/Streamer.ts b/src/types/Streamer.ts index 6d062e9..f77fd0a 100644 --- a/src/types/Streamer.ts +++ b/src/types/Streamer.ts @@ -1,5 +1,5 @@ export interface Social { - type: string | null + type: string name: string url: string } diff --git a/src/views/ClipView.vue b/src/views/ClipView.vue index 077e5b6..71de223 100644 --- a/src/views/ClipView.vue +++ b/src/views/ClipView.vue @@ -7,6 +7,7 @@ import TwitchChat from '@/components/TwitchChat.vue' import ErrorMessage from '@/components/ErrorMessage.vue' import FollowButton from '@/components/FollowButton.vue' import LoadingScreen from '@/components/LoadingScreen.vue' +import AboutTab from '@/components/user/AboutTab.vue' import type { Video } from '@/types' import { truncate, abbreviate, getEndpoint } from '@/mixins' @@ -71,7 +72,8 @@ export default { TwitchChat, ErrorMessage, FollowButton, - LoadingScreen + LoadingScreen, + AboutTab }, methods: { truncate, @@ -131,24 +133,7 @@ export default { -
-
- {{ $t('streamer.about') }} -
- -

{{ data.streamer.about }}

- -
- - -
+ -
-
- {{ $t('streamer.about') }} -
- -

{{ data.about }}

- -
- - -
+ -
-
- {{ $t('streamer.about') }} -
- -

{{ data.streamer.about }}

- -
- - -
+