-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathroot.html
More file actions
98 lines (91 loc) · 5.07 KB
/
Copy pathroot.html
File metadata and controls
98 lines (91 loc) · 5.07 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
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
95
96
97
98
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Checkout Page</title>
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
</head>
<body class="bg-gray-50">
<div class="max-w-5xl mx-auto py-10 px-4 sm:px-6 lg:px-8">
<!-- Responsive Grid Layout -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-12">
<!-- Left Column: Billing, Delivery, Payment -->
<div class="lg:col-span-2 space-y-12">
<!-- Billing Address Section -->
<div class="bg-white rounded-2xl shadow-2xl p-8">
<h2 class="text-xl font-semibold text-gray-800 mb-8">Billing Address</h2>
<form class="space-y-8">
<div class="grid grid-cols-1 sm:grid-cols-2 gap-8">
<div>
<label for="first-name" class="block text-sm font-medium text-gray-600">First Name</label>
<input type="text" id="first-name" name="first-name"
class="mt-3 block w-full rounded-lg border-gray-300 shadow-sm focus:ring-blue-600 focus:border-blue-600 text-sm sm:text-base">
</div>
<div>
<label for="last-name" class="block text-sm font-medium text-gray-600">Last Name</label>
<input type="text" id="last-name" name="last-name"
class="mt-3 block w-full rounded-lg border-gray-300 shadow-sm focus:ring-blue-600 focus:border-blue-600 text-sm sm:text-base">
</div>
</div>
</form>
</div>
<!-- Delivery Address Section -->
<div class="bg-white rounded-2xl shadow-2xl p-8">
<h2 class="text-xl font-semibold text-gray-800 mb-8">Delivery Address</h2>
<!-- Delivery form fields -->
</div>
<!-- Payment Details Section -->
<div class="bg-white rounded-2xl shadow-2xl p-8">
<h2 class="text-xl font-semibold text-gray-800 mb-8">Payment Details</h2>
<!-- Payment options -->
</div>
</div>
<!-- Right Column: Order Summary -->
<div class="bg-white rounded-2xl shadow-2xl p-8">
<h2 class="text-xl font-semibold text-gray-800 mb-8">Order Summary</h2>
<div class="space-y-6">
<!-- Order item example -->
<div class="flex justify-between text-sm sm:text-base">
<span class="text-gray-700">PC system All in One APPLE iMac (2023)</span>
<span class="text-gray-900 font-medium">$1,499</span>
</div>
<!-- Repeat for other items -->
<!-- Summary Section -->
<div class="border-t border-gray-200 pt-8">
<div class="flex justify-between text-sm sm:text-base">
<span class="text-gray-900 font-semibold">Subtotal</span>
<span class="font-bold text-gray-900">$7,000.00</span>
</div>
<div class="flex justify-between text-sm sm:text-base">
<span class="text-gray-900 font-semibold">Savings</span>
<span class="font-bold text-gray-900">$0</span>
</div>
<div class="flex justify-between text-sm sm:text-base">
<span class="text-gray-900 font-semibold">Store Pickup
</span>
<span class="font-bold text-gray-900">$50</span>
</div>
<div class="flex justify-between text-sm sm:text-base">
<span class="text-gray-900 font-semibold">Tax</span>
<span class="font-bold text-gray-900">$199.00</span>
</div>
<div class="flex justify-between text-sm sm:text-base">
<span class="text-gray-900 font-semibold">Total</span>
<span class="font-bold text-gray-900">$7,249.00</span>
</div>
</div>
</div>
<div class="mt-10">
<button
class="w-full bg-blue-600 text-white py-4 rounded-xl shadow-xl hover:bg-blue-700 transition duration-150 ease-in-out text-lg font-semibold">Continue
to Payment</button>
</div>
<div class="mt-6 text-center text-sm">
<a href="#" class="text-blue-600 hover:underline">Return to Shopping</a>
</div>
</div>
</div>
</div>
</body>
</html>