23 lines
781 B
TypeScript
23 lines
781 B
TypeScript
import Layout from "./layout.tsx";
|
|
import { database } from "../utils/database.ts";
|
|
|
|
export default async () => {
|
|
const site = await database?.selectFrom("sites").selectAll().offset(1).limit(1)
|
|
.executeTakeFirstOrThrow();
|
|
|
|
return (
|
|
<Layout className="contents">
|
|
<div
|
|
className="prose prose-xs **:text-primary **:text-xs **:text-balance **:break-normal"
|
|
dangerouslySetInnerHTML={{ __html: site?.description_html ?? "" }}
|
|
/>
|
|
<div>
|
|
{`User -> Gateway: Here is my fantasy.
|
|
Gateway -> User: Thank you. Choose your modality (text or text-image). [Stays as Gateway]
|
|
User -> Gateway: I choose text-image.
|
|
Gateway -> User: Acknowledged. Connecting you to [Persona X]. [Changes context to Persona X]
|
|
`}
|
|
</div>
|
|
</Layout>
|
|
);
|
|
};
|