-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
44 lines (39 loc) · 1.37 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<meta name="robots" content="noimageindex, nofollow, nosnippet">
<link rel="modulepreload" href="https://esm.sh/[email protected]">
<link rel="modulepreload" href="https://esm.sh/[email protected]">
<link rel="modulepreload" href="https://esm.sh/[email protected]">
<link rel="modulepreload" href="./app.js">
<title>Buildless Preact Starter</title>
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
<body class="site">
<header>
<a class="header-logo" href="#" rel="noopener" target="_blank">
<img class="block" src="logo.svg" width="150">
</a>
</header>
<main class="site-content mx-auto">
<section id="app-container"></section>
</main>
<footer class="text-center text-sm mx-auto">
<p>Built using Preact.</p>
<div class="footer-row mobile-column">
<a class="footer-link" href="https://ttntm.me/blog/buildless-preact-starter">Read the Article</a>
<a class="footer-link" href="https://github.com/ttntm/buildless-preact-starter" target="_blank" rel="noopener">Code@GitHub</a>
</div>
</footer>
<script type="module">
import App from './app.js'
window.addEventListener('load', () => {
const config = {
context: 'Context from index.html'
}
App(config)
})
</script>
</body>
</html>