From dd7f6bb745e19191955cdd920fedbe8b93c96ee2 Mon Sep 17 00:00:00 2001 From: kevin-asprec Date: Tue, 17 Mar 2026 18:40:50 +0800 Subject: [PATCH] seo: improve SEO and fix social media link preview image - Fix og:image and twitter:image to use absolute URLs (was the root cause of missing social preview image) - Add og:image:width, og:image:height, og:image:alt, og:image:type - Add og:site_name, og:locale, twitter:site, twitter:image:alt - Add canonical link tag and robots meta - Add JSON-LD structured data for Organization, SoftwareApplication, WebSite - Add public/robots.txt pointing to sitemap - Add public/sitemap.xml for search engine crawling - Add public/site.webmanifest for PWA/mobile home screen support - Add theme-color meta and apple-touch-icon link - Update lang attribute to en-PH --- index.html | 92 +++++++++++++++++++++++++++++++++++++---- public/robots.txt | 4 ++ public/site.webmanifest | 17 ++++++++ public/sitemap.xml | 9 ++++ 4 files changed, 114 insertions(+), 8 deletions(-) create mode 100644 public/robots.txt create mode 100644 public/site.webmanifest create mode 100644 public/sitemap.xml diff --git a/index.html b/index.html index 8544fe7..8f2b951 100644 --- a/index.html +++ b/index.html @@ -1,28 +1,104 @@ - + - + + + + + + TapTrack — Attendance That Runs Itself - + + + - + + + - - + + + + + + + - - + + + + + + diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..f3a79bf --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://taptrack.ph/sitemap.xml diff --git a/public/site.webmanifest b/public/site.webmanifest new file mode 100644 index 0000000..457df02 --- /dev/null +++ b/public/site.webmanifest @@ -0,0 +1,17 @@ +{ + "name": "TapTrack", + "short_name": "TapTrack", + "description": "On-premises NFC student attendance for Philippine schools.", + "start_url": "/", + "display": "standalone", + "background_color": "#ffffff", + "theme_color": "#2563eb", + "icons": [ + { + "src": "/favicon.svg", + "sizes": "any", + "type": "image/svg+xml", + "purpose": "any maskable" + } + ] +} diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 0000000..20056ec --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,9 @@ + + + + https://taptrack.ph/ + 2026-03-17 + monthly + 1.0 + +