status-indicator/index.html

53 lines
No EOL
1.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>status-indicator web component demo</title>
<script type="module" src="./src/status-indicator.ts"></script>
<style>
main {
padding: 1em;
}
</style>
</head>
<body>
<header>
<h1>&lt;status-indicator&gt;</h1>
<p>
<a href="https://git.ayo.run/ayo/status-indicator">Ayo's Forge</a> &middot;
<a href="https://github.com/ayo-run/status-indicator">GitHub</a> &middot;
<a href="https://git.sr.ht/~ayoayco/status-indicator">SourceHut</a>
</p>
</header>
<main>
<status-indicator status="positive">
All systems operational
</status-indicator>
<br />
<status-indicator status="negative">
Something's wrong
</status-indicator>
<br />
<status-indicator status="active">
It's just fine; carry on
</status-indicator>
<br />
<status-indicator>
Nothing matters
</status-indicator>
<br />
<status-indicator status="intermediary">
Slow down...
</status-indicator>
</main>
<footer>
<hr />
<p>
Just keep building.
<br>
A web component by <a href="">Ayo</a>.
</p>
</footer>
</body>
</html>