canihazusername/demo/index.html

41 lines
1.4 KiB
HTML
Raw Permalink Normal View History

2021-03-15 18:14:19 +01:00
<!DOCTYPE html>
<html>
<head>
<title>canihazusername</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
2023-07-12 23:05:30 +02:00
<meta charset="utf-8" />
2021-03-15 18:14:19 +01:00
<link rel="stylesheet" href="./main.css" />
</head>
<body>
<main class="w-100 h-100">
<div>
<h1 class="title is-2"><span>CAN</span>I<span>HAZ</span>USERNAME</h1>
<div class="content mt-6">
<h2>Demo</h2>
<input id="format" class="input is-rounded" type="text" placeholder="format" value="{character}_{english}" />
<button id="button" class="button is-link is-rounded my-2">👇 Generate 👇</button>
<input id="username" class="input is-rounded" type="text" placeholder="" readonly />
</div>
<div class="content mt-6">
<h2>Quickstart</h2>
<a target="blank" href="https://github.com/cupcakearmy/canihazusername">
<button id="button" class="button is-link is-rounded is-fullwidth mb-3">🔗 Github & Docs 🔗</button>
</a>
2023-07-12 23:05:30 +02:00
<pre>pnpm i canihazusername</pre>
2021-03-15 18:14:19 +01:00
<pre>
import { generate } from 'canihazusername'
generate('{character}_{english}')</pre
>
</div>
<div class="content">
<h5 class="title is-5">Available lists</h5>
<p id="lists"></p>
</div>
</div>
</main>
2021-11-02 18:02:21 +01:00
<script type="module" src="./main.ts"></script>
2021-03-15 18:14:19 +01:00
</body>
</html>