-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (37 loc) · 1.31 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
35
36
37
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Fridge Prose</title>
<script type="module" src="/src/index.ts"></script>
</head>
<body>
<app-board id="board"></app-board>
<app-menu>
<button data-action="modal" data-target="about">About</button>
</app-menu>
<app-drawer board="board"></app-drawer>
<app-modal class="hidden" id="about">
<div>
<h1>Fridge Prose</h1>
<p>
This is a silly little toy that turns the
<a href="https://github.com/orgtre/top-open-subtitles-sentences"
>Top OpenSubtitles Sentences</a
>
dataset into "fridge magnets". There's only 10,000 tiles to choose
from, which sounds like more than it is!
</p>
<p>
Use the input at the bottom to search for tiles, then drag them into
the area above to arrange them and build your masterpiece. Double
clicking produces a random tile. Selected tiles can be deleted with
<kbd>Backspace</kbd> or <kbd>Delete</kbd>. Drag while holding
<kbd>Shift</kbd> to disable snapping.
</p>
<button data-action="close">Get Started</button>
</div>
</app-modal>
</body>
</html>