canihazusername/website/index.html
2020-02-05 22:48:14 +01:00

37 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./main.css" />
</head>
<body>
<div id="main" class="w-100 h-100">
<div>
<h2 class="title is-2"><span>can</span>i<span>haz</span>username</h2>
<input id="format" class="input is-rounded" type="text" placeholder="format" value="{character}_{english}">
<br /><br />
<button id="button" class="button is-link is-rounded">👇 Generate 👇</button>
<br /><br />
<input id="username" class="input is-rounded" type="text" placeholder="" readonly>
<br /><br />
<div class="content">
<a target="blank" href="https://github.com/cupcakearmy/canihazusername">
<button id="button" class="button is-link is-rounded">🔗 Github & Docs 🔗</button>
</a>
<br /><br />
<pre>yarn add canihazusername</pre>
<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>
</div>
<script src="./main.ts"></script>
</body>
</html>