Skip to content

Commit e71973a

Browse files
committed
Add Preact to homepage frameworks
1 parent 1442801 commit e71973a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

apps/frontpage/components/docs/mdx/home-renderers.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,14 @@ export function HomeRenderers({ activeVersion }: HomeRenderersProps) {
8686
subtitle="with Webpack"
8787
title="Web Components"
8888
/>
89+
{Number(activeVersion.id) >= 8.5 ? (
90+
<Card
91+
href="/docs/get-started/frameworks/preact-vite/?renderer=preact"
92+
logo="logo-preact.svg"
93+
subtitle="with Vite"
94+
title="Preact"
95+
/>
96+
) : null}
8997
</div>
9098
);
9199
}

0 commit comments

Comments
 (0)