-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathastro.config.mjs
More file actions
94 lines (93 loc) · 2.2 KB
/
astro.config.mjs
File metadata and controls
94 lines (93 loc) · 2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
import starlight from "@astrojs/starlight";
import { defineConfig } from "astro/config";
export default defineConfig({
site: "https://simple-stack.dev",
integrations: [
starlight({
title: "Simple Stack 🌱",
head: [
{
tag: "meta",
attrs: { property: "og:type", content: "website" },
},
{
tag: "meta",
attrs: { property: "og:site_name", content: "Simple Stack" },
},
{
tag: "meta",
attrs: { name: "twitter:card", content: "summary" },
},
{
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:
"A collection of lightweight developer tools for Astro and Vite including a reactive store, scoped IDs, and DOM query utilities.",
author: {
"@type": "Person",
name: "Ben Holmes",
url: "https://bholmes.dev",
},
}),
},
{
tag: "script",
attrs: { type: "application/ld+json" },
content: JSON.stringify({
"@context": "https://schema.org",
"@type": "Organization",
name: "Simple Stack",
url: "https://simple-stack.dev",
sameAs: [
"https://github.com/bholmesdev/simple-stack",
"https://wtw.dev/chat",
],
}),
},
],
social: [
{
icon: "github",
label: "GitHub",
href: "https://github.com/bholmesdev/simple-stack",
},
{ icon: "discord", label: "Discord", href: "https://wtw.dev/chat" },
],
sidebar: [
{
label: "💾 Store",
link: "/store",
},
{
label: "🔎 Scope",
link: "/scope",
},
{
label: "💰 Query",
link: "/query",
},
{
label: "🌊 Stream",
link: "/stream",
badge: { text: "Deprecated", variant: "caution" },
},
{
label: "🧘♂️ Form",
autogenerate: { directory: "form" },
collapsed: true,
badge: { text: "Deprecated", variant: "caution" },
},
],
customCss: [
"@fontsource/atkinson-hyperlegible/400.css",
"@fontsource/atkinson-hyperlegible/700.css",
"./src/styles/custom.css",
],
}),
],
});