From d259b7a7a26633547cc8bd190e312253b75c7234 Mon Sep 17 00:00:00 2001 From: Darcy Wong Date: Mon, 28 Oct 2024 09:27:48 +0700 Subject: [PATCH 1/3] feat: Add descriptions for major pages --- android/index.php | 1 + downloads/archive/index.php | 4 +++- downloads/index.php | 1 + downloads/pre-release/index.php | 1 + index.php | 3 +++ iphone-and-ipad/index.php | 1 + keyboards/index.php | 1 + linux/index.php | 1 + mac/index.php | 1 + windows/download.php | 1 + windows/features.php | 1 + windows/index.php | 1 + 12 files changed, 16 insertions(+), 1 deletion(-) diff --git a/android/index.php b/android/index.php index ef878939..5ef7021d 100644 --- a/android/index.php +++ b/android/index.php @@ -7,6 +7,7 @@ // Required head([ 'title' =>'Keyman for Android', + 'description' => 'Keyman for Android', 'css' => ['template.css','feature-grid.css','app-store-links.css'], 'showMenu' => true, 'banner' => [ diff --git a/downloads/archive/index.php b/downloads/archive/index.php index 0ac32d3f..af95c6ae 100644 --- a/downloads/archive/index.php +++ b/downloads/archive/index.php @@ -6,12 +6,14 @@ // Required head([ 'title' =>'Download Archives', + 'description' => 'Keyman download archive: static activation license keys', 'css' => ['template.css', 'feature-grid.css'], 'showMenu' => true ]); require_once('./static-keys.php'); - +', + 'Keyman Downloads', + 'description' => 'Keyamn stable downloads', 'css' => ['template.css','index.css','app-store-links.css', 'prism.css'], 'js' => ['prism.js'], 'showMenu' => true diff --git a/downloads/pre-release/index.php b/downloads/pre-release/index.php index a1fd76b3..83fdc626 100644 --- a/downloads/pre-release/index.php +++ b/downloads/pre-release/index.php @@ -5,6 +5,7 @@ // Required head([ 'title' =>'Keyman Pre-release Versions', + 'description' => 'Keyman pre-release versions: alpha, beta', 'css' => ['template.css','index.css', 'app-store-links.css','prism.css'], 'showMenu' => true ]); diff --git a/index.php b/index.php index 5152706b..d0b7e3e2 100644 --- a/index.php +++ b/index.php @@ -5,6 +5,9 @@ // Required head([ 'title' =>'Keyman | Type to the world in your language', + 'description' => 'Unlock the power of your language with Keyman customizable keyboard software. + Available for Windows, Mac, and mobile devices, + we support over 1,000 languages to make communication seamless and meaningful.', 'css' => ['template.css','index.css'], 'showMenu' => true, 'addSection2' => false diff --git a/iphone-and-ipad/index.php b/iphone-and-ipad/index.php index a9237cbc..4d2c1520 100644 --- a/iphone-and-ipad/index.php +++ b/iphone-and-ipad/index.php @@ -7,6 +7,7 @@ // Required head([ 'title' =>'Keyman for iPhone and iPad', + 'description' => 'Keyman for iPhone and iPad', 'css' => ['template.css','feature-grid.css','app-store-links.css'], 'showMenu' => true, 'banner' => [ diff --git a/keyboards/index.php b/keyboards/index.php index cf6f227a..c188fa85 100644 --- a/keyboards/index.php +++ b/keyboards/index.php @@ -10,6 +10,7 @@ $head_options = [ 'title' =>'Keyboard Search', + 'description' => 'Keyman Keyboard Search', 'css' => [Util::cdn('css/template.css'), Util::cdn('keyboard-search/search.css')], 'js' => [Util::cdn('keyboard-search/jquery.mark.js'), Util::cdn('keyboard-search/dedicated-landing-pages.js'), Util::cdn('keyboard-search/search.js')] diff --git a/linux/index.php b/linux/index.php index 3001dd68..cf02ed1b 100644 --- a/linux/index.php +++ b/linux/index.php @@ -6,6 +6,7 @@ // Required head([ 'title' =>'Keyman ' . $stable_version . ' for Linux', + 'description' => 'Keyman for Linux stable', 'css' => ['template.css','index.css','desktop.css','feature-grid.css', 'prism.css'], 'js' => ['prism.js'], 'showMenu' => true, diff --git a/mac/index.php b/mac/index.php index 049ba5f5..e4f3019a 100644 --- a/mac/index.php +++ b/mac/index.php @@ -6,6 +6,7 @@ // Required head([ 'title' =>'Keyman ' . $stable_version . ' for macOS', + 'description' => 'Keyman for macOS stable', 'css' => ['template.css','index.css','desktop.css','feature-grid.css'], 'showMenu' => true, 'banner' => [ diff --git a/windows/download.php b/windows/download.php index c2dc2d57..cadcf103 100644 --- a/windows/download.php +++ b/windows/download.php @@ -5,6 +5,7 @@ // Required head([ 'title' =>'Download Keyman for Windows ' . $stable_version, + 'description' => 'Download Keyman for Windows stable', 'css' => ['template.css','index.css','desktop-download.css'], 'js' => ['download.js'], 'showMenu' => true diff --git a/windows/features.php b/windows/features.php index 99359eb1..c840c7c0 100644 --- a/windows/features.php +++ b/windows/features.php @@ -4,6 +4,7 @@ // Required head([ 'title' =>'Features | Keyman for Windows ' . $stable_version, + 'description' => 'Keyman for Windows Features', 'css' => ['template.css','feature-template.css'], 'showMenu' => true ]); diff --git a/windows/index.php b/windows/index.php index b5ab9c59..c56e0adc 100644 --- a/windows/index.php +++ b/windows/index.php @@ -5,6 +5,7 @@ // Required head([ 'title' =>'Keyman for Windows ' . $stable_version, + 'description' => 'Keyman for Windows', 'css' => ['template.css','index.css','desktop.css','feature-grid.css'], 'showMenu' => true, 'banner' => [ From e6cb3b000f92c4ad149d384333992e9a11444e5e Mon Sep 17 00:00:00 2001 From: Darcy Wong Date: Mon, 28 Oct 2024 10:05:00 +0700 Subject: [PATCH 2/3] fix typo --- downloads/archive/index.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/downloads/archive/index.php b/downloads/archive/index.php index af95c6ae..3683b12d 100644 --- a/downloads/archive/index.php +++ b/downloads/archive/index.php @@ -12,8 +12,6 @@ ]); require_once('./static-keys.php'); -', - Date: Fri, 1 Nov 2024 08:30:00 +0100 Subject: [PATCH 3/3] chore: Apply suggestions from code review --- downloads/index.php | 2 +- index.php | 4 ++-- linux/index.php | 2 +- mac/index.php | 2 +- windows/download.php | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/downloads/index.php b/downloads/index.php index e9e624f8..d578b13b 100644 --- a/downloads/index.php +++ b/downloads/index.php @@ -7,7 +7,7 @@ // Required head([ 'title' =>'Keyman Downloads', - 'description' => 'Keyamn stable downloads', + 'description' => 'Keyman stable downloads', 'css' => ['template.css','index.css','app-store-links.css', 'prism.css'], 'js' => ['prism.js'], 'showMenu' => true diff --git a/index.php b/index.php index 16c024a2..28bc2888 100644 --- a/index.php +++ b/index.php @@ -6,8 +6,8 @@ head([ 'title' =>'Keyman | Type to the world in your language', 'description' => 'Unlock the power of your language with Keyman customizable keyboard software. - Available for Windows, Mac, and mobile devices, - we support over 1,000 languages to make communication seamless and meaningful.', + Available for Windows, Mac, Linux, Android, iPhone, and web, + we support over 2,000 languages to make communication seamless and meaningful.', 'css' => ['template.css','index.css'], 'showMenu' => true, 'addSection2' => false diff --git a/linux/index.php b/linux/index.php index cf02ed1b..25060de5 100644 --- a/linux/index.php +++ b/linux/index.php @@ -6,7 +6,7 @@ // Required head([ 'title' =>'Keyman ' . $stable_version . ' for Linux', - 'description' => 'Keyman for Linux stable', + 'description' => 'Keyman for Linux', 'css' => ['template.css','index.css','desktop.css','feature-grid.css', 'prism.css'], 'js' => ['prism.js'], 'showMenu' => true, diff --git a/mac/index.php b/mac/index.php index e4f3019a..2f9b6a91 100644 --- a/mac/index.php +++ b/mac/index.php @@ -6,7 +6,7 @@ // Required head([ 'title' =>'Keyman ' . $stable_version . ' for macOS', - 'description' => 'Keyman for macOS stable', + 'description' => 'Keyman for macOS', 'css' => ['template.css','index.css','desktop.css','feature-grid.css'], 'showMenu' => true, 'banner' => [ diff --git a/windows/download.php b/windows/download.php index cadcf103..378de742 100644 --- a/windows/download.php +++ b/windows/download.php @@ -5,7 +5,7 @@ // Required head([ 'title' =>'Download Keyman for Windows ' . $stable_version, - 'description' => 'Download Keyman for Windows stable', + 'description' => 'Download Keyman for Windows', 'css' => ['template.css','index.css','desktop-download.css'], 'js' => ['download.js'], 'showMenu' => true