diff --git a/www/astro.config.mjs b/www/astro.config.mjs index 0d7e4c1..ddc639a 100644 --- a/www/astro.config.mjs +++ b/www/astro.config.mjs @@ -2,6 +2,7 @@ import starlight from "@astrojs/starlight"; import { defineConfig } from "astro/config"; export default defineConfig({ + site: "https://simple-stack.dev", integrations: [ starlight({ title: "Simple Stack 🌱", @@ -13,6 +14,22 @@ 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": "Organization", + name: "Simple Stack", + url: "https://simple-stack.dev", + logo: "https://simple-stack.dev/favicon.svg", + sameAs: [ + "https://github.com/bholmesdev/simple-stack", + ], + }), + }, + ], sidebar: [ { label: "💾 Store", diff --git a/www/public/robots.txt b/www/public/robots.txt new file mode 100644 index 0000000..3214756 --- /dev/null +++ b/www/public/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://simple-stack.dev/sitemap-index.xml diff --git a/www/src/content/docs/index.mdx b/www/src/content/docs/index.mdx index 1e6d15c..f4c1f6c 100644 --- a/www/src/content/docs/index.mdx +++ b/www/src/content/docs/index.mdx @@ -1,10 +1,14 @@ --- -title: Simple stack 🌱 -description: A suite of tools built for Astro to simplify your workflow. +title: Simple Stack +description: Lightweight, focused tools for web development. Includes a reactive state management store for React, build-time scoped IDs for Vite, and DOM querying utilities for Astro. tableOfContents: false head: - tag: title - content: Simple stack 🌱 + content: Simple Stack — Lightweight Tools for Web Development + - tag: script + attrs: + type: application/ld+json + content: '{"@context":"https://schema.org","@type":"WebSite","name":"Simple Stack","url":"https://simple-stack.dev","description":"Lightweight, focused tools for web development including reactive state management, scoped IDs, and DOM querying utilities."}' --- A collection of tools I've built to **make web development simpler.** diff --git a/www/src/content/docs/query.mdx b/www/src/content/docs/query.mdx index 5549582..6bf6a3b 100644 --- a/www/src/content/docs/query.mdx +++ b/www/src/content/docs/query.mdx @@ -1,6 +1,13 @@ --- -title: 💰 Simple Query -description: A simple library to query the DOM from your Astro components. +title: Simple Query — DOM Querying for Astro Components +description: A simple library to query the DOM from Astro components with scoped selectors, signals support, and server data passing. +sidebar: + label: 💰 Simple Query +head: + - tag: script + attrs: + type: application/ld+json + content: '{"@context":"https://schema.org","@type":"SoftwareSourceCode","name":"@simplestack/query","description":"A simple library to query the DOM from Astro components with scoped selectors and signals.","codeRepository":"https://github.com/bholmesdev/simplestack-query","programmingLanguage":"TypeScript","license":"https://opensource.org/licenses/MIT"}' --- import { Tabs, TabItem, LinkCard } from '@astrojs/starlight/components'; diff --git a/www/src/content/docs/scope.mdx b/www/src/content/docs/scope.mdx index 93740de..4e73786 100644 --- a/www/src/content/docs/scope.mdx +++ b/www/src/content/docs/scope.mdx @@ -1,6 +1,13 @@ --- -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 — Build-time Scoped IDs for Vite +description: Generate scoped IDs for any file at build-time with zero client JS. A Vite plugin compatible with Astro, Nuxt, SvelteKit, and more. +sidebar: + label: 🔎 Simple Scope +head: + - tag: script + attrs: + type: application/ld+json + content: '{"@context":"https://schema.org","@type":"SoftwareSourceCode","name":"vite-plugin-simple-scope","description":"A Vite plugin that generates scoped IDs for any file at build-time with zero client JS.","codeRepository":"https://github.com/bholmesdev/simplestack-scope","programmingLanguage":"TypeScript","license":"https://opensource.org/licenses/MIT"}' --- import { LinkCard } from '@astrojs/starlight/components'; diff --git a/www/src/content/docs/store.mdx b/www/src/content/docs/store.mdx index cda86d1..aba9bf8 100644 --- a/www/src/content/docs/store.mdx +++ b/www/src/content/docs/store.mdx @@ -1,9 +1,14 @@ --- -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 — Reactive State Management for React +description: A reactive store that combines the simplicity of signals with the power of selectors you'd find in Zustand or Redux. Supports sub-stores, middleware, and Next.js SSR. sidebar: - label: Get started + label: 💾 Get started order: 1 +head: + - tag: script + attrs: + type: application/ld+json + content: '{"@context":"https://schema.org","@type":"SoftwareSourceCode","name":"@simplestack/store","description":"A reactive state management library for React with signal-based stores and selectors.","codeRepository":"https://github.com/bholmesdev/simplestack-store","programmingLanguage":"TypeScript","runtimePlatform":"Node.js","license":"https://opensource.org/licenses/MIT"}' --- import { LinkCard, Tabs, TabItem } from '@astrojs/starlight/components';