From 71eed00f102ecd138c51e07cda823f9fb1d45da6 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 5 Jan 2026 04:14:47 +0000 Subject: [PATCH 1/3] feat: make site production-ready for stokoe.app - Set canonical site URL to https://stokoe.app - Add Security & Privacy page (/security) with threat model, data minimization, encryption, key management, and responsible disclosure - Add Accessibility page (/accessibility) with WCAG 2.2 AA commitment, tested behaviors, assistive tech notes, and known limitations - Update navigation: Home, How it works, Security, Accessibility, Docs - Update footer with Stokoe-focused structure (Product, Trust, Contact) - Add _redirects for Cloudflare Pages (/privacy -> /security, /trust -> /security) - Polish metadata: proper canonical URLs, OG tags, Twitter cards --- astro.config.mjs | 2 +- public/_redirects | 5 ++ src/components/Footer.astro | 68 ++++++-------------------- src/components/Header.astro | 44 ++--------------- src/components/SiteMeta.astro | 27 ++++++++--- src/layouts/DefaultLayout.astro | 8 +-- src/pages/accessibility.mdx | 79 ++++++++++++++++++++++++++++++ src/pages/security.mdx | 86 +++++++++++++++++++++++++++++++++ 8 files changed, 212 insertions(+), 107 deletions(-) create mode 100644 public/_redirects create mode 100644 src/pages/accessibility.mdx create mode 100644 src/pages/security.mdx diff --git a/astro.config.mjs b/astro.config.mjs index 68860a55..138933b7 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -87,7 +87,7 @@ if (isLinked) { // https://astro.build/config export default defineConfig({ compressHTML: true, - site: 'https://accessible-astro-starter.incluud.dev', + site: 'https://stokoe.app', integrations: [compress(), icon(), mdx(), sitemap()], vite: viteConfig, }) diff --git a/public/_redirects b/public/_redirects new file mode 100644 index 00000000..3f5c2140 --- /dev/null +++ b/public/_redirects @@ -0,0 +1,5 @@ +# Redirects for Cloudflare Pages +# Format: from to status + +/privacy /security 301 +/trust /security 301 diff --git a/src/components/Footer.astro b/src/components/Footer.astro index cb343f1e..3f7e8b4d 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -17,83 +17,43 @@ const currentYear = new Date().getFullYear() Footer
- Theme features + Product
    -
  • Accessibility statement
  • -
  • Accessible components
  • -
  • Color contrast checker
  • -
  • Markdown page
  • -
  • MDX page
  • -
  • 404 page
  • -
  • Sitemap
  • +
  • Home
  • +
  • How it works
  • +
  • Documentation
- Incluud projects + Trust
    -
  • - Accessible Astro Starter -
  • -
  • - Accessible Astro Dashboard -
  • -
  • - Accessible Astro Components -
  • -
  • - Accessible Astro Docs -
  • -
  • - Color Contrast Checker -
  • +
  • Security & Privacy
  • +
  • Accessibility
- Developer tools + Contact
    -
  • - Web Developer Extension -
  • -
  • - Accessibility Insights -
  • -
  • - axe DevTools -
  • -
  • - WAVE Web Accessibility -
  • -
  • - ARIA Design Patterns -
  • -
  • - WCAG Plain English -
  • +
  • hello@stokoe.app
  • +
  • security@stokoe.app
  • +
  • accessibility@stokoe.app

- Tip: always test for screen reader support. Press + F5 to start VoiceOver or Win - + Ctrl + Enter for Narrator. + Built with accessibility and security as core principles.

-

Cute astronaut image by Kobby Mendez on Unsplash.

- © {currentYear} - Starter Theme for Astro. + © {currentYear} Stokoe. All rights reserved.

- Made with ❤️ by Mark Teekman. Part of Incluud. + Built on Accessible Astro by Incluud.

diff --git a/src/components/Header.astro b/src/components/Header.astro index 633ed7b6..2cb01593 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,7 +1,6 @@ --- import Navigation from '../components/Navigation.astro' import { DarkMode, Link, SkipLink } from 'accessible-astro-components' -import { Icon } from 'astro-icon/components' /** * Header Component @@ -17,51 +16,16 @@ import { Icon } from 'astro-icon/components' Home - -