a11y cleanup
This commit is contained in:
		| @@ -356,7 +356,7 @@ | |||||||
|         > |         > | ||||||
|         <span>{$_("about")}</span> |         <span>{$_("about")}</span> | ||||||
|       </a> |       </a> | ||||||
|       <span |       <button | ||||||
|         tabindex="0" |         tabindex="0" | ||||||
|         class="flex items-center px-4 py-3 transition cursor-pointer group hover:bg-gray-100 hover:text-gray-900" |         class="flex items-center px-4 py-3 transition cursor-pointer group hover:bg-gray-100 hover:text-gray-900" | ||||||
|         on:click={() => { |         on:click={() => { | ||||||
| @@ -377,7 +377,7 @@ | |||||||
|           /></svg |           /></svg | ||||||
|         > |         > | ||||||
|         <span>{$_("logout")}</span> |         <span>{$_("logout")}</span> | ||||||
|       </span> |       </button> | ||||||
|     </nav> |     </nav> | ||||||
|   </div> |   </div> | ||||||
|   <div class="ml-0 transition md:ml-60"> |   <div class="ml-0 transition md:ml-60"> | ||||||
|   | |||||||
| @@ -1,19 +1,13 @@ | |||||||
| <script> | <script> | ||||||
|   import { _ } from "svelte-i18n"; |   import { _ } from "svelte-i18n"; | ||||||
|   import { StatsService } from "@odit/lfk-client-js"; |   import { StatsService } from "@odit/lfk-client-js"; | ||||||
|   import StatCards from "./StatCard.svelte"; |  | ||||||
|   import store from "../../store"; |   import store from "../../store"; | ||||||
|   import StatCard from "./StatCard.svelte"; |   import StatCard from "./StatCard.svelte"; | ||||||
|   let navOpen = false; |   let navOpen = false; | ||||||
|   const stats_promise = StatsService.statsControllerGet(); |   const stats_promise = StatsService.statsControllerGet(); | ||||||
| </script> | </script> | ||||||
|  |  | ||||||
| <div | <div class="p-5 overflow-x-hidden"> | ||||||
|   class="p-5 overflow-x-hidden" |  | ||||||
|   on:click={() => { |  | ||||||
|     navOpen = false; |  | ||||||
|   }} |  | ||||||
| > |  | ||||||
|   <h1 class="text-3xl leading-tight"> |   <h1 class="text-3xl leading-tight"> | ||||||
|     <span class="font-extrabold">{$_("dashboard-title")}</span> |     <span class="font-extrabold">{$_("dashboard-title")}</span> | ||||||
|     <span> |     <span> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user