Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
sitemap: false
permalink: /404.html
---
<section class="py-24 md:py-32 bg-white">
<section class="py-20 md:py-28 bg-white">
<div class="max-w-xl mx-auto px-4 text-center">
<figure class="mb-8">
<img src="/images/phone_404.png" alt="Oops!" loading="lazy" class="max-w-xs mx-auto" width="320" height="auto">
Expand All @@ -15,7 +15,7 @@ <h1 class="text-4xl md:text-5xl font-bold text-gray-900 mb-4">
<p class="text-xl text-gray-600 mb-8">The page you're looking for doesn't exist or has been moved.</p>
<div class="flex flex-wrap gap-4 justify-center">
<a href="/" class="btn btn-primary">Go Home</a>
<a href="https://github.com/AnySoftKeyboard/AnySoftKeyboard/discussions" class="btn border-2 border-primary-700 text-primary-700 hover:bg-primary-700 hover:text-white" target="_blank" rel="noopener noreferrer">Get Help</a>
<a href="https://github.com/AnySoftKeyboard/AnySoftKeyboard/discussions" class="btn btn-outline" target="_blank" rel="noopener noreferrer">Get Help</a>
</div>
</div>
</section>
8 changes: 4 additions & 4 deletions _layouts/archive.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
---
<section class="section-gradient text-white text-center py-12 md:py-16">
<section class="hero-bg text-white text-center py-10 md:py-14">
<div class="max-w-4xl mx-auto px-4">
<h1 class="text-3xl md:text-4xl font-bold text-white">{{ page.title }}</h1>
<h1 class="text-3xl md:text-4xl font-bold">{{ page.title }}</h1>
</div>
</section>

Expand All @@ -14,7 +14,7 @@ <h1 class="text-3xl md:text-4xl font-bold text-white">{{ page.title }}</h1>
{% for post in page.posts %}
<li class="blog-post">
<h2 class="text-2xl font-bold mb-2">
<a href="{{ post.url | relative_url }}" class="text-gray-900 hover:text-primary-700">{{ post.title }}</a>
<a href="{{ post.url | relative_url }}" class="text-gray-900 hover:text-purple-700">{{ post.title }}</a>
</h2>
<p class="text-gray-500 text-sm mb-4">
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%B %-d, %Y" }}</time>
Expand All @@ -26,7 +26,7 @@ <h2 class="text-2xl font-bold mb-2">
{% endfor %}
</ul>
{% else %}
<p class="text-center text-gray-500">No posts in this archive.</p>
<p class="text-center text-gray-500 py-12">No posts in this archive.</p>
{% endif %}
</div>
</section>
27 changes: 13 additions & 14 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#6b21a8">
<meta name="color-scheme" content="light dark">
<meta name="theme-color" content="#7c3aed">

{% seo %}
{% feed_meta %}
Expand All @@ -14,27 +13,27 @@
<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">
<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="section-gradient" role="banner">
<div class="max-w-6xl mx-auto px-4 py-4">
<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="z-10" aria-label="AnySoftKeyboard Home">
<img src="{{ site.baseurl }}/images/logo.svg" alt="AnySoftKeyboard" class="h-11 w-auto" width="76" height="44">
<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-11 h-11 rounded-lg text-white hover:bg-white/10 cursor-pointer z-10" aria-label="Toggle menu">
<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>
<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: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">
<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-xl lg:text-sm"{% if page.url == link.link %} aria-current="page"{% endif %}{% if link.new_window %} target="_blank" rel="noopener noreferrer"{% endif %}>
<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 %}
Expand All @@ -47,7 +46,7 @@
{{ content }}
</main>

