radiant-docs 0.1.28 → 0.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template/astro.config.mjs +4 -0
- package/template/package-lock.json +1204 -20
- package/template/package.json +9 -2
- package/template/src/assets/icons/sparkle.svg +22 -0
- package/template/src/components/Footer.astro +11 -3
- package/template/src/components/Header.astro +48 -16
- package/template/src/components/Search.astro +3 -3
- package/template/src/components/Sidebar.astro +1 -1
- package/template/src/components/SidebarDropdown.astro +2 -2
- package/template/src/components/chat/AskAiWidget.tsx +1771 -0
- package/template/src/components/user/Accordion.astro +12 -3
- package/template/src/content.config.ts +1 -1
- package/template/src/layouts/Layout.astro +57 -12
- package/template/src/styles/global.css +1 -0
- package/template/src/styles/vaul.css +255 -0
- package/template/tsconfig.json +4 -0
package/package.json
CHANGED
|
@@ -3,6 +3,7 @@ import { defineConfig } from "astro/config";
|
|
|
3
3
|
import tailwindcss from "@tailwindcss/vite";
|
|
4
4
|
import mdx from "@astrojs/mdx";
|
|
5
5
|
import alpine from "@astrojs/alpinejs";
|
|
6
|
+
import preact from "@astrojs/preact";
|
|
6
7
|
import icon from "astro-icon";
|
|
7
8
|
import fs from "fs";
|
|
8
9
|
import path from "path";
|
|
@@ -271,6 +272,9 @@ export default defineConfig({
|
|
|
271
272
|
format: "directory",
|
|
272
273
|
},
|
|
273
274
|
integrations: [
|
|
275
|
+
preact({
|
|
276
|
+
compat: true,
|
|
277
|
+
}),
|
|
274
278
|
mdx({
|
|
275
279
|
remarkPlugins: [
|
|
276
280
|
remarkGfm,
|