-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (80 loc) · 2.55 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
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cats</title>
<script src="./js/main.js" defer type="module"></script>
<link rel="stylesheet" href="./css/style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Bungee&family=Roboto:ital,wght@0,400;0,700;1,400;1,700&display=swap"
rel="stylesheet"
/>
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self';
img-src 'self' https://* *.thecatapi.com;
script-src 'self' 'unsafe-inline';
style-src 'self' 'unsafe-inline' *.googleapis.com;
font-src 'self' fonts.gstatic.com;
connect-src 'self' *.thecatapi.com;"
/>
</head>
<body>
<header class="header">
<div class="container">
<section class="search--container">
<label for="categories" class="search--label"
>Select a category</label
>
<select
name="categories"
id="categories"
class="search--category--select"
>
<option>Loading..</option>
</select>
</section>
</div>
</header>
<main class="main">
<div class="container">
<section class="error--container"></section>
<section class="result--container">
<h1 class="result-title">Cats, cats, cats</h1>
<section class="cat-card-container">
<!--
<div class="cat-card">
<img
src="https://cdn2.thecatapi.com/images/9v.jpg"
alt="A cat named June"
class="cat-image"
/>
<div class="cat-name-container">
<h3 class="cat-name">June</h3>
</div>
</div>
-->
</section>
</section>
</div>
</main>
<div class="overlay">
<div class="overlay-content">
<h1 class="overlay-header">Fetching...</h1>
<div class="loader-circle-wrap">
<svg
class="loader-spinner"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 72 72"
>
<circle cx="36" cy="36" r="32" stroke-miterlimit="10" />
</svg>
</div>
</div>
</div>
</body>
</html>