|
29 | 29 |
|
30 | 30 | <div class="logo-cloud grid-cols-1 md:grid-cols-3! gap-1" style="display: grid;"> |
31 | 31 | <a class="logo-item rounded-s-2xl" href="https://www.twitch.tv/linustech" target="_blank" rel="noopener"> |
32 | | - <span> |
| 32 | + <div class="h-min mr-2.5"> |
33 | 33 | {#if page.url.searchParams.has('boca')} |
34 | 34 | <img |
35 | 35 | class="absolute z-0 rounded-lg" |
36 | 36 | style="margin-left: 1px; height: 26px; width: 30px;" |
37 | 37 | src="/secret/boca-cropped.jpg" |
| 38 | + alt="" |
| 39 | + aria-hidden="true" |
38 | 40 | /> |
39 | 41 | {/if} |
40 | | - <span class="inline-block relative z-10"> |
| 42 | + <div class="inline-block relative z-10 -mb-1"> |
41 | 43 | <Twitch /> |
42 | | - </span> |
43 | | - </span> |
44 | | - <span> |
| 44 | + </div> |
| 45 | + </div> |
| 46 | + <span class="inline-block"> |
45 | 47 | Twitch<br /> |
46 | 48 | <span class="status opacity-50" class:wan={data.liveStatus.twitch.isWAN}> |
47 | 49 | {#if data.liveStatus.twitch.isLive} |
|
57 | 59 | </span> |
58 | 60 | </a> |
59 | 61 | <a class="logo-item" href="/youtube-redirect" target="_blank"> |
60 | | - <span> |
| 62 | + <div class="mr-1.25"> |
61 | 63 | {#if page.url.searchParams.has('boca')} |
62 | 64 | <img |
63 | 65 | class="absolute z-10 rounded-md opacity-50" |
64 | 66 | style="margin-left: 6px; margin-top: 7px; height: 26px; width: 37px;" |
65 | 67 | src="/secret/boca-cropped.jpg" |
66 | 68 | /> |
67 | 69 | {/if} |
68 | | - <span class="inline-block relative z-0"> |
| 70 | + <div class="inline-block relative z-0"> |
69 | 71 | <Youtube /> |
70 | | - </span> |
71 | | - </span> |
72 | | - <span> |
| 72 | + </div> |
| 73 | + </div> |
| 74 | + <div class="inline-block"> |
73 | 75 | Youtube<br /> |
74 | | - <span |
| 76 | + <div |
75 | 77 | class="status opacity-50" |
76 | 78 | class:wan={data.liveStatus.youtube?.isWAN && data.liveStatus.youtube?.isLive} |
77 | 79 | class:upcoming={data.liveStatus.youtube?.upcoming} |
|
87 | 89 | {@const scheduled = new Date(data.liveStatus.youtube.scheduledStart)} |
88 | 90 | (scheduled: |
89 | 91 | <span |
90 | | - class="inline-block min-w-[65px]" |
| 92 | + class="inline-block min-w-16.25" |
91 | 93 | title="Scheduled for {scheduled.toLocaleDateString(getDateFormatLocale(), { |
92 | 94 | dateStyle: 'medium' |
93 | 95 | })}, {scheduled.toLocaleTimeString(undefined, { |
|
103 | 105 | {:else} |
104 | 106 | (offline) |
105 | 107 | {/if} |
106 | | - </span> |
107 | | - </span> |
| 108 | + </div> |
| 109 | + </div> |
108 | 110 | </a> |
109 | 111 | <a |
110 | 112 | class="logo-item rounded-e-2xl" |
111 | 113 | href="https://www.floatplane.com/channel/linustechtips/live" |
112 | 114 | target="_blank" |
113 | 115 | rel="noopener" |
114 | 116 | > |
115 | | - <span> |
| 117 | + <div class="mr-2"> |
116 | 118 | {#if page.url.searchParams.has('boca')} |
117 | 119 | <img |
118 | 120 | class="absolute z-0 rounded-full" |
119 | 121 | style="margin-left: 2px; margin-top: 4px; height: 26px; width: 26px;" |
120 | 122 | src="/secret/boca-cropped.jpg" |
| 123 | + alt="" |
| 124 | + aria-hidden="true" |
121 | 125 | /> |
122 | 126 | {/if} |
123 | 127 | <div class="inline-block relative z-10"> |
124 | 128 | <Floatplane /> |
125 | 129 | </div> |
126 | | - </span> |
127 | | - <span> |
| 130 | + </div> |
| 131 | + <span class="inline-block"> |
128 | 132 | Floatplane<br /> |
129 | 133 | <span |
130 | 134 | class="status opacity-50" |
|
160 | 164 | } |
161 | 165 |
|
162 | 166 | .logo-item { |
163 | | - padding: 1.5em 2em; |
| 167 | + @apply flex justify-center items-center; |
| 168 | + padding: 1.5em 1.5em; |
164 | 169 | background-color: rgba(26, 28, 38, 70%); |
165 | | - color: rgb(255, 255, 255); |
| 170 | + color: white; |
166 | 171 | width: 100%; |
167 | 172 | max-width: 300px; |
168 | | - text-align: center; |
169 | 173 | } |
170 | 174 | .logo-item:hover { |
171 | 175 | text-decoration: inherit; |
|
0 commit comments