-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (63 loc) · 2.15 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bellroy challenge</title>
<link rel="preload" href="./index.css" as="style" />
<link rel="preload" href="./index.js" as="script" />
<link rel="stylesheet" href="./index.css" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
rel="preload"
href="https://fonts.gstatic.com/s/lato/v24/S6uyw4BMUTPHjx4wXiWtFCc.woff2"
as="font"
type="font/woff2"
crossorigin
/>
<link rel="stylesheet" href="./assets/font.css" />
</head>
<body style="margin: 0">
<div style="height: 100vh; display: flex; flex-direction: column">
<div class="br-header">
Use the buttons provided or "M" and "R" keys to move your owl friend.
</div>
<main
style="padding: 1rem; display: flex; flex-direction: column; flex: 1"
>
<div class="br-board-container" style="margin: auto auto 2em">
<div
class="br-board"
title="When not focused on control buttons, hit Spacebar to rotate and Up to move forward"
></div>
<div class="br-robot">
<img
src="./assets/owl-icon.svg"
alt="Robot avatar from the top down view"
class="face"
/>
</div>
</div>
<div class="br-controls-container" style="margin: 2rem auto auto">
<button type="button" class="br-control br-control-move">
Move forward (M)
</button>
<button type="button" class="br-control br-control-rotate">
Rotate (R)
</button>
</div>
</main>
<div class="br-footer" style="flex: none">
<div class="br-avatar-container">
<!-- Credit: https://emojis.sh/emoji/an-owl-in-a-hat-qgynq6jARB -->
<img
src="./assets/owl-avatar.avif"
alt="Owl avatar"
class="br-avatar"
/>
</div>
</div>
</div>
<script type="text/javascript" src="./index.js" defer></script>
</body>
</html>