Skip to content

Commit 8ca6a48

Browse files
committed
fix(docs): fix home page head
1 parent d804f64 commit 8ca6a48

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

apps/website/docs/index.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ if (typeof window !== "undefined") {
22
// @ts-expect-error
33
import("basecoat-css/all");
44
}
5+
import { useHead } from "@rspress/core/runtime";
56
import ilha, { html, mount, raw } from "ilha";
67
import { useEffect } from "react";
78
import { createHighlighter } from "shiki";
@@ -351,6 +352,16 @@ export default () => {
351352
useEffect(() => {
352353
mount({ Hero, AiPrompt, Heading, WhyIlha, Libraries, Creator, Footer });
353354
}, []);
355+
useHead({
356+
title: "Build Modern UI, Your Way",
357+
meta: [
358+
{
359+
name: "description",
360+
content:
361+
"Ilha is a lightweight UI framework under 1,500 lines of code. Simple enough to fit in a single AI context window, powerful enough to build modern interfaces your way.",
362+
},
363+
],
364+
});
354365
return (
355366
<div className="flex min-h-screen flex-col">
356367
<div id="toaster" className="toaster"></div>

0 commit comments

Comments
 (0)