-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
34 lines (30 loc) · 1.66 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Module Demo Page</title>
<!-- Script tag for demo page purposes in demo-page-assets/demo.ts -->
<script type="module" src="demo-page-assets/demo.ts"></script>
</head>
<body>
<div class="bg-slate-50 py-24 sm:py-32 min-h-screen">
<div class="mx-auto max-w-screen-lg p-6 lg:p-8 bg-gradient-to-br from-white to-slate-200 rounded shadow-2xl">
<div class="mx-auto lg:mx-0">
<h1 class="text-4xl font-bold tracking-tight text-gray-900 sm:text-6xl mb-6">Module Demo Page</h1>
<p class="mb-4 text-lg leading-8 text-gray-600">This is a demo page for the module builder workflow found at <a href="https://github.com/johnfmorton/vite-module-builder-w-ghpages-npm-template" class="underline text-blue-600">https://github.com/johnfmorton/vite-module-builder-w-ghpages-npm-template</a>. The demo page imports a typescript file during development. It comese preconfigured with <a href="https://tailwindcss.com/" class="underline text-blue-600">TailwindCSS</a>.</p>
<p class="mb-4 text-lg leading-8 text-gray-600">
The typescript file is compiled to javascript, a type definitions file, and a css file when hosted in a GitHub Pages page during production.
</p>
<p class="mb-4 text-lg leading-8 text-gray-600">
Below you can see if the module executed correctly.
</p>
<p id="messageOutput">
<!-- This is where the message will be output -->
If you see this message, the module is not working.
</p>
</div>
</div>
</div>
</body>
</html>