chat-ui / src /app.html
julien-c's picture
julien-c HF staff
Open graph tags
9b99dad verified
raw
history blame
989 Bytes
<!DOCTYPE html>
<html lang="en" class="h-full">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<title>HuggingChat</title>
<meta name="description" content="The first open source alternative to ChatGPT. 💪" />
<meta property="og:title" content="HuggingChat" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://huggingface.co/chat" />
<meta property="og:image" content="%sveltekit.assets%/thumbnail.png" />
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover" class="dark:bg-gray-900 h-full">
<div class="contents h-full">%sveltekit.body%</div>
</body>
<script>
if (
localStorage.theme === "dark" ||
(!("theme" in localStorage) && window.matchMedia("(prefers-color-scheme: dark)").matches)
) {
document.documentElement.classList.add("dark");
}
</script>
</html>