Skip to content

Commit bd175c1

Browse files
bholmesdevoz-agent
andcommitted
feat(www): SEO/AEO audit fixes
- Add site URL config to enable sitemap generation and canonical URLs - Add robots.txt with sitemap reference - Add Organization and WebSite JSON-LD structured data - Add Open Graph and Twitter Card meta tags - Improve homepage title and description for search engines - Improve meta descriptions across all documentation pages - Clean up emoji-only page titles for better SERP display Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent 70cb101 commit bd175c1

7 files changed

Lines changed: 56 additions & 14 deletions

File tree

www/astro.config.mjs

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import starlight from "@astrojs/starlight";
22
import { defineConfig } from "astro/config";
33

44
export default defineConfig({
5+
site: "https://simple-stack.dev",
56
integrations: [
67
starlight({
78
title: "Simple Stack 🌱",
@@ -13,6 +14,45 @@ export default defineConfig({
1314
},
1415
{ icon: "discord", label: "Discord", href: "https://wtw.dev/chat" },
1516
],
17+
head: [
18+
{
19+
tag: "meta",
20+
attrs: { property: "og:type", content: "website" },
21+
},
22+
{
23+
tag: "meta",
24+
attrs: { property: "og:site_name", content: "Simple Stack" },
25+
},
26+
{
27+
tag: "meta",
28+
attrs: { name: "twitter:card", content: "summary" },
29+
},
30+
{
31+
tag: "script",
32+
attrs: { type: "application/ld+json" },
33+
content: JSON.stringify({
34+
"@context": "https://schema.org",
35+
"@type": "WebSite",
36+
name: "Simple Stack",
37+
url: "https://simple-stack.dev",
38+
description:
39+
"A suite of lightweight tools built for Astro and React to simplify your web development workflow.",
40+
}),
41+
},
42+
{
43+
tag: "script",
44+
attrs: { type: "application/ld+json" },
45+
content: JSON.stringify({
46+
"@context": "https://schema.org",
47+
"@type": "Organization",
48+
name: "Simple Stack",
49+
url: "https://simple-stack.dev",
50+
sameAs: [
51+
"https://github.com/bholmesdev/simple-stack",
52+
],
53+
}),
54+
},
55+
],
1656
sidebar: [
1757
{
1858
label: "💾 Store",

www/public/robots.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
User-agent: *
2+
Allow: /
3+
4+
Sitemap: https://simple-stack.dev/sitemap-index.xml

www/src/content/docs/form/client.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Add client validation
3-
description: Add client validation to your forms
2+
title: Add Client Validation
3+
description: Add client-side form validation to your Astro or React app using Simple Form with the reward-early, punish-late UX pattern.
44
sidebar:
55
order: 3
66
---

www/src/content/docs/form/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Simple form
3-
description: The simple way to validate forms in your fullstack app.
2+
title: Simple Form
3+
description: Simple Form is the easiest way to validate forms in your Astro fullstack app using Zod schemas, with built-in server parsing and client-side validation.
44
sidebar:
55
label: Get started
66
order: 1

www/src/content/docs/form/parse.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Parse form requests
3-
description: Validate forms server-side
2+
title: Parse Form Requests
3+
description: Validate and parse form submissions server-side using Simple Form with Zod schemas and Astro.locals helpers.
44
sidebar:
55
order: 2
66
---

www/src/content/docs/index.mdx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
---
2-
title: Simple stack 🌱
3-
description: A suite of tools built for Astro to simplify your workflow.
2+
title: Simple Stack 🌱
3+
description: Simple Stack is a collection of lightweight tools for Astro and React that simplify state management, scoped IDs, and DOM querying with minimal overhead.
44
tableOfContents: false
55
head:
66
- tag: title
7-
content: Simple stack 🌱
7+
content: Simple Stack – Lightweight Tools for Astro & React
88
---
99

10-
A collection of tools I've built to **make web development simpler.**
11-
12-
To be honest, there isn't a "story" connecting these packages together (I'm no TanStack). But they follow a common theme: solve a simple use case without too many features.
10+
Simple Stack is a collection of lightweight, open-source tools built for Astro and React to **make web development simpler.** Each package solves a focused use case with minimal API surface and zero unnecessary complexity.
1311

1412
import { CardGrid, Card, LinkCard } from '@astrojs/starlight/components';
1513

www/src/content/docs/stream.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Simple stream 🌊
3-
description: Suspend Astro components with fallback content. Like React Server Components, but Just HTML ™️
2+
title: Simple Stream
3+
description: Suspend Astro components with fallback content using Simple Stream. Like React Server Components, but Just HTML. Deprecated in favor of Astro Server Islands.
44
---
55

66
:::caution

0 commit comments

Comments
 (0)