<footer class="bg-gradient-to-b from-indigo-950 to-slate-950 text-white py-16" role="contentinfo">
<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 %}
Expand All @@ -68,9 +67,9 @@
{% endfor %}
</div>
<div class="border-t border-white/10 pt-6 text-center">
<p class="text-white/60 text-sm">
<p class="text-white/50 text-sm">
&copy; {{ site.time | date: '%Y' }} AnySoftKeyboard &bull;
<a href="{{ site.baseurl }}/privacy-policy/" class="text-purple-400 hover:text-purple-300">Privacy Policy</a>
<a href="{{ site.baseurl }}/privacy-policy/" class="text-white/70 hover:text-white">Privacy Policy</a>
</p>
</div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions _layouts/page.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
---
layout: default
---
<section class="section-gradient text-white text-center py-12 md:py-16">
<section class="hero-bg text-white text-center py-10 md:py-14">
<div class="max-w-4xl mx-auto px-4">
<h1 class="text-3xl md:text-4xl font-bold text-white">{{ page.title }}</h1>
<h1 class="text-3xl md:text-4xl font-bold">{{ page.title }}</h1>
{% if page.subtitle %}
<p class="text-lg text-white/90 mt-2">{{ page.subtitle }}</p>
<p class="text-lg text-white/80 mt-2">{{ page.subtitle }}</p>
{% endif %}
</div>
</section>

<section class="py-12 md:py-16 bg-white">
<div class="max-w-3xl mx-auto px-4 prose prose-lg prose-purple">
<section class="py-10 md:py-14 bg-white">
<div class="max-w-3xl mx-auto px-4 prose">
{{ content }}
</div>
</section>
18 changes: 9 additions & 9 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
---
layout: default
---
<section class="section-gradient text-white text-center py-12 md:py-16">
<section class="hero-bg text-white text-center py-10 md:py-14">
<div class="max-w-4xl mx-auto px-4">
<h1 class="text-3xl md:text-4xl font-bold text-white">{{ page.title }}</h1>
<p class="text-white/80 mt-3">
<h1 class="text-3xl md:text-4xl font-bold">{{ page.title }}</h1>
<p class="text-white/70 mt-3">
<time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %-d, %Y" }}</time>
{% if page.author %} • {{ page.author }}{% endif %}
</p>
</div>
</section>

<article class="py-12 md:py-16 bg-white">
<div class="max-w-3xl mx-auto px-4 prose prose-lg prose-purple">
<article class="py-10 md:py-14 bg-white">
<div class="max-w-3xl mx-auto px-4 prose">
{{ content }}

{% if page.author %}
{% assign author = site.staff_members | where: "name", page.author | first %}
<aside class="not-prose mt-12 flex items-center gap-4 p-6 bg-purple-50 rounded-2xl">
<aside class="mt-12 flex items-center gap-4 p-5 bg-gray-50 rounded-xl border border-gray-200">
{% if author.image_path %}
<img src="{{ author.image_path }}" alt="{{ author.name }}" loading="lazy" class="w-16 h-16 rounded-full" width="64" height="64">
<img src="{{ author.image_path }}" alt="{{ author.name }}" loading="lazy" class="w-14 h-14 rounded-full" width="56" height="56">
{% endif %}
<div>
<strong class="text-gray-900">{{ page.author }}</strong>
<strong class="text-gray-900 block">{{ page.author }}</strong>
{% if author.position %}
<p class="text-gray-600 text-sm">{{ author.position }}</p>
<span class="text-gray-500 text-sm">{{ author.position }}</span>
{% endif %}
</div>
</aside>
Expand Down
18 changes: 9 additions & 9 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
title: About AnySoftKeyboard
description: Meet the team behind AnySoftKeyboard. Open source keyboard for Android.
---
<section class="section-gradient text-white text-center py-12 md:py-16">
<section class="hero-bg text-white text-center py-10 md:py-14">
<div class="max-w-4xl mx-auto px-4">
<h1 class="text-3xl md:text-4xl font-bold text-white">Our <span class="text-purple-200">Team</span></h1>
<p class="text-lg text-white/90 mt-2">The people behind AnySoftKeyboard</p>
<h1 class="text-3xl md:text-4xl font-bold">Our <span class="text-purple-200">Team</span></h1>
<p class="text-lg text-white/80 mt-2">The people behind AnySoftKeyboard</p>
</div>
</section>

