-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSimple Tailwind.html
More file actions
52 lines (49 loc) · 2.44 KB
/
Simple Tailwind.html
File metadata and controls
52 lines (49 loc) · 2.44 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
50
51
52
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Tailwind Layout</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-100 flex items-center justify-center min-h-screen">
<!-- Main Container -->
<main class="flex w-96 mx-auto">
<!-- Left Section -->
<div class="bg-slate-400 w-1/2 h-96 flex flex-col items-center justify-center text-white">
<div class="text-center">
<!-- Logo -->
<div class="bg-purple-600 w-12 h-12 rounded-full flex items-center justify-center text-white font-bold mb-4">DW</div>
<h1 class="text-lg font-bold">DashWind</h1>
<p class="text-sm mt-2">Admin Dashboard Starter Kit</p>
<ul class="mt-4 text-xs space-y-1">
<li>✔️ Light/dark mode toggle</li>
<li>✔️ Redux toolkit configured</li>
<li>✔️ User-friendly docs</li>
<li>✔️ Tailwind CSS support</li>
</ul>
</div>
</div>
<!-- Right Section -->
<div class="bg-white w-1/2 h-96 p-6">
<h2 class="text-xl font-bold text-gray-800 text-center mb-4">Register</h2>
<form class="space-y-4">
<div>
<label class="block text-sm font-bold mb-1">Name</label>
<input type="text" placeholder="Enter your name" class="w-full px-3 py-2 border border-gray-300 rounded-md">
</div>
<div>
<label class="block text-sm font-bold mb-1">Email</label>
<input type="email" placeholder="Enter your email" class="w-full px-3 py-2 border border-gray-300 rounded-md">
</div>
<div>
<label class="block text-sm font-bold mb-1">Password</label>
<input type="password" placeholder="Enter your password" class="w-full px-3 py-2 border border-gray-300 rounded-md">
</div>
<button type="submit" class="w-full py-2 bg-purple-600 text-white rounded-md hover:bg-purple-700">Register</button>
</form>
<p class="text-center text-sm mt-4">Already have an account? <a href="#" class="text-purple-500 hover:underline">Login</a></p>
</div>
</main>
</body>
</html>