canihazusername/website/index.html

37 lines
1.3 KiB
HTML
Raw Normal View History

2020-02-05 20:21:51 +00:00
<!DOCTYPE html>
<html>
2020-02-05 21:48:14 +00:00
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./main.css" />
</head>
2020-02-05 20:21:51 +00:00
<body>
2020-02-05 21:48:14 +00:00
<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>
2020-02-05 20:21:51 +00:00
<script src="./main.ts"></script>
</body>
</html>