diff --git a/site/TODO.md b/site/TODO.md index f02048b4..2ca7dc2f 100644 --- a/site/TODO.md +++ b/site/TODO.md @@ -7,6 +7,6 @@ not comprehensive. just the things I'm worried about forgetting - a11y audit. some of those colors are sus. - animations - docs features - - copy code blocks + - /docs/[slug] redirect ("share this guide") - search -- update docs following dev +- update READMEs following dev diff --git a/site/src/components/Aside.astro b/site/src/components/Aside.astro index 76a41cf1..52ab296a 100644 --- a/site/src/components/Aside.astro +++ b/site/src/components/Aside.astro @@ -58,8 +58,8 @@ const renderTitle = title ?? defaultTitles[type]; />
-

{renderTitle}

-
+

{renderTitle}

+
diff --git a/site/src/components/typography/Blockquote.astro b/site/src/components/typography/Blockquote.astro index fe700c71..52ac1f80 100644 --- a/site/src/components/typography/Blockquote.astro +++ b/site/src/components/typography/Blockquote.astro @@ -12,7 +12,14 @@ const { as: Tag = 'blockquote', maxWidth = true, class: className, ...props } = --- .my-6]:my-2 [&>.my-12]:my-4 [&>*:last-child]:!mb-0', + maxWidth && 'max-w-3xl mx-auto', + ), + className, + )} {...props} > diff --git a/site/src/content/docs/how-to/write-guides.mdx b/site/src/content/docs/how-to/write-guides.mdx index 72cd08b8..ab41e1d1 100644 --- a/site/src/content/docs/how-to/write-guides.mdx +++ b/site/src/content/docs/how-to/write-guides.mdx @@ -275,7 +275,9 @@ Your content. You can use **markdown** in here, too. ## Code and Code Frames