mirror of
https://github.com/C4illin/ConvertX.git
synced 2025-10-28 18:43:30 +00:00
38 lines
895 B
TypeScript
38 lines
895 B
TypeScript
import { Html } from "@elysiajs/html";
|
|
|
|
export const BaseHtml = ({
|
|
children,
|
|
title = "ConvertX",
|
|
}: {
|
|
children: JSX.Element;
|
|
title?: string;
|
|
}) => (
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title safe>{title}</title>
|
|
<link rel="stylesheet" href="/generated.css" />
|
|
<link
|
|
rel="apple-touch-icon"
|
|
sizes="180x180"
|
|
href="/apple-touch-icon.png"
|
|
/>
|
|
<link
|
|
rel="icon"
|
|
type="image/png"
|
|
sizes="32x32"
|
|
href="/favicon-32x32.png"
|
|
/>
|
|
<link
|
|
rel="icon"
|
|
type="image/png"
|
|
sizes="16x16"
|
|
href="/favicon-16x16.png"
|
|
/>
|
|
<link rel="manifest" href="/site.webmanifest" />
|
|
</head>
|
|
<body class="w-full bg-neutral-900 text-neutral-200">{children}</body>
|
|
</html>
|
|
);
|