|
3 | 3 | @inject NavigationManager nav |
4 | 4 | @inject IJSRuntime JSRuntime |
5 | 5 |
|
6 | | -<header class="fixed top-0 left-0 right-0 z-50 bg-white border-b border-gray-200 shadow-sm"> |
7 | | - <div class="max-w-7xl mx-auto px-4"> |
8 | | - <div class="flex items-center justify-between h-16"> |
| 6 | +<header class="fixed top-0 left-0 right-0 z-50 tom-jerry-header shadow-lg"> |
| 7 | + <div class="max-w-7xl mx-auto px-2 sm:px-4"> |
| 8 | + <div class="flex items-center justify-between h-14 sm:h-16"> |
9 | 9 | <!-- Left Section --> |
10 | | - <div class="flex items-center space-x-4"> |
11 | | - <!-- Menu Button --> |
12 | | - <button @onclick="GoToHomePage" |
13 | | - class="p-2 text-gray-600 hover:text-gray-900 hover:bg-gray-100 rounded-full transition-colors"> |
14 | | - <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
15 | | - <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path> |
16 | | - </svg> |
17 | | - </button> |
18 | | - |
| 10 | + <div class="flex items-center space-x-2 sm:space-x-4"> |
19 | 11 | <!-- Logo --> |
20 | | - <div class="flex items-center space-x-3"> |
21 | | - <div class="w-8 h-8 rounded-full overflow-hidden"> |
22 | | - <img src="Tom.png" alt="Tom & Jerry" class="w-full h-full object-cover"/> |
| 12 | + <div class="flex items-center space-x-2 sm:space-x-3 cursor-pointer" @onclick="GoToHomePage"> |
| 13 | + <div class="tom-character"> |
| 14 | + <div class="w-8 h-8 sm:w-10 sm:h-10 rounded-full overflow-hidden ring-2 ring-white/30 shadow-lg"> |
| 15 | + <img src="Tom.png" alt="Tom" class="w-full h-full object-cover"/> |
| 16 | + </div> |
23 | 17 | </div> |
24 | | - <span class="text-xl font-bold text-gray-900">Tom & Jerry</span> |
25 | 18 | </div> |
26 | 19 | </div> |
27 | 20 |
|
28 | 21 | <!-- Center Section - Search --> |
29 | | - <div class="flex-1 max-w-2xl mx-8"> |
| 22 | + <div class="flex-1 max-w-xs sm:max-w-md md:max-w-2xl mx-2 sm:mx-4 md:mx-8"> |
30 | 23 | <RealTimeSearch /> |
31 | 24 | </div> |
32 | 25 |
|
33 | 26 | <!-- Right Section --> |
34 | | - <div class="flex items-center space-x-2"> |
| 27 | + <div class="flex items-center space-x-1 sm:space-x-2"> |
35 | 28 | <!-- Stats --> |
36 | | - <div class="hidden md:flex items-center space-x-4 text-sm text-gray-600"> |
37 | | - <div class="text-center"> |
| 29 | + <div class="hidden sm:flex items-center space-x-2 md:space-x-4 text-sm text-white"> |
| 30 | + <div class="text-center bg-white/20 rounded-2xl px-2 sm:px-4 py-1 sm:py-2 cartoon-rounded"> |
38 | 31 | @if (StateService.IsLoading || !StateService.CurrentVideos.Any()) |
39 | 32 | { |
40 | | - <div class="h-5 bg-gray-200 rounded w-8 mx-auto mb-1 skeleton"></div> |
41 | | - <div class="text-xs text-gray-500">Episodes</div> |
| 33 | + <div class="h-4 sm:h-5 bg-white/30 rounded w-6 sm:w-8 mx-auto mb-1 skeleton"></div> |
| 34 | + <div class="text-xs text-white/80 font-comic">Episodes</div> |
42 | 35 | } |
43 | 36 | else |
44 | 37 | { |
45 | | - <div class="font-semibold text-gray-900">@StateService.CurrentVideos.Count()</div> |
46 | | - <div class="text-xs text-gray-500">Episodes</div> |
| 38 | + <div class="font-bold text-white font-cartoon text-sm sm:text-lg">@StateService.CurrentVideos.Count()</div> |
| 39 | + <div class="text-xs text-white/80 font-comic">Episodes</div> |
47 | 40 | } |
48 | 41 | </div> |
49 | 42 | </div> |
50 | | - |
51 | | - <!-- Profile --> |
52 | | - <div class="w-8 h-8 rounded-full overflow-hidden ring-2 ring-gray-200"> |
53 | | - <img src="Tom.png" alt="Profile" class="w-full h-full object-cover"/> |
54 | | - </div> |
55 | 43 | </div> |
56 | 44 | </div> |
57 | 45 | </div> |
|
0 commit comments