splitmate-bill-splitter-app / new-split.html
Sharondias's picture
Please make the button works
288f6aa verified
Raw History Blame Contribute Delete
3.09 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>New Split | SplitMate</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
</head>
<body class="bg-gray-50 min-h-screen">
<div class="container mx-auto px-4 py-8">
<header class="flex justify-between items-center mb-8">
<h1 class="text-3xl font-bold text-emerald-700 flex items-center gap-2">
<i data-feather="plus-circle" class="w-6 h-6"></i>
New Split
</h1>
<nav>
<ul class="flex gap-4">
<li><a href="/" class="text-gray-600 hover:text-emerald-600 transition">Home</a></li>
<li><a href="/about" class="text-gray-600 hover:text-emerald-600 transition">About</a></li>
<li><a href="/help" class="text-gray-600 hover:text-emerald-600 transition">Help</a></li>
</ul>
</nav>
</header>
<div class="bg-white rounded-xl shadow-lg p-8 max-w-2xl mx-auto">
<h2 class="text-2xl font-bold text-emerald-800 mb-6">Create New Expense Split</h2>
<form class="space-y-6">
<div>
<label for="splitName" class="block text-sm font-medium text-gray-700 mb-1">Split Name</label>
<input type="text" id="splitName" placeholder="e.g., Weekend Trip, Dinner Party"
class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-emerald-300 focus:border-emerald-500 transition text-gray-700">
</div>
<div>
<label for="splitDescription" class="block text-sm font-medium text-gray-700 mb-1">Description (optional)</label>
<textarea id="splitDescription" rows="3"
class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-emerald-300 focus:border-emerald-500 transition text-gray-700"></textarea>
</div>
<div class="pt-4 border-t border-gray-200">
<button type="button" onclick="window.location.href='/'" class="bg-emerald-500 hover:bg-emerald-600 text-white font-bold py-3 px-10 rounded-lg text-lg shadow-md hover:shadow-lg transition-all duration-300 flex items-center gap-2">
<i data-feather="plus" class="w-5 h-5"></i>
Create Split
</button>
</div>
</form>
</div>
<footer class="mt-16 py-6 border-t border-gray-200">
<div class="container mx-auto px-4 text-center text-gray-500 text-sm">
<p>© 2023 SplitMate. All rights reserved.</p>
</div>
</footer>
</div>
<script>
feather.replace();
</script>
</body>
</html>