-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathindex.html
52 lines (52 loc) · 1.61 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>FOOD FIGHT: Country Edition</title>
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.4.6/css/flag-icon.min.css"
integrity="sha256-YjcCvXkdRVOucibC9I4mBS41lXPrWfqY2BnpskhZPnw="
crossorigin="anonymous"
/>
<link rel="stylesheet" href="src/styles.css" />
</head>
<body>
<main class="container" id="app">
<h1 class="text-center">FOOD FIGHT: Country Edition</h1>
<div>
<div
class="card team-card"
style="width: 80px;"
v-for="team in teamsByCount"
:style="{
top: `${team.location.y}px`,
left: `${team.location.x}px`
}"
>
<div class="card-body team">
<span
class="flag-bg flag-icon flag-icon-squared"
:class="{
[`flag-icon-${team.code}`]: true,
}"
></span>
<div>
<h5 class="team-code">{{team.code}}</h5>
<h6 class="mb-2 text-muted">({{team.count}})</h6>
</div>
</div>
</div>
</div>
</main>
<script src="src/tmi.min.js"></script>
<script src="src/app.js" type="module"></script>
</body>
</html>