Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion www/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ import starlight from "@astrojs/starlight";
import { defineConfig } from "astro/config";

export default defineConfig({
site: "https://simple-stack.dev",
integrations: [
starlight({
title: "Simple Stack 🌱",
title: "Simple Stack",
social: [
{
icon: "github",
Expand All @@ -13,6 +14,29 @@ export default defineConfig({
},
{ icon: "discord", label: "Discord", href: "https://wtw.dev/chat" },
],
head: [
{
tag: "script",
attrs: { type: "application/ld+json" },
content: JSON.stringify({
"@context": "https://schema.org",
"@type": "WebSite",
name: "Simple Stack",
url: "https://simple-stack.dev",
description:
"Lightweight developer tools for Astro including reactive stores, scoped IDs, and DOM query utilities.",
author: {
"@type": "Person",
name: "Ben Holmes",
url: "https://bholmes.dev",
sameAs: [
"https://github.com/bholmesdev",
"https://twitter.com/babormeister",
],
},
}),
},
],
sidebar: [
{
label: "💾 Store",
Expand Down
4 changes: 4 additions & 0 deletions www/public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
User-agent: *
Allow: /

Sitemap: https://simple-stack.dev/sitemap-index.xml
4 changes: 2 additions & 2 deletions www/src/content/docs/form/client.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Add client validation
description: Add client validation to your forms
title: Add Client Validation
description: "Generate client-validated form components with the simple-form CLI. Uses the reward-early, punish-late UX pattern for accessible inline validation."
sidebar:
order: 3
---
Expand Down
4 changes: 2 additions & 2 deletions www/src/content/docs/form/index.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Simple form
description: The simple way to validate forms in your fullstack app.
title: Simple Form
description: "Validate forms in Astro with Zod schemas. Auto-generates input props, handles server-side parsing, and supports client validation. (Deprecated)"
sidebar:
label: Get started
order: 1
Expand Down
4 changes: 2 additions & 2 deletions www/src/content/docs/form/parse.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Parse form requests
description: Validate forms server-side
title: Parse Form Requests
description: "Server-side form validation helpers for Astro. Parse and validate FormData with Zod using getData(), getDataByName(), and validateForm()."
sidebar:
order: 2
---
Expand Down
7 changes: 2 additions & 5 deletions www/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
title: Simple stack 🌱
description: A suite of tools built for Astro to simplify your workflow.
title: Simple Stack — Lightweight Developer Tools for Astro
description: A collection of lightweight Astro tools including reactive stores, build-time scoped IDs, and DOM query utilities. Zero-config, minimal JS.
tableOfContents: false
head:
- tag: title
content: Simple stack 🌱
---

A collection of tools I've built to **make web development simpler.**
Expand Down
2 changes: 1 addition & 1 deletion www/src/content/docs/query.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 💰 Simple Query
description: A simple library to query the DOM from your Astro components.
description: Query DOM elements from Astro components with scoped data-target selectors. Supports signals, server data passing, and view transition cleanup.
---

import { Tabs, TabItem, LinkCard } from '@astrojs/starlight/components';
Expand Down
4 changes: 2 additions & 2 deletions www/src/content/docs/scope.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 🔎 Simple scope
description: Get a scoped ID for whatever file you're in. Resolved at build-time with zero client JS.
title: 🔎 Simple Scope
description: Vite plugin that generates deterministic scoped IDs at build time with zero client JS. Ideal for form labels, query selectors, and SSR hydration.
---

import { LinkCard } from '@astrojs/starlight/components';
Expand Down
4 changes: 2 additions & 2 deletions www/src/content/docs/store.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 💾 Simple store
description: A reactive store that combines the simplicity of signals with the power of "selectors" you'd find in Zustand or Redux.
title: 💾 Simple Store
description: A lightweight reactive store for JavaScript and React. Combines signal-like simplicity with Zustand-style selectors. Works with Vite and Next.js.
sidebar:
label: Get started
order: 1
Expand Down
8 changes: 5 additions & 3 deletions www/src/content/docs/stream.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Simple stream 🌊
description: Suspend Astro components with fallback content. Like React Server Components, but Just HTML ™️
title: Simple Stream 🌊
description: "Suspend Astro components with fallback content and out-of-order streaming. Like React Server Components, but Just HTML. (Deprecated)"
---

:::caution
Expand All @@ -9,7 +9,9 @@ description: Suspend Astro components with fallback content. Like React Server C

Suspend Astro components with fallback content. Like React Server Components, but Just HTML ™️

<video controls width="100%" style="aspect-ratio:1.65/1" src="/assets/simple-stream-intro.mov"></video>
<video controls width="100%" style="aspect-ratio:1.65/1" src="/assets/simple-stream-intro.mov">
Your browser does not support the video tag. See the Simple Stream demo showing Suspense-style component streaming in Astro.
</video>

```astro
---
Expand Down
Loading