Skip to content

Commit

Permalink
Merge pull request #738 from Hi-Windom/v0.34
Browse files Browse the repository at this point in the history
V0.34
  • Loading branch information
Soltus authored May 17, 2024
2 parents f66bcd3 + 29ebe9c commit ffdfc2b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/starlight/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ export default defineConfig({
}),
],
components: {
FeedbackComponent: "./src/components/FeedbackComponent.astro",
FeedbackComponent: "./src/components/Waline.astro",
},
});
15 changes: 15 additions & 0 deletions docs/starlight/src/components/Waline.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<link
rel="stylesheet"
href="https://unpkg.com/@waline/client@v3/dist/waline.css"
/>

<div id="waline"></div>
<script type="module">
import { init } from 'https://unpkg.com/@waline/client@v3/dist/waline.js';

init({
el: '#waline',
serverURL: 'https://sillot-waline-server.vercel.app',
dark: 'auto',
});
</script>
2 changes: 2 additions & 0 deletions docs/starlight/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import { Card, CardGrid } from '@astrojs/starlight/components';
import SpeedInsights from "@vercel/speed-insights/astro";
import ScriptWorkaround from "/src/components/ScriptWorkaround.astro";
import StatusComponent from "/src/components/StatusComponent.astro";
import Waline from "/src/components/Waline.astro";

<StatusComponent />

Expand All @@ -41,3 +42,4 @@ import StatusComponent from "/src/components/StatusComponent.astro";

<SpeedInsights/>
<ScriptWorkaround />
<Waline />

0 comments on commit ffdfc2b

Please sign in to comment.