|
2 | 2 | @using TomAndJerry.Model |
3 | 3 | @inject NavigationManager Nav |
4 | 4 |
|
5 | | -<div class="tom-jerry-card cursor-pointer group p-2 sm:p-4" @onclick="GoToPage"> |
| 5 | +< div id="[email protected]" class= "tom-jerry-card cursor-pointer group p-2 sm:p-4" @onclick= "GoToPage"> |
6 | 6 | <!-- Thumbnail Container --> |
7 | | - <div class="relative aspect-video bg-soft-yellow rounded-xl sm:rounded-2xl overflow-hidden mb-3 sm:mb-4 border-2 border-jerry-brown shadow-lg"> |
| 7 | + < div id="[email protected]" class= "relative aspect-video bg-soft-yellow rounded-xl sm:rounded-2xl overflow-hidden mb-3 sm:mb-4 border-2 border-jerry-brown shadow-lg"> |
8 | 8 | <img src="@VideoModel.Thumbnail" |
9 | 9 | alt="@GetCleanTitle()" |
10 | 10 | class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-300"/> |
11 | 11 |
|
12 | 12 | <!-- Play Button Overlay --> |
13 | | - <div class="absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity duration-300"> |
| 13 | + < div id="[email protected]" class= "absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity duration-300"> |
14 | 14 | <div class="w-16 h-16 sm:w-20 sm:h-20 bg-gradient-to-r from-tom-blue to-cartoon-red rounded-full flex items-center justify-center shadow-2xl cartoon-rounded animate-bounce-slow"> |
15 | 15 | <svg class="w-6 h-6 sm:w-8 sm:h-8 text-white ml-1" fill="currentColor" viewBox="0 0 20 20"> |
16 | 16 | <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832l3-2a1 1 0 000-1.664l-3-2z" clip-rule="evenodd"/> |
|
19 | 19 | </div> |
20 | 20 |
|
21 | 21 | <!-- Duration Badge --> |
22 | | - <div class="absolute bottom-2 sm:bottom-3 right-2 sm:right-3 bg-jerry-brown text-white text-xs px-2 sm:px-3 py-1 rounded-full font-bold font-comic shadow-lg"> |
| 22 | + < div id="[email protected]" class= "absolute bottom-2 sm:bottom-3 right-2 sm:right-3 bg-jerry-brown text-white text-xs px-2 sm:px-3 py-1 rounded-full font-bold font-comic shadow-lg"> |
23 | 23 | 7:30 |
24 | 24 | </div> |
25 | 25 | </div> |
26 | 26 |
|
27 | 27 | <!-- Video Info --> |
28 | | - <div class="space-y-2 sm:space-y-3"> |
| 28 | + < div id="[email protected]" class= "space-y-2 sm:space-y-3"> |
29 | 29 | <!-- Title --> |
30 | | - <h3 class="font-bold text-amber-800 text-sm sm:text-base line-clamp-2 group-hover:text-blue-600 transition-colors font-cartoon"> |
| 30 | + < h3 id="[email protected]" class= "font-bold text-amber-800 text-sm sm:text-base line-clamp-2 group-hover:text-blue-600 transition-colors font-cartoon"> |
31 | 31 | @GetCleanTitle() |
32 | 32 | </h3> |
33 | 33 |
|
34 | 34 | <!-- Channel Info --> |
35 | | - <div class="flex items-center space-x-2 sm:space-x-3"> |
| 35 | + < div id="[email protected]" class= "flex items-center space-x-2 sm:space-x-3"> |
36 | 36 | <div class="jerry-character"> |
37 | 37 | <div class="w-6 h-6 sm:w-8 sm:h-8 rounded-full overflow-hidden ring-2 ring-cartoon-yellow shadow-lg"> |
38 | 38 | <RandomSticker CssClass="w-full h-full" ImageCssClass="w-full h-full object-cover" AutoRefresh="true" RefreshIntervalSeconds="15" /> |
|
42 | 42 | </div> |
43 | 43 |
|
44 | 44 | <!-- Stats --> |
45 | | - <div class="text-xs sm:text-sm text-amber-800 font-comic font-semibold"> |
| 45 | + < div id="[email protected]" class= "text-xs sm:text-sm text-amber-800 font-comic font-semibold"> |
46 | 46 | <span class="bg-soft-yellow px-1.5 sm:px-2 py-0.5 sm:py-1 rounded-full">@GetRandomViews() views</span> |
47 | 47 | <span class="mx-1 sm:mx-2">•</span> |
48 | 48 | <span class="bg-soft-blue px-1.5 sm:px-2 py-0.5 sm:py-1 rounded-full">@GetRandomTimeAgo()</span> |
|
0 commit comments