-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcountry.html
109 lines (100 loc) · 5.55 KB
/
country.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Where in the world?</title>
<link rel="icon" type="image/x-icon" href="./media/favico.svg">
<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=Nunito+Sans:wght@300;600;800&display=swap" rel="stylesheet">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@48,400,0,0" />
<script src="https://cdn.tailwindcss.com"></script>
<script src="tailwind.config.js"></script>
<link rel="stylesheet" href="./css/style.css">
</head>
<body class="bg-gray-100 text-black dark:bg-gray-700 dark:text-white">
<header class="bg-white relative text-black dark:bg-gray-800 dark:text-white shadow-md">
<nav class="container flex justify-between items-center mx-auto py-4">
<a class="text-xl md:text-2xl font-extrabold p-2" href="./index.html">Where in the world?</a>
<div class="group relative cursor-pointertext-black bg-white
dark:bg-gray-800 dark:text-white rounded-lg flex align-center">
<button type="button" class="hover:bg-gray-100 focus:bg-gray-100 active:bg-gray-200 dark:hover:bg-gray-700 dark:focus:bg-gray-700
dark:active:bg-gray-600 rounded-lg font-semibold p-2 flex items-center"
data-dropdown-toggle="dark-menu-dropdown" id="dark-menu-button">
<span class="material-symbols-rounded mr-1" aria-hidden="true">
dark_mode
</span>
Dark Mode
</button>
<ul class="group-items w-full absolute inset-x-0 mt-1 before:content['']
before:absolute hidden before:inline-block before:-top-2 before:bottom-0 before:w-full before:h-2
top-full rounded-lg text-black bg-white dark:bg-gray-800 border-solid
border-2 border-gray-300 dark:border-gray-500 dark:text-white shadow-lg py-4 z-10" role="menu"
aria-labelledby="dark-menu-button" tabindex="-1" aria-orientation="vertical" id="dark-menu-dropdown">
<li class="px-4 py-1 text-black bg-white dark:bg-gray-800
dark:text-white hover:bg-gray-100 focus:bg-gray-100 active:bg-gray-200 dark:hover:bg-gray-700 dark:focus:bg-gray-700
dark:active:bg-gray-600 select-none" onclick="setThemeLight()">
Light
</li>
<li class="px-4 py-1 text-black bg-white dark:bg-gray-800
dark:text-white hover:bg-gray-100 focus:bg-gray-100 active:bg-gray-200 dark:hover:bg-gray-700 dark:focus:bg-gray-700
dark:active:bg-gray-600 select-none" onclick="setThemeDark()">
Dark
</li>
<li class="px-4 py-1 text-black bg-white dark:bg-gray-800
dark:text-white hover:bg-gray-100 focus:bg-gray-100 active:bg-gray-200 dark:hover:bg-gray-700 dark:focus:bg-gray-700
dark:active:bg-gray-600 select-none" onclick="setThemePrefered()">
System
</li>
</ul>
</div>
</nav>
</header>
<main class="bg-gray-100 text-black dark:bg-gray-700 dark:text-white py-8">
<div class="container flex justify-between flex-row flex-wrap">
<a class="flex py-4 px-10 bg-white hover:outline focus:outline active:outline text-black hover:outline-gray-200 focus:outline-gray-200 active:bg-gray-100 active:outline-gray-200
dark:hover:outline-gray-600 dark:focus:outline-gray-600 dark:active:bg-gray-600 dark:active:outline-gray-500 dark:bg-gray-800 dark:text-white rounded-lg shadow-lg"
href="./index.html">
<span class="material-symbols-rounded pr-3">
arrow_back
</span>
Back to Home
</a>
</div>
<div class="container py-10 grid grid-cols-1 xl:grid-cols-2 gap-24" id="details">
<div>
<div class="bg-gray-200 dark:bg-gray-500 animate-pulse rounded drop-shadow-lg w-full h-64 sm:h-96 xl:h-full">
</div>
</div>
<div class="py-5">
<div class="bg-gray-200 dark:bg-gray-500 rounded-lg animate-pulse w-2/3 h-8"></div>
<section class="flex w-full flex-col md:flex-row justify-between py-5">
<div class="my-4">
<div class="bg-gray-200 dark:bg-gray-500 rounded animate-pulse my-1 w-48 h-4"></div>
<div class="bg-gray-200 dark:bg-gray-500 rounded animate-pulse my-1 w-48 h-4"></div>
<div class="bg-gray-200 dark:bg-gray-500 rounded animate-pulse my-1 w-48 h-4"></div>
<div class="bg-gray-200 dark:bg-gray-500 rounded animate-pulse my-1 w-48 h-4"></div>
<div class="bg-gray-200 dark:bg-gray-500 rounded animate-pulse my-1 w-48 h-4"></div>
</div>
<div class="my-4">
<div class="bg-gray-200 dark:bg-gray-500 rounded animate-pulse my-1 w-48 h-4"></div>
<div class="bg-gray-200 dark:bg-gray-500 rounded animate-pulse my-1 w-48 h-4"></div>
<div class="bg-gray-200 dark:bg-gray-500 rounded animate-pulse my-1 w-48 h-4"></div>
<div class="bg-gray-200 dark:bg-gray-500 rounded animate-pulse my-1 w-48 h-4"></div>
<div class="bg-gray-200 dark:bg-gray-500 rounded animate-pulse my-1 w-48 h-4"></div>
</div>
</section>
<section>
<div class="bg-gray-200 dark:bg-gray-500 rounded-lg animate-pulse my-10 w-full h-10">
</div>
</section>
</div>
</div>
</main>
<script src="./js/dropdown.js"></script>
<script src="./js/dark.js"></script>
<script src="./js/details.js"></script>
</body>
</html>