Expand All @@ -16,26 +16,26 @@ <h1 class="text-3xl md:text-4xl font-bold text-white">Our <span class="text-purp
{% for member in site.staff_members %}
{% unless member.name == "_defaults" %}
<li class="staff-card">
<figure class="w-32 h-32 mx-auto mb-4 rounded-full overflow-hidden shadow-lg ring-4 ring-white">
<img src="{{ member.image_path }}" alt="{{ member.name }}" loading="lazy" class="w-full h-full object-cover" width="128" height="128">
<figure class="w-28 h-28 mx-auto mb-4 rounded-full overflow-hidden shadow-lg ring-4 ring-white">
<img src="{{ member.image_path }}" alt="{{ member.name }}" loading="lazy" class="w-full h-full object-cover" width="112" height="112">
</figure>
<h3 class="text-xl font-bold text-gray-900 mb-1">
{% if member.link %}
<a href="{{ member.link }}" target="_blank" rel="noopener noreferrer" class="hover:text-primary-700">{{ member.name }}</a>
<a href="{{ member.link }}" target="_blank" rel="noopener noreferrer" class="hover:text-purple-700">{{ member.name }}</a>
{% else %}
{{ member.name }}
{% endif %}
</h3>
<p class="text-gray-600 text-sm">{{ member.position }}</p>
<p class="text-gray-500 text-sm">{{ member.position }}</p>
</li>
{% endunless %}
{% endfor %}
</ul>

<div class="mt-16 bg-purple-50 rounded-2xl p-8">
<div class="mt-16 bg-gray-50 border border-gray-200 rounded-2xl p-8">
<h2 class="text-2xl font-bold text-gray-900 mb-4">License</h2>
<p class="text-gray-600 mb-4">AnySoftKeyboard is licensed under the Apache License, Version 2.0</p>
<pre class="bg-white p-4 rounded-lg text-sm overflow-x-auto text-gray-700">Copyright 2018 Menny Even-Danan
<pre class="bg-gray-900 text-gray-300 p-4 rounded-lg text-sm overflow-x-auto">Copyright 2018 Menny Even-Danan

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
12 changes: 6 additions & 6 deletions blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
title: Blog
description: News and updates from the AnySoftKeyboard team
---
<section class="section-gradient text-white text-center py-12 md:py-16">
<section class="hero-bg text-white text-center py-10 md:py-14">
<div class="max-w-4xl mx-auto px-4">
<h1 class="text-3xl md:text-4xl font-bold text-white">Blog</h1>
<p class="text-lg text-white/90 mt-2">News and updates from the team</p>
<h1 class="text-3xl md:text-4xl font-bold">Blog</h1>
<p class="text-lg text-white/80 mt-2">News and updates from the team</p>
</div>
</section>

Expand All @@ -17,7 +17,7 @@ <h1 class="text-3xl md:text-4xl font-bold text-white">Blog</h1>
{% for post in site.posts %}
<li class="blog-post">
<h2 class="text-2xl font-bold mb-2">
<a href="{{ post.url | relative_url }}" class="text-gray-900 hover:text-primary-700">{{ post.title }}</a>
<a href="{{ post.url | relative_url }}" class="text-gray-900 hover:text-purple-700">{{ post.title }}</a>
</h2>
<p class="text-gray-500 text-sm mb-4">
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%B %-d, %Y" }}</time>
Expand All @@ -36,10 +36,10 @@ <h2 class="text-2xl font-bold mb-2">
{% if paginator.total_pages > 1 %}
<nav class="flex justify-center gap-4 mt-12" aria-label="Blog navigation">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | relative_url }}" class="px-4 py-2 bg-purple-50 rounded-lg text-gray-700 hover:bg-primary-700 hover:text-white transition-colors" aria-label="Previous page">&laquo; Newer</a>
<a href="{{ paginator.previous_page_path | relative_url }}" class="px-4 py-2 bg-gray-100 rounded-lg text-gray-700 hover:bg-purple-700 hover:text-white transition-colors" aria-label="Previous page">&laquo; Newer</a>
{% endif %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | relative_url }}" class="px-4 py-2 bg-purple-50 rounded-lg text-gray-700 hover:bg-primary-700 hover:text-white transition-colors" aria-label="Next page">Older &raquo;</a>
<a href="{{ paginator.next_page_path | relative_url }}" class="px-4 py-2 bg-gray-100 rounded-lg text-gray-700 hover:bg-purple-700 hover:text-white transition-colors" aria-label="Next page">Older &raquo;</a>
{% endif %}
</nav>
{% endif %}
Expand Down
Loading
Loading