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
46 changes: 46 additions & 0 deletions www/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,55 @@ import starlight from "@astrojs/starlight";
import { defineConfig } from "astro/config";

export default defineConfig({
site: "https://simple-stack.dev",
integrations: [
starlight({
title: "Simple Stack 🌱",
head: [
// Open Graph
{
tag: "meta",
attrs: { property: "og:type", content: "website" },
},
{
tag: "meta",
attrs: { property: "og:site_name", content: "Simple Stack" },
},
{
tag: "meta",
attrs: { property: "og:locale", content: "en_US" },
},
// Twitter Card
{
tag: "meta",
attrs: { name: "twitter:card", content: "summary" },
},
// JSON-LD: WebSite + Organization
{
tag: "script",
attrs: { type: "application/ld+json" },
content: JSON.stringify({
"@context": "https://schema.org",
"@graph": [
{
"@type": "WebSite",
name: "Simple Stack",
url: "https://simple-stack.dev",
description:
"Lightweight developer tools for Astro, React, and Vite. Includes a reactive store, scoped IDs, and DOM query utilities.",
},
{
"@type": "Organization",
name: "Simple Stack",
url: "https://simple-stack.dev",
sameAs: [
"https://github.com/bholmesdev/simple-stack",
],
},
],
}),
},
],
social: [
{
icon: "github",
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
5 changes: 5 additions & 0 deletions www/src/content/docs/form/client.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ title: Add client validation
description: Add client validation to your forms
sidebar:
order: 3
head:
- tag: meta
attrs:
name: robots
content: noindex, follow
---

:::caution
Expand Down
5 changes: 5 additions & 0 deletions www/src/content/docs/form/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ description: The simple way to validate forms in your fullstack app.
sidebar:
label: Get started
order: 1
head:
- tag: meta
attrs:
name: robots
content: noindex, follow
---

import { Tabs, TabItem } from '@astrojs/starlight/components';
Expand Down
5 changes: 5 additions & 0 deletions www/src/content/docs/form/parse.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ title: Parse form requests
description: Validate forms server-side
sidebar:
order: 2
head:
- tag: meta
attrs:
name: robots
content: noindex, follow
---

:::caution
Expand Down
8 changes: 4 additions & 4 deletions www/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: Simple stack 🌱
description: A suite of tools built for Astro to simplify your workflow.
title: Simple Stack - Lightweight Tools for Astro, React & Vite
description: Simple Stack provides lightweight developer tools including a reactive store with selectors, build-time scoped IDs, and DOM query utilities for Astro components.
tableOfContents: false
head:
- tag: title
content: Simple stack 🌱
content: Simple Stack - Lightweight Tools for Astro, React & Vite
---

A collection of tools I've built to **make web development simpler.**
Simple Stack is a collection of lightweight developer tools that **make web development simpler.** It includes a reactive store with selector support, a Vite plugin for build-time scoped IDs, and a DOM query library for Astro components.

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.

Expand Down
5 changes: 5 additions & 0 deletions www/src/content/docs/stream.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
---
title: Simple stream 🌊
description: Suspend Astro components with fallback content. Like React Server Components, but Just HTML ™️
head:
- tag: meta
attrs:
name: robots
content: noindex, follow
---

:::caution
Expand Down
Loading