images
This commit is contained in:
parent
f51c2c68d3
commit
d443ba75ba
@ -14,6 +14,7 @@ class Channel extends Model
|
||||
'youtube_name',
|
||||
'twitch_id',
|
||||
'youtube_id',
|
||||
'img_url',
|
||||
'language',
|
||||
'fetching_enabled',
|
||||
];
|
||||
|
@ -203,8 +203,8 @@ export default function Clips() {
|
||||
>
|
||||
<figure>
|
||||
<img
|
||||
src="https://img.daisyui.com/images/stock/photo-1606107557195-0e29a4b5b4aa.webp"
|
||||
alt="Video Thumbnail"
|
||||
src={clip.video.channel.img_url}
|
||||
alt={clip.video.channel.channel_name}
|
||||
/>
|
||||
</figure>
|
||||
<div className="card-body">
|
||||
|
@ -197,13 +197,13 @@ export default function Videos() {
|
||||
<input type="checkbox" className="checkbox"/>
|
||||
</label>
|
||||
</th>
|
||||
<td>
|
||||
<td className="pr-0">
|
||||
<div className="flex items-center gap-3">
|
||||
<div className="avatar">
|
||||
<div className="mask mask-squircle h-12 w-12">
|
||||
<img
|
||||
src="https://img.daisyui.com/images/profile/demo/2@94.webp"
|
||||
alt="Avatar Tailwind CSS Component"/>
|
||||
src={video.channel.img_url}
|
||||
alt={video.channel.channel_name}/>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
@ -213,13 +213,16 @@ export default function Videos() {
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
{video.name}
|
||||
<br/>
|
||||
<a href={route('clips', {video_id: video.id})} target="_blank">
|
||||
<span className="badge badge-ghost badge-sm">
|
||||
Clip count: {video.clips.length || 0}
|
||||
</span>
|
||||
</a>
|
||||
<div className="flex flex-col w-max max-w-[500px]">
|
||||
<div>
|
||||
{video.name}
|
||||
</div>
|
||||
<a href={route('clips', {video_id: video.id})} target="_blank">
|
||||
<span className="badge badge-ghost badge-sm">
|
||||
Clip count: {video.clips.length || 0}
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div className="grid grid-cols-2 gap-2">
|
||||
@ -236,16 +239,6 @@ export default function Videos() {
|
||||
|
||||
|
||||
</tbody>
|
||||
{/* foot */}
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Name</th>
|
||||
<th>Job</th>
|
||||
<th>Favorite Color</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user