This commit is contained in:
Korbs 2024-11-29 14:51:20 -05:00
parent 8753e72c8d
commit 51aebf04b7
4 changed files with 13 additions and 12 deletions

View file

@ -82,6 +82,9 @@ export default defineConfig({
devToolbar: { devToolbar: {
enabled: false enabled: false
}, },
experimental: {
serverIslands: true
},
vite: { vite: {
css: { css: {
preprocessorOptions: { preprocessorOptions: {

View file

@ -4,9 +4,7 @@ const posts = await ghostClient.posts
.browse({ .browse({
limit: "all", limit: "all",
}) })
.catch((err) => { .catch(() => {null})
console.error(err);
});
--- ---
<div class="posts"> <div class="posts">

View file

@ -16,7 +16,7 @@ import { BookmarkBook, ReportColumns } from "@iconoir/vue";
<Default MobileTitle="SudoVanilla" NoSubHeader> <Default MobileTitle="SudoVanilla" NoSubHeader>
<Fragment slot="body"> <Fragment slot="body">
<Posts/> <Posts server:defer><div slot="fallback">Loading posts...</div></Posts>
</Fragment> </Fragment>
</Default> </Default>

View file

@ -26,12 +26,19 @@ import { BookmarkBook, ReportColumns } from "@iconoir/vue";
<BookmarkBook width={32} height={32} /> <BookmarkBook width={32} height={32} />
</slot> </slot>
</Heading> </Heading>
<Posts/> <Posts server:defer><div slot="fallback">Loading posts...</div></Posts>
<Heading Title="Projects" Description="What I've Made"> <Heading Title="Projects" Description="What I've Made">
<slot slot="icon"> <slot slot="icon">
<ReportColumns width={32} height={32} /> <ReportColumns width={32} height={32} />
</slot> </slot>
</Heading> </Heading>
<LargeCard
Title="MinPluto"
Description="SudoVanilla Studio"
Image="https://md.sudovanilla.org/images/mp-ba-1.png"
CTA_Primary="View Website"
CTA_Primary_Link="https://studio.sudovanilla.org/"
/>
<LargeCard <LargeCard
Title="Zorn Player" Title="Zorn Player"
Description="Video Player for Astro" Description="Video Player for Astro"
@ -47,13 +54,6 @@ import { BookmarkBook, ReportColumns } from "@iconoir/vue";
CTA_Primary_Link="https://ark.sudovanilla.org/Korbs/butterflyvu" CTA_Primary_Link="https://ark.sudovanilla.org/Korbs/butterflyvu"
CreditImage="Close-up Photo of Glowing Blue Butterflies by Pixabay on Pixels." CreditImage="Close-up Photo of Glowing Blue Butterflies by Pixabay on Pixels."
/> />
<LargeCard
Title="MinPluto"
Description="Privacy Frontend for Twitch"
Image="https://md.sudovanilla.org/images/mp-ba-1.png"
CTA_Primary="Source Code"
CTA_Primary_Link="https://ark.sudovanilla.org/MinPluto/MinPluto/"
/>
<LargeCard <LargeCard
Title="Init Privacy" Title="Init Privacy"
Description="Taking Back Control" Description="Taking Back Control"