diff --git a/src/app/Models/Channel.php b/src/app/Models/Channel.php index 93577fa..85bface 100644 --- a/src/app/Models/Channel.php +++ b/src/app/Models/Channel.php @@ -14,6 +14,7 @@ class Channel extends Model 'youtube_name', 'twitch_id', 'youtube_id', + 'img_url', 'language', 'fetching_enabled', ]; diff --git a/src/resources/js/Pages/Clips.tsx b/src/resources/js/Pages/Clips.tsx index ac5e87d..9d3db58 100644 --- a/src/resources/js/Pages/Clips.tsx +++ b/src/resources/js/Pages/Clips.tsx @@ -203,8 +203,8 @@ export default function Clips() { >
Video Thumbnail
diff --git a/src/resources/js/Pages/Videos.tsx b/src/resources/js/Pages/Videos.tsx index 06ad859..77e8403 100644 --- a/src/resources/js/Pages/Videos.tsx +++ b/src/resources/js/Pages/Videos.tsx @@ -197,13 +197,13 @@ export default function Videos() { - +
Avatar Tailwind CSS Component + src={video.channel.img_url} + alt={video.channel.channel_name}/>
@@ -213,13 +213,16 @@ export default function Videos() {
- {video.name} -
- - - Clip count: {video.clips.length || 0} - - +
+
+ {video.name} +
+ + + Clip count: {video.clips.length || 0} + + +
@@ -236,16 +239,6 @@ export default function Videos() { - {/* foot */} - - - - Name - Job - Favorite Color - - -
diff --git a/src/resources/js/types.ts b/src/resources/js/types.ts index 1f3ffe4..329102c 100644 --- a/src/resources/js/types.ts +++ b/src/resources/js/types.ts @@ -127,6 +127,7 @@ export interface Channel { youtube_name: string | null; twitch_id: string | null; youtube_id: string | null; + img_url: string | null; language: string; fetching_enabled: boolean; created_at: Date | null;