|
1 | 1 | <header role=banner class="bg-gray-900 text-white"> |
2 | 2 | <nav role="navigation" class="w-full flex items-center lg:px-16 text-base text-center"> |
3 | | - <a href="/" class="block px-3 py-2 md:py-4 text-left text-sm md:text-base font-bold italic uppercase leading-tight tracking-wide hover:bg-gray-800"> |
4 | | - <span>Components <br>·Guide</span> |
5 | | - </a> |
6 | | - <hr class="mx-auto"> |
7 | | - <div class="flex-grow max-w-md mr-auto"> |
8 | | - <%= search_form() %> |
9 | | - </div> |
10 | | - <hr class="mx-auto"> |
11 | 3 | <details class="relative" data-links="block p-3 underline-on-hover"> |
12 | | - <summary class="text-base uppercase font-bold tracking-wider">Menu</summary> |
13 | | - <details-menu role="menu" class="absolute z-menu top-full right-0 flex flex-col px-4 py-2 text-left text-lg whitespace-nowrap bg-gray-900 rounded shadow-lg"> |
| 4 | + <summary class="block w-48 text-left pl-6 text-base uppercase font-bold tracking-wider"> |
| 5 | + Jump to |
| 6 | + </summary> |
| 7 | + <details-menu role="menu" class="absolute z-menu top-full left-0 flex flex-col px-4 py-2 text-left text-lg whitespace-nowrap bg-gray-900 rounded shadow-lg"> |
14 | 8 | <%= link("Developer Calendar", to: '/calendar') %> |
15 | 9 | <%= link("Accessibility First", to: '/accessibility-first') %> |
16 | 10 | <%= link("React + TypeScript", to: '/react+typescript') %> |
17 | 11 | <%= link("Web Standards", to: '/web-standards') %> |
18 | 12 | <%= link("Composable Systems", to: '/composable-systems') %> |
19 | 13 | </details-menu> |
20 | 14 | </details> |
21 | | - <ul class="h-full grid grid-rows-2 md:grid-cols-3 flex flex-col md:flex-row justify-around items-stretch tracking-wide"> |
22 | | - <%= if false do %> |
23 | | - <li class="py-1"> |
24 | | - <a href="/signin/github" class="inline-block md:block px-4 py-1 md:py-2 font-bold text-white bg-red-700 rounded" style="background: linear-gradient(0deg, #E0003C 0%, #FF493F 50%, #FF584A 100%);"> |
25 | | - <%= "Sign in with GitHub" %> |
26 | | - </a> |
27 | | - <% end %> |
28 | | - </ul> |
| 15 | + |
| 16 | + <hr class="mx-auto"> |
| 17 | + |
| 18 | + <a href="/" class="text-center block px-3 py-2 md:py-4 text-sm leading-tight md:text-lg md:leading-tight font-bold italic uppercase tracking-wide hover:bg-gray-800"> |
| 19 | + <span>Components <br>·Guide</span> |
| 20 | + </a> |
| 21 | + |
| 22 | + <hr class="mx-auto"> |
| 23 | + |
| 24 | + <div class="w-48 pr-6"> |
| 25 | + <%= search_form() %> |
| 26 | + </div> |
29 | 27 | </nav> |
30 | 28 | </header> |
0 commit comments