-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdefault.html
More file actions
78 lines (71 loc) · 5.44 KB
/
default.html
File metadata and controls
78 lines (71 loc) · 5.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#7c3aed">
{% seo %}
{% feed_meta %}
<link rel="preconnect" href="https://github.com" crossorigin>
<link rel="stylesheet" href="{{ site.baseurl }}/css/main.css">
<link rel="icon" type="image/png" href="{{ site.baseurl }}/favicon.png">
<link rel="apple-touch-icon" href="{{ site.baseurl }}/apple-touch-icon.png">
</head>
<body class="min-h-screen bg-white font-sans text-gray-700 antialiased">
<a href="#main-content" class="skip-link">Skip to main content</a>
<header class="header-bg" role="banner">
<div class="max-w-6xl mx-auto px-4 py-3">
<div class="flex items-center justify-between">
<a href="{{ site.baseurl }}/" class="flex items-center" aria-label="AnySoftKeyboard Home">
<img src="{{ site.baseurl }}/images/logo.svg" alt="AnySoftKeyboard" class="h-10 w-auto" width="76" height="40">
</a>
<!-- Mobile menu toggle -->
<input type="checkbox" id="nav-toggle" class="hidden peer" aria-hidden="true">
<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">
<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>
<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>
</label>
<!-- Navigation -->
<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">
{% for link in site.data.navigation %}
<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 %}>
{{ link.name }}
</a>
{% endfor %}
</nav>
</div>
</div>
</header>
<main id="main-content" role="main">
{{ content }}
</main>
<footer class="bg-gray-900 text-white py-12" role="contentinfo">
<div class="max-w-6xl mx-auto px-4">
<div class="grid grid-cols-1 sm:grid-cols-3 gap-8 mb-8">
{% for column in site.data.footer %}
<ul class="space-y-3" role="list">
{% for link in column.links %}
<li>
<a href="{{ link.link }}" class="footer-link"{% if link.new_window %} target="_blank" rel="noopener noreferrer"{% endif %}>
{% if link.social_icon == "GitHub" %}
<svg class="w-5 h-5" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>
{% elsif link.social_icon == "Mastodon" %}
<svg class="w-5 h-5" viewBox="0 0 24 24" fill="currentColor"><path d="M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 00.023-.043v-1.809a.052.052 0 00-.02-.041.053.053 0 00-.046-.01 20.282 20.282 0 01-4.709.545c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 01-.319-1.433.053.053 0 01.066-.054c1.517.363 3.072.546 4.632.546.376 0 .75 0 1.125-.01 1.57-.044 3.224-.124 4.768-.422.038-.008.077-.015.11-.024 2.435-.464 4.753-1.92 4.989-5.604.008-.145.03-1.52.03-1.67.002-.512.167-3.63-.024-5.545zm-3.748 9.195h-2.561V8.29c0-1.309-.55-1.976-1.67-1.976-1.23 0-1.846.79-1.846 2.35v3.403h-2.546V8.663c0-1.56-.617-2.35-1.848-2.35-1.112 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z"/></svg>
{% endif %}
{{ link.name }}
</a>
</li>
{% endfor %}
</ul>
{% endfor %}
</div>
<div class="border-t border-white/10 pt-6 text-center">
<p class="text-white/50 text-sm">
© {{ site.time | date: '%Y' }} AnySoftKeyboard •
<a href="{{ site.baseurl }}/privacy-policy/" class="text-white/70 hover:text-white">Privacy Policy</a>
</p>
</div>
</div>
</footer>
</body>
</html>