-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (63 loc) · 3.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
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/typed.js@2.1.0/dist/typed.umd.js"></script>
<script src="dist/typed.js" defer></script>
<script type="module" src="dist/app.js" defer></script>
<meta property="og:title" content="Minimalist Weather Forecast"/>
<meta property="og:description" content="A minimalist version of the Weather App. Built with Typescript and Tailwind"/>
<meta property="og:url" content="https://alvarado08.github.io/weather-app/"/>
<meta property="og:image" content="https://raw.githubusercontent.com/Alvarado08/weather-app/main/demo.png"/>
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="Weather Forecast">
<meta property="twitter:url" content="https://alvarado08.github.io/weather-app/">
<meta name="twitter:title" content="Minimalist Weather Forecast">
<meta name="twitter:description" content="A minimalist version of the Weather App. Built with Typescript and Tailwind">
<meta name="twitter:image" content="https://raw.githubusercontent.com/Alvarado08/weather-app/main/demo.png">
<title>Weather Forecast</title>
<style>
.typed-cursor {
color: #1F1D1B;
margin-left: 10px;
font-size: 2em;
}
</style>
</head>
<body class="bg-[#E0E2E4]">
<div class="flex items-center justify-center min-h-screen">
<main class="flex flex-col p-5 gap-5 w-full max-w-3xl">
<div id="typed-strings" class="hidden">
<p>Weather Forecast</p>
<p>Weather in London</p>
<p>Weather in Tokyo</p>
<p>Weather in Paris</p>
<p>Weather Forecast</p>
</div>
<div class="flex items-center justify-center">
<h1 id="title" class="text-3xl sm:text-4xl md:text-5xl text-[#1F1D1B] font-bold mb-2"></h1>
</div>
<section id="search" class="flex items-center justify-center gap-3 w-full mb-3">
<div class="relative w-full max-w-xs">
<input
type="text"
class="w-full max-w-xs p-2 outline-none text-[#1F1D1B] bg-transparent backdrop-blur-sm border border-[#1F1D1B]/50 rounded focus:border-[#1F1D1B] text-[#1F1D1B] transition-colors delay-150 duration-200 ease-in-out"
placeholder="Search city">
<span id="error" class="absolute -bottom-6 inset-x-0 text-red-500 text-sm"></span>
</div>
<button class="group text-[#1F1D1B] hover:text-[#1F1D1B]/50 transition-colors delay-100 duration-150 ease-in-out font-semibold">
<svg xmlns="http://www.w3.org/2000/svg" class="group-hover:scale-110 transition-transform delay-100 duration-150 ease-in-out" width="28" height="28" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M18.064 10.877l-4.89 -7.26c-.42 -.625 -1.287 -.803 -1.936 -.397a1.376 1.376 0 0 0 -.41 .397l-4.893 7.26c-1.695 2.838 -1.035 6.441 1.567 8.546a7.13 7.13 0 0 0 4.168 1.572" />
<path d="M18 18m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0" />
<path d="M20.2 20.2l1.8 1.8" />
</svg>
</button>
</section>
<section id="weather"></section>
</main>
</div>
</body>
</html>