|
47 | 47 | <svelte:window onkeydown={e => handleKeyInput(e)} /> |
48 | 48 |
|
49 | 49 | <div class="bg-stone-800 flex w-full items-center justify-between p-2 h-12 sticky top-0 border-b border-stone-700 z-20"> |
| 50 | + <a |
| 51 | + class="absolute -translate-y-30 -translate-x-1/2 left-1/2 focus:outline-2 outline-blue-500 focus:translate-y-0" |
| 52 | + href="#nav_side">Go To Nav</a> |
| 53 | + <a |
| 54 | + class="absolute -translate-y-30 -translate-x-1/2 left-1/2 focus:outline-2 outline-blue-500 focus:translate-y-0" |
| 55 | + href="#main_content">Go To Content</a> |
50 | 56 | <div class="flex items-center grow"> |
51 | 57 | <button |
52 | | - class="px-2 pr-3 sm:hidden" |
| 58 | + class="px-2 pr-3 sm:hidden focus:outline-2 focus:outline-dph-orange" |
53 | 59 | aria-label="{windowInfo.isNavOpen ? 'Collapse' : 'Expand'} Sidebar" |
54 | 60 | onclick={() => (windowInfo.isNavOpen = !windowInfo.isNavOpen)}><IconMenu /></button> |
55 | | - <a class="flex items-center hover:text-white p-1" href="/"> |
| 61 | + <a class="flex items-center hover:text-white p-1 focus:outline-2 focus:outline-dph-orange" href="/"> |
56 | 62 | <img |
57 | 63 | alt="Datapack Hub Logo" |
58 | 64 | src="/logos/dph.svg" |
|
66 | 72 | <div class="flex items-center gap-2"> |
67 | 73 | <a |
68 | 74 | href="https://github.com/Datapack-Hub/wiki/blob/main/src/routes{page.url.pathname}/%2Bpage.svx" |
69 | | - class="bg-black/45 p-2 rounded-lg py-1 flex items-center gap-2 hover:text-stone-100 aspect-square sm:aspect-auto" |
| 75 | + class="bg-black/45 p-2 rounded-lg py-1 flex items-center gap-2 hover:text-stone-100 aspect-square sm:aspect-auto focus:outline-2 focus:outline-dph-orange" |
70 | 76 | aria-label="Edit"> |
71 | 77 | <IconEdit /> |
72 | 78 | <span class="hidden sm:block">Edit</span> |
73 | 79 | </a> |
74 | 80 | <button |
75 | | - class="bg-black/45 p-2 rounded-lg py-1 flex items-center gap-2 hover:text-stone-100 aspect-square sm:aspect-auto" |
| 81 | + class="bg-black/45 p-2 rounded-lg py-1 flex items-center gap-2 hover:text-stone-100 aspect-square sm:aspect-auto focus:outline-2 focus:outline-dph-orange" |
76 | 82 | aria-label="Copy URL" |
77 | 83 | onclick={copyUrl}> |
78 | 84 | <IconShare /> |
79 | 85 | <span class="hidden sm:block">{shareText}</span> |
80 | 86 | </button> |
81 | 87 | <a |
82 | 88 | href="https://discord.gg/xHTHbZqXr6" |
83 | | - class="bg-black/45 p-2 rounded-lg py-1 flex items-center gap-2 hover:text-stone-100 aspect-square sm:aspect-auto" |
| 89 | + class="bg-black/45 p-2 rounded-lg py-1 flex items-center gap-2 hover:text-stone-100 aspect-square sm:aspect-auto focus:outline-2 focus:outline-dph-orange" |
84 | 90 | aria-label="Discord"> |
85 | 91 | <IconDiscord /> |
86 | 92 | <span class="hidden sm:block">Discord</span> |
|
0 commit comments