-
Notifications
You must be signed in to change notification settings - Fork 0
/
country.html
50 lines (45 loc) · 2.17 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
<!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>country</title>
<link rel="stylesheet" href="./dist/styles.css">
</head>
<body class=" light-mode mode bg-gray-100 text-gray-700 dark:text-gray-200 dark:bg-gray-900">
<!-- The nav bar -->
<nav class="nav py-6 px-4 shadow-md light-mode mode bg-white text-gray-700 dark:text-gray-300 dark:bg-gray-800">
<div class="box flex justify-between items-center">
<div id="nav" class="md:text-xl font-bold">Where in the world now?</div>
<button id="dark-mode-btn" class=" text-sm lg:text-base flex items-center gap-x-1">
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z" />
</svg>
<p class="">dark mode</p>
</button>
</div>
</nav>
<!-- THe back button -->
<div class="px-4 mt-12">
<div class="box">
<a href="index.html" class="inline-flex justify-between items-center px-5 py-2 gap-x-3 shadow-lg rounded-lg bg-white dark:bg-gray-800">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 -ml-1.5" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M10 19l-7-7m0 0l7-7m-7 7h18" />
</svg>
<p class="text-semibold text-sm uppercase">back</p>
</a>
</div>
</div>
<!-- The countries details div -->
<div class="px-4 mt-20">
<div id="country-details" class="box grid md:grid-cols-2 md:gap-8 lg:gap-16 xl:gap-x-32 gap-y-12 md:gap-y-0 ">
</div>
</div>
<!-- The javaScript links -->
<script src="./func.js"></script>
<script src="./easyHttp3.js"></script>
<script src="./ui.js"></script>
<script src="./app.js"></script>
</body>
</html>