97 lines
2.9 KiB
HTML
97 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<meta name="application-name" content="Hyperapp" />
|
|
<meta
|
|
name="description"
|
|
content="The tiny framework for building web interfaces."
|
|
/>
|
|
<meta name="theme-color" content="#0080ff" />
|
|
|
|
<meta itemprop="name" content="Hyperapp" />
|
|
<meta
|
|
itemprop="description"
|
|
content="The tiny framework for building web interfaces."
|
|
/>
|
|
<meta itemprop="image" content="https://hyperapp.dev/logo.png" />
|
|
|
|
<meta property="og:url" content="https://hyperapp.dev" />
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:title" content="Hyperapp" />
|
|
<meta
|
|
property="og:description"
|
|
content="The tiny framework for building web interfaces."
|
|
/>
|
|
<meta property="og:image" content="https://hyperapp.dev/logo.png" />
|
|
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
<meta name="twitter:title" content="Hyperapp" />
|
|
<meta name="twitter:site" content="@hyperappjs" />
|
|
<meta name="twitter:creator" content="@hyperappjs" />
|
|
<meta
|
|
name="twitter:description"
|
|
content="The tiny framework for building web interfaces."
|
|
/>
|
|
<meta name="twitter:image" content="https://hyperapp.dev/logo.png" />
|
|
|
|
<link href="manifest.json" rel="manifest" />
|
|
<link href="favicon.png" rel="icon" type="image/png" />
|
|
<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" />
|
|
|
|
<meta name="author" content="Jorge Bucaran" />
|
|
|
|
<base href="/" />
|
|
|
|
<title>
|
|
Hyperapp • The tiny framework for building web interfaces
|
|
</title>
|
|
|
|
<!-- Google Analytics -->
|
|
<script
|
|
async
|
|
src="https://www.googletagmanager.com/gtag/js?id=UA-144105370-1"
|
|
></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || []
|
|
function gtag() {
|
|
dataLayer.push(arguments)
|
|
}
|
|
gtag("js", new Date())
|
|
|
|
gtag("config", "UA-144105370-1")
|
|
</script>
|
|
<!-- Google Analytics -->
|
|
|
|
<link rel="stylesheet" href="styles.css" />
|
|
|
|
<script type="module">
|
|
import { h, app } from "https://unpkg.com/hyperapp@beta"
|
|
|
|
app({
|
|
init: 0,
|
|
view: state =>
|
|
h("div", {}, [
|
|
h("h1", {}, state),
|
|
h("button", { onClick: state => state - 1 }, "-"),
|
|
h("button", { onClick: state => state + 1 }, "+")
|
|
]),
|
|
node: document.getElementById("app")
|
|
})
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
We're currently working on the website. In the meantime, play with this
|
|
counter app or
|
|
<a href="https://github.com/jorgebucaran/hyperapp">check out the repo</a> on
|
|
GitHub.
|
|
|
|
<div id="app"></div>
|
|
</body>
|
|
</html>
|