import "./index.css"
import { Title } from "@solidjs/meta"
import { onCleanup, onMount } from "solid-js"
import logoLight from "../asset/logo-ornate-light.svg"
import logoDark from "../asset/logo-ornate-dark.svg"
import IMG_SPLASH from "../asset/lander/screenshot-splash.png"
import { IconCopy, IconCheck } from "../component/icon"
import { useI18n } from "~/context/i18n"
import { useLanguage } from "~/context/language"
function CopyStatus() {
return (
)
}
export default function Home() {
const i18n = useI18n()
const language = useLanguage()
onMount(() => {
const commands = document.querySelectorAll("[data-copy]")
for (const button of commands) {
const callback = () => {
const text = button.textContent
if (text) {
navigator.clipboard.writeText(text)
button.setAttribute("data-copied", "")
setTimeout(() => {
button.removeAttribute("data-copied")
}, 1500)
}
}
button.addEventListener("click", callback)
onCleanup(() => {
button.removeEventListener("click", callback)
})
}
})
return (
{i18n.t("temp.title")}
{i18n.t("temp.hero.title")}
-
{i18n.t("temp.feature.native.title")} {i18n.t("temp.feature.native.body")}
-
{i18n.t("home.what.lsp.title")} {i18n.t("home.what.lsp.body")}
-
{i18n.t("temp.zen")} {i18n.t("temp.feature.zen.beforeLink")}{" "}
{i18n.t("temp.feature.zen.link")}{" "}
{i18n.t("temp.feature.zen.afterLink")}
-
{i18n.t("home.what.multiSession.title")} {i18n.t("home.what.multiSession.body")}
-
{i18n.t("home.what.shareLinks.title")} {i18n.t("home.what.shareLinks.body")}
-
{i18n.t("home.what.copilot.title")} {i18n.t("home.what.copilot.body")}
-
{i18n.t("home.what.chatgptPlus.title")} {i18n.t("home.what.chatgptPlus.body")}
-
{i18n.t("home.what.anyModel.title")} {i18n.t("temp.feature.models.beforeLink")}{" "}
Models.dev
{i18n.t("temp.feature.models.afterLink")}
npm
bun
homebrew
paru
{i18n.t("temp.screenshot.caption")}
)
}