|
100 | 100 | </p> |
101 | 101 | </div> |
102 | 102 | </div> |
103 | | - <p>Hidden dragons are not shown and will be regularly removed.</p> |
104 | | - <p class="text-sm"> |
105 | | - Your dragons have received |
106 | | - <b class="font-bold">{{ |
107 | | - Intl.NumberFormat().format(scroll.details.clicksToday) |
108 | | - }}</b> |
109 | | - clicks in the last 24 hours from other gardeners. |
110 | | - </p> |
111 | | - <div class="text-sm"> |
| 103 | + <div class="text-sm space-y-1"> |
112 | 104 | <p v-if="eggClosestToHatching"> |
113 | 105 | <template v-if="eggClosestToHatching.hoursleft <= 96"> |
114 | 106 | Next egg can hatch now. |
|
118 | 110 | {{ eggClosestToHatching.hoursleft - 96 }} |
119 | 111 | {{ pluralise('hour', eggClosestToHatching.hoursleft - 96) }}. |
120 | 112 | </template> |
| 113 | + <NuxtLink to="#eggs" class="underline">[Jump]</NuxtLink> |
121 | 114 | </p> |
122 | 115 | <p v-if="hatchlingClosestToGrowing"> |
123 | 116 | <template v-if="hatchlingClosestToGrowing.hoursleft <= 96"> |
|
129 | 122 | {{ |
130 | 123 | pluralise('hour', hatchlingClosestToGrowing.hoursleft - 96) |
131 | 124 | }}. |
| 125 | + <NuxtLink to="#hatchlings" class="underline">[Jump]</NuxtLink> |
132 | 126 | </template> |
133 | 127 | </p> |
| 128 | + <p class="text-xs"> |
| 129 | + Hidden dragons are not shown and will be regularly removed. |
| 130 | + </p> |
| 131 | + <aside class="text-xs"> |
| 132 | + Your dragons have received |
| 133 | + <b class="font-bold">{{ |
| 134 | + Intl.NumberFormat().format(scroll.details.clicksToday) |
| 135 | + }}</b> |
| 136 | + clicks in the last 24 hours from other gardeners. |
| 137 | + </aside> |
134 | 138 | </div> |
135 | 139 | </template> |
136 | 140 | </div> |
|
146 | 150 | 'order-3': userSettings.sectionOrder === 'eggs,hatchlings', |
147 | 151 | }" |
148 | 152 | > |
149 | | - <legend class="text-sm font-bold">Hatchlings</legend> |
| 153 | + <legend id="hatchlings" class="text-sm font-bold">Hatchlings</legend> |
150 | 154 | <div |
151 | 155 | class="grid gap-6 pr-2" |
152 | 156 | :style="{ |
|
178 | 182 | 'order-2': userSettings.sectionOrder === 'eggs,hatchlings', |
179 | 183 | }" |
180 | 184 | > |
181 | | - <legend class="text-sm font-bold">Eggs</legend> |
| 185 | + <legend id="eggs" class="text-sm font-bold">Eggs</legend> |
182 | 186 | <div |
183 | 187 | class="grid gap-6 pr-2" |
184 | 188 | :style="{ |
|
220 | 224 | #default="{ hiddenColumns }" |
221 | 225 | > |
222 | 226 | <ScrollTableTbody |
| 227 | + id="hatchlings" |
223 | 228 | :dragons="hatchlings" |
224 | 229 | header="Hatchlings" |
225 | 230 | :hidden-columns |
226 | 231 | /> |
227 | | - <ScrollTableTbody :dragons="eggs" header="Eggs" :hidden-columns /> |
| 232 | + <ScrollTableTbody |
| 233 | + id="eggs" |
| 234 | + :dragons="eggs" |
| 235 | + header="Eggs" |
| 236 | + :hidden-columns |
| 237 | + /> |
228 | 238 | </template> |
229 | 239 | <template v-else #default="{ hiddenColumns }"> |
230 | | - <ScrollTableTbody :dragons="eggs" header="Eggs" :hidden-columns /> |
231 | 240 | <ScrollTableTbody |
| 241 | + id="eggs" |
| 242 | + :dragons="eggs" |
| 243 | + header="Eggs" |
| 244 | + :hidden-columns |
| 245 | + /> |
| 246 | + <ScrollTableTbody |
| 247 | + id="hatchlings" |
232 | 248 | :dragons="hatchlings" |
233 | 249 | header="Hatchlings" |
234 | 250 | :hidden-columns |
|
0 commit comments