@virtualstate/examples
Version:
14 lines • 561 B
JavaScript
import { h } from "./h.js";
export default function Website() {
return (h("html", null,
h("head", null,
h("title", null, "My Website")),
h("body", null,
h("h1", null, "Hello!"),
h("main", null,
h("p", { key: "huh" }, "Content here"),
h("p", { attr: false, other: true, value: 1, one: "two" }, "Content there")),
h("footer", null,
h("a", { href: "https://example.com", target: "_blank" }, "example.com")))));
}
//# sourceMappingURL=website.js.map