|
3 | 3 | <head> |
4 | 4 | <meta charset="utf-8"> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
6 | | - <meta name="theme-color" content="#6b21a8"> |
7 | | - <meta name="color-scheme" content="light dark"> |
| 6 | + <meta name="theme-color" content="#7c3aed"> |
8 | 7 |
|
9 | 8 | {% seo %} |
10 | 9 | {% feed_meta %} |
|
14 | 13 | <link rel="icon" type="image/png" href="{{ site.baseurl }}/favicon.png"> |
15 | 14 | <link rel="apple-touch-icon" href="{{ site.baseurl }}/apple-touch-icon.png"> |
16 | 15 | </head> |
17 | | -<body class="min-h-screen bg-white"> |
| 16 | +<body class="min-h-screen bg-white font-sans text-gray-700 antialiased"> |
18 | 17 | <a href="#main-content" class="skip-link">Skip to main content</a> |
19 | 18 |
|
20 | | - <header class="section-gradient" role="banner"> |
21 | | - <div class="max-w-6xl mx-auto px-4 py-4"> |
| 19 | + <header class="header-bg" role="banner"> |
| 20 | + <div class="max-w-6xl mx-auto px-4 py-3"> |
22 | 21 | <div class="flex items-center justify-between"> |
23 | | - <a href="{{ site.baseurl }}/" class="z-10" aria-label="AnySoftKeyboard Home"> |
24 | | - <img src="{{ site.baseurl }}/images/logo.svg" alt="AnySoftKeyboard" class="h-11 w-auto" width="76" height="44"> |
| 22 | + <a href="{{ site.baseurl }}/" class="flex items-center" aria-label="AnySoftKeyboard Home"> |
| 23 | + <img src="{{ site.baseurl }}/images/logo.svg" alt="AnySoftKeyboard" class="h-10 w-auto" width="76" height="40"> |
25 | 24 | </a> |
26 | 25 |
|
27 | 26 | <!-- Mobile menu toggle --> |
28 | 27 | <input type="checkbox" id="nav-toggle" class="hidden peer" aria-hidden="true"> |
29 | | - <label for="nav-toggle" class="lg:hidden flex items-center justify-center w-11 h-11 rounded-lg text-white hover:bg-white/10 cursor-pointer z-10" aria-label="Toggle menu"> |
30 | | - <svg class="w-6 h-6 peer-checked:hidden" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M3 12h18M3 6h18M3 18h18"/></svg> |
| 28 | + <label for="nav-toggle" class="lg:hidden flex items-center justify-center w-10 h-10 rounded-lg text-white hover:bg-white/10 cursor-pointer z-20" aria-label="Toggle menu"> |
| 29 | + <svg class="w-6 h-6 block peer-checked:hidden" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M3 12h18M3 6h18M3 18h18"/></svg> |
31 | 30 | <svg class="w-6 h-6 hidden peer-checked:block" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M6 18L18 6M6 6l12 12"/></svg> |
32 | 31 | </label> |
33 | 32 |
|
34 | 33 | <!-- Navigation --> |
35 | | - <nav class="fixed lg:relative inset-0 lg:inset-auto section-gradient lg:bg-transparent flex flex-col lg:flex-row items-center justify-center lg:justify-end gap-2 transform translate-x-full lg:translate-x-0 peer-checked:translate-x-0 transition-transform z-5" role="navigation" aria-label="Main navigation"> |
| 34 | + <nav class="fixed lg:static inset-0 lg:inset-auto header-bg lg:bg-transparent flex flex-col lg:flex-row items-center justify-center lg:justify-end gap-1 transform translate-x-full lg:translate-x-0 peer-checked:translate-x-0 transition-transform duration-200 z-10" role="navigation" aria-label="Main navigation"> |
36 | 35 | {% for link in site.data.navigation %} |
37 | | - <a href="{{ link.link }}" class="nav-link text-xl lg:text-sm"{% if page.url == link.link %} aria-current="page"{% endif %}{% if link.new_window %} target="_blank" rel="noopener noreferrer"{% endif %}> |
| 36 | + <a href="{{ link.link }}" class="nav-link text-lg lg:text-sm"{% if page.url == link.link %} aria-current="page"{% endif %}{% if link.new_window %} target="_blank" rel="noopener noreferrer"{% endif %}> |
38 | 37 | {{ link.name }} |
39 | 38 | </a> |
40 | 39 | {% endfor %} |
|
47 | 46 | {{ content }} |
48 | 47 | </main> |
49 | 48 |
|
50 | | - <footer class="bg-gradient-to-b from-indigo-950 to-slate-950 text-white py-16" role="contentinfo"> |
| 49 | + <footer class="bg-gray-900 text-white py-12" role="contentinfo"> |
51 | 50 | <div class="max-w-6xl mx-auto px-4"> |
52 | 51 | <div class="grid grid-cols-1 sm:grid-cols-3 gap-8 mb-8"> |
53 | 52 | {% for column in site.data.footer %} |
|
68 | 67 | {% endfor %} |
69 | 68 | </div> |
70 | 69 | <div class="border-t border-white/10 pt-6 text-center"> |
71 | | - <p class="text-white/60 text-sm"> |
| 70 | + <p class="text-white/50 text-sm"> |
72 | 71 | © {{ site.time | date: '%Y' }} AnySoftKeyboard • |
73 | | - <a href="{{ site.baseurl }}/privacy-policy/" class="text-purple-400 hover:text-purple-300">Privacy Policy</a> |
| 72 | + <a href="{{ site.baseurl }}/privacy-policy/" class="text-white/70 hover:text-white">Privacy Policy</a> |
74 | 73 | </p> |
75 | 74 | </div> |
76 | 75 | </div> |
|
0 commit comments