-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (48 loc) · 2.58 KB
/
index.html
File metadata and controls
49 lines (48 loc) · 2.58 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Image Search</title>
<script src="https://cdn.tailwindcss.com"></script>
<script
type="module"
src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.esm.js"
></script>
<script
nomodule
src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.js"
></script>
</head>
<body class="flex flex-col items-center justify-start bg-gray-50 dark:bg-black">
<div class="w-screen flex flex-col h-[35rem] justify-center items-center bg-[url(wallpaperflare.com_wallpaper.jpg)] bg-bottom bg-cover">
<div class="flex flex-col items-center justify-center w-full px-4">
<div class="flex items-center justify-center w-auto gap-5 mb-6">
<ion-icon name="images" class="text-amber-50 md:size-14 size-10 md hydrated" role="img"></ion-icon>
<h1 class="text-2xl font-bold text-gray-800 md:text-4xl dark:text-gray-100">
Imaze
</h1>
</div>
<form class="relative w-80 md:w-96" id="searchBox">
<input id="searchText" type="text" placeholder="Search for images..." class="w-full p-3 border border-gray-300 rounded-lg shadow-sm dark:border-gray-700 focus:outline-none focus:ring-2 focus:ring-purple-500 dark:bg-gray-800 dark:text-gray-100">
<button id="searchButton" class="absolute px-4 text-white bg-purple-600 rounded-lg right-2 top-2 bottom-2 hover:bg-purple-700 dark:bg-purple-500 dark:hover:bg-purple-600">
<p class="hidden md:block">Search</p>
<ion-icon name="search-sharp" role="img" class="md:hidden md hydrated"></ion-icon>
</button>
</form>
</div>
</div>
<div class="flex flex-col items-center justify-center w-screen px-4 mt-24 text-gray-500 dark:text-gray-400 " id="gallery">
<ion-icon name="desktop" class="text-gray-500 min-w-auto dark:text-gray-400 md:size-12 size-8 md hydrated" role="img"></ion-icon>
<p class="mt-4 text-base text-center sm:text-lg">
Enter a search term to find images
</p>
</div>
<div id="pageNav" class="flex flex-row gap-24 my-6 justify-evenly md:gap-52">
<ion-icon name="chevron-back" id="backward" class="text-4xl dark:text-gray-400 md hydrated" role="img"></ion-icon>
<div id="pgno" class="text-2xl dark:text-gray-400"></div>
<ion-icon name="chevron-forward" id="forward" class="text-4xl dark:text-gray-400 md hydrated" role="img"></ion-icon>
</div>
<script src="script.js"></script>
</body>
</html>