-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (90 loc) · 5.2 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
84
85
86
87
88
89
90
91
92
93
94
<!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>Calendar</title>
<!-- Google Font - Inter -->
<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=Inter:wght@200;400;600;700;900&family=Open+Sans&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="dist/css/output.css" />
<style>
/* * {
border: 1px solid red !important;
} */
</style>
</head>
<!-- <body class="overscroll-none bg-splash17 bg-cover bg-no-repeat"> -->
<body class="overscroll-none bg-gradient-to-r from-blue-900 via-blue-500 to-violet-500 transition duration-1000">
<div id="welcome" class="absolute z-50 flex h-full w-full flex-col items-center justify-center bg-gradient-to-r from-blue-900 via-blue-500 to-violet-500 bg-cover bg-no-repeat opacity-100 transition duration-1000">
<div id="welcome-message" class="relative w-full">
<h1 id="emptyText" class="absolute top-10 w-full text-center text-7xl font-semibold text-white transition-transform duration-1000"></h1>
<h1 id="hello" class="absolute top-10 w-full animate-fade-in text-center text-7xl font-semibold text-white">Hello</h1>
<h1 id="ask-name" class="absolute top-10 hidden w-full animate-fade-and-shrink text-center text-7xl font-semibold text-white">What should I call you?</h1>
</div>
<div id="name-input" class="opacity-0">
<form class="flex flex-col">
<label for="name">
<input type="text" id="name" class="w-96 border-b-2 bg-transparent text-center text-7xl font-semibold text-white caret-white outline-none placeholder:text-lg placeholder:italic placeholder:text-slate-50" placeholder="Type your name here" autofocus />
</label>
<button type="submit" id="btn-go" class="mt-8 cursor-pointer rounded-lg border-2 border-white px-4 py-3 font-semibold text-white transition duration-1000 hover:scale-125 hover:bg-cyan-700 active:shadow-2xl">Let's go!</button>
</form>
</div>
</div>
<div id="main-content" class="container hidden">
<div id="bg-image1" class="absolute -z-50 h-full w-full bg-splash1 bg-cover bg-no-repeat opacity-0 transition duration-1000"></div>
<div id="bg-image2" class="absolute -z-50 h-full w-full bg-splash2 bg-cover bg-no-repeat opacity-0 transition duration-1000"></div>
<header class="w-full pt-3 pl-4 opacity-0 transition hover:opacity-90">
<button id="bg-change" class="text-lg transition hover:scale-125">🏞️</button>
</header>
<div class="monthly-view mx-auto mt-2 flex h-full w-full items-center justify-center">
<div class="container flex h-[34.5rem] w-full justify-center">
<div id="todo-section" class="w-96 p-6">
<div class="mx-auto h-full w-full overflow-hidden rounded-xl p-5 opacity-0 drop-shadow-md backdrop-blur-3xl backdrop-brightness-90 transition duration-500 hover:scale-105 hover:shadow-lg" id="todo-card">
<h1 class="mb-6 text-2xl font-bold text-white">To Do List</h1>
<hr />
<ul id="todo-list">
<li>Lorem ipsum dolor sit amet.</li>
<li>Lorem ipsum dolor sit amet consectetur adipisicing elit.</li>
<li>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Earum illo asperiores ex!</li>
<li>Lorem ipsum dolor sit amet consectetur adipisicing elit. Blanditiis, officia optio!</li>
<li>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Minus, perferendis.</li>
</ul>
</div>
</div>
<div class="flex w-[48rem] flex-col justify-between p-6">
<!-- calendar -->
<div class="mx-auto flex w-full flex-col items-end overflow-hidden rounded-xl p-5 opacity-0 drop-shadow-md backdrop-blur-3xl backdrop-brightness-90 transition duration-500 hover:scale-105 hover:shadow-lg" id="monthly-view">
<h1 id="monthName" class="mb-6 inline-block cursor-pointer text-4xl font-bold text-white transition hover:scale-125">January</h1>
<table id="monthly" class="w-full">
<thead>
<tr>
<th>Sun</th>
<th>Mon</th>
<th>Tue</th>
<th>Wed</th>
<th>Thu</th>
<th>Fri</th>
<th>Sat</th>
</tr>
</thead>
<tbody id="dateList"></tbody>
</table>
</div>
<!-- quote -->
<div class="group mx-auto flex h-16 w-full items-center overflow-hidden rounded-xl py-3 opacity-0 drop-shadow-md backdrop-blur-3xl backdrop-brightness-90 transition duration-500 hover:scale-105 hover:shadow-lg" id="quote-view">
<h4 id="quoteText" class="absolute w-full text-center text-sm text-white opacity-0 transition duration-1000 group-hover:-translate-y-1"></h4>
<h4 id="quoteAuthor" class="absolute w-full text-center text-sm text-white opacity-0 transition duration-1000 group-hover:translate-y-3 group-hover:opacity-50">
<span id="authorName"></span>
<div id="refreshQuote" class="inline-block rotate-90 skew-x-12 cursor-pointer p-6">🔃</div>
</h4>
</div>
</div>
</div>
</div>
</div>
<script src="dist/js/script.js"></script>
</body>
</html>