Skip to content

Commit 60ea78f

Browse files
bholmesdevoz-agent
andcommitted
feat(www): SEO/AEO audit improvements
- Add site URL to enable sitemap generation - Add robots.txt with sitemap reference - Add Organization JSON-LD structured data - Add Open Graph meta tags - Improve page titles and meta descriptions for SEO - Restructure homepage content for AEO (answer-first format) Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent 70cb101 commit 60ea78f

7 files changed

Lines changed: 59 additions & 13 deletions

File tree

www/astro.config.mjs

Lines changed: 34 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 🌱",
@@ -43,6 +44,39 @@ export default defineConfig({
4344
"@fontsource/atkinson-hyperlegible/700.css",
4445
"./src/styles/custom.css",
4546
],
47+
head: [
48+
{
49+
tag: "meta",
50+
attrs: {
51+
property: "og:site_name",
52+
content: "Simple Stack",
53+
},
54+
},
55+
{
56+
tag: "meta",
57+
attrs: {
58+
property: "og:type",
59+
content: "website",
60+
},
61+
},
62+
{
63+
tag: "script",
64+
attrs: { type: "application/ld+json" },
65+
content: JSON.stringify({
66+
"@context": "https://schema.org",
67+
"@type": "WebSite",
68+
name: "Simple Stack",
69+
url: "https://simple-stack.dev",
70+
description:
71+
"A collection of lightweight, focused tools for Astro and web development. Includes Simple Store, Simple Scope, and Simple Query.",
72+
author: {
73+
"@type": "Person",
74+
name: "Ben Holmes",
75+
url: "https://bholmes.dev",
76+
},
77+
}),
78+
},
79+
],
4680
}),
4781
],
4882
});

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/index.mdx

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
---
2-
title: Simple stack 🌱
3-
description: A suite of tools built for Astro to simplify your workflow.
2+
title: Simple Stack - Lightweight Tools for Astro & Web Development
3+
description: Simple Stack is a collection of lightweight, focused tools for Astro and web development. Includes Simple Store (reactive state), Simple Scope (scoped IDs), and Simple Query (DOM querying for Astro components).
44
tableOfContents: false
55
head:
66
- tag: title
7-
content: Simple stack 🌱
7+
content: Simple Stack - Lightweight Tools for Astro & Web Development
8+
- tag: meta
9+
attrs:
10+
property: og:title
11+
content: Simple Stack - Lightweight Tools for Astro & Web Development
12+
- tag: meta
13+
attrs:
14+
property: og:description
15+
content: A collection of lightweight, focused tools for Astro and web development. Includes Simple Store, Simple Scope, and Simple Query.
816
---
917

10-
A collection of tools I've built to **make web development simpler.**
18+
Simple Stack is a collection of lightweight, focused tools for Astro and web development. Each package solves a single use case well, without unnecessary complexity.
1119

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.
20+
Packages include **Simple Store** (reactive state management), **Simple Scope** (build-time scoped IDs), and **Simple Query** (DOM querying for Astro components).
1321

1422
import { CardGrid, Card, LinkCard } from '@astrojs/starlight/components';
1523

www/src/content/docs/query.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: 💰 Simple Query
3-
description: A simple library to query the DOM from your Astro components.
2+
title: Simple Query - DOM Querying for Astro Components
3+
description: Simple Query is an Astro integration for querying the DOM from Astro components. Provides scoped element selection, type-safe selectors, and signal-based reactivity with zero framework overhead.
44
---
55

66
import { Tabs, TabItem, LinkCard } from '@astrojs/starlight/components';

www/src/content/docs/scope.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: 🔎 Simple scope
3-
description: Get a scoped ID for whatever file you're in. Resolved at build-time with zero client JS.
2+
title: Simple Scope - Build-Time Scoped IDs for Vite Projects
3+
description: Simple Scope is a Vite plugin that generates scoped IDs at build-time with zero client JavaScript. Works with Astro, React, Vue, Svelte, and any Vite-based framework. Prevents ID collisions in forms and query selectors.
44
---
55

66
import { LinkCard } from '@astrojs/starlight/components';

www/src/content/docs/store.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: 💾 Simple store
3-
description: A reactive store that combines the simplicity of signals with the power of "selectors" you'd find in Zustand or Redux.
2+
title: Simple Store - Reactive State Management for React & Astro
3+
description: Simple Store is a lightweight reactive store that combines the simplicity of signals with Zustand-style selectors. Works with React, Next.js, and Astro. Supports nested state, middleware, and TypeScript.
44
sidebar:
55
label: Get started
66
order: 1

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 - Suspense for Astro Components (Deprecated)
3+
description: Simple Stream suspended Astro components with fallback content, similar to React Server Components but using only HTML. This package is deprecated in favor of Astro Server Islands.
44
---
55

66
:::caution

0 commit comments

Comments
 (0)