Add 3 files
Browse files- README.md +7 -5
- index.html +757 -19
- prompts.txt +1 -0
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: static
|
7 |
pinned: false
|
|
|
|
|
8 |
---
|
9 |
|
10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: build-web4-payment-billing
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: purple
|
5 |
+
colorTo: gray
|
6 |
sdk: static
|
7 |
pinned: false
|
8 |
+
tags:
|
9 |
+
- deepsite
|
10 |
---
|
11 |
|
12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
@@ -1,19 +1,757 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Build.Web4 - Membership & Billing</title>
|
7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
9 |
+
<style>
|
10 |
+
.neumorphic {
|
11 |
+
box-shadow: 8px 8px 16px #0f172a,
|
12 |
+
-8px -8px 16px #1e293b;
|
13 |
+
}
|
14 |
+
.neumorphic-inset {
|
15 |
+
box-shadow: inset 4px 4px 8px #0f172a,
|
16 |
+
inset -4px -4px 8px #1e293b;
|
17 |
+
}
|
18 |
+
.plan-card {
|
19 |
+
transition: all 0.3s ease;
|
20 |
+
}
|
21 |
+
.plan-card:hover {
|
22 |
+
transform: translateY(-5px);
|
23 |
+
}
|
24 |
+
.selected-plan {
|
25 |
+
border: 2px solid #3b82f6;
|
26 |
+
background-color: rgba(59, 130, 246, 0.1);
|
27 |
+
}
|
28 |
+
.tab-active {
|
29 |
+
border-bottom: 3px solid #3b82f6;
|
30 |
+
color: #3b82f6;
|
31 |
+
}
|
32 |
+
.slide-fade-enter-active {
|
33 |
+
transition: all 0.3s ease;
|
34 |
+
}
|
35 |
+
.slide-fade-leave-active {
|
36 |
+
transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
|
37 |
+
}
|
38 |
+
.slide-fade-enter-from,
|
39 |
+
.slide-fade-leave-to {
|
40 |
+
transform: translateX(20px);
|
41 |
+
opacity: 0;
|
42 |
+
}
|
43 |
+
</style>
|
44 |
+
</head>
|
45 |
+
<body class="bg-slate-900 text-gray-100 min-h-screen">
|
46 |
+
<div class="container mx-auto px-4 py-12">
|
47 |
+
<!-- Header -->
|
48 |
+
<header class="text-center mb-12">
|
49 |
+
<h1 class="text-4xl font-bold mb-2 bg-gradient-to-r from-blue-400 to-blue-600 text-transparent bg-clip-text">Build.Web4</h1>
|
50 |
+
<p class="text-lg text-blue-300">Membership, Payment & Billing Portal</p>
|
51 |
+
</header>
|
52 |
+
|
53 |
+
<div class="max-w-6xl mx-auto">
|
54 |
+
<!-- Progress Steps -->
|
55 |
+
<div class="flex justify-between mb-12 relative">
|
56 |
+
<div class="absolute top-1/2 left-0 right-0 h-1 bg-slate-800 -z-10"></div>
|
57 |
+
<div class="step flex flex-col items-center" id="step1">
|
58 |
+
<div class="w-12 h-12 rounded-full bg-blue-600 flex items-center justify-center mb-2">
|
59 |
+
<span class="text-white font-bold">1</span>
|
60 |
+
</div>
|
61 |
+
<span class="text-sm">Registration</span>
|
62 |
+
</div>
|
63 |
+
<div class="step flex flex-col items-center" id="step2">
|
64 |
+
<div class="w-12 h-12 rounded-full bg-slate-700 flex items-center justify-center mb-2">
|
65 |
+
<span class="text-white font-bold">2</span>
|
66 |
+
</div>
|
67 |
+
<span class="text-sm text-slate-400">Plan Selection</span>
|
68 |
+
</div>
|
69 |
+
<div class="step flex flex-col items-center" id="step3">
|
70 |
+
<div class="w-12 h-12 rounded-full bg-slate-700 flex items-center justify-center mb-2">
|
71 |
+
<span class="text-white font-bold">3</span>
|
72 |
+
</div>
|
73 |
+
<span class="text-sm text-slate-400">Payment</span>
|
74 |
+
</div>
|
75 |
+
<div class="step flex flex-col items-center" id="step4">
|
76 |
+
<div class="w-12 h-12 rounded-full bg-slate-700 flex items-center justify-center mb-2">
|
77 |
+
<span class="text-white font-bold">4</span>
|
78 |
+
</div>
|
79 |
+
<span class="text-sm text-slate-400">Confirmation</span>
|
80 |
+
</div>
|
81 |
+
</div>
|
82 |
+
|
83 |
+
<!-- Main Content -->
|
84 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
85 |
+
<!-- Registration Form -->
|
86 |
+
<div class="lg:col-span-2 bg-slate-800 rounded-xl p-8 neumorphic" id="registrationForm">
|
87 |
+
<h2 class="text-2xl font-bold mb-6">Member Registration</h2>
|
88 |
+
|
89 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
90 |
+
<div>
|
91 |
+
<label class="block text-sm font-medium mb-2">Full Name</label>
|
92 |
+
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
93 |
+
</div>
|
94 |
+
<div>
|
95 |
+
<label class="block text-sm font-medium mb-2">Professional Title</label>
|
96 |
+
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
97 |
+
</div>
|
98 |
+
<div>
|
99 |
+
<label class="block text-sm font-medium mb-2">Country</label>
|
100 |
+
<select class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
101 |
+
<option>Select Country</option>
|
102 |
+
<option>United States</option>
|
103 |
+
<option>United Kingdom</option>
|
104 |
+
<option>Canada</option>
|
105 |
+
<option>Australia</option>
|
106 |
+
</select>
|
107 |
+
</div>
|
108 |
+
<div>
|
109 |
+
<label class="block text-sm font-medium mb-2">Region</label>
|
110 |
+
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
111 |
+
</div>
|
112 |
+
<div>
|
113 |
+
<label class="block text-sm font-medium mb-2">Company Name (Optional)</label>
|
114 |
+
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
115 |
+
</div>
|
116 |
+
<div>
|
117 |
+
<label class="block text-sm font-medium mb-2">Website URL (Optional)</label>
|
118 |
+
<input type="url" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
119 |
+
</div>
|
120 |
+
<div>
|
121 |
+
<label class="block text-sm font-medium mb-2">Email</label>
|
122 |
+
<input type="email" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
123 |
+
</div>
|
124 |
+
<div>
|
125 |
+
<label class="block text-sm font-medium mb-2">Phone Number</label>
|
126 |
+
<input type="tel" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
127 |
+
</div>
|
128 |
+
</div>
|
129 |
+
|
130 |
+
<div class="mt-8">
|
131 |
+
<h3 class="text-lg font-medium mb-4">Social Media Handles</h3>
|
132 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
133 |
+
<div class="flex items-center">
|
134 |
+
<span class="bg-slate-700 p-3 rounded-l-lg"><i class="fab fa-twitter"></i></span>
|
135 |
+
<input type="text" placeholder="@username" class="flex-1 px-4 py-3 bg-slate-700 rounded-r-lg focus:outline-none">
|
136 |
+
</div>
|
137 |
+
<div class="flex items-center">
|
138 |
+
<span class="bg-slate-700 p-3 rounded-l-lg"><i class="fab fa-linkedin"></i></span>
|
139 |
+
<input type="text" placeholder="linkedin.com/in/username" class="flex-1 px-4 py-3 bg-slate-700 rounded-r-lg focus:outline-none">
|
140 |
+
</div>
|
141 |
+
<div class="flex items-center">
|
142 |
+
<span class="bg-slate-700 p-3 rounded-l-lg"><i class="fab fa-github"></i></span>
|
143 |
+
<input type="text" placeholder="github.com/username" class="flex-1 px-4 py-3 bg-slate-700 rounded-r-lg focus:outline-none">
|
144 |
+
</div>
|
145 |
+
<div class="flex items-center">
|
146 |
+
<span class="bg-slate-700 p-3 rounded-l-lg"><i class="fab fa-instagram"></i></span>
|
147 |
+
<input type="text" placeholder="@username" class="flex-1 px-4 py-3 bg-slate-700 rounded-r-lg focus:outline-none">
|
148 |
+
</div>
|
149 |
+
</div>
|
150 |
+
</div>
|
151 |
+
|
152 |
+
<div class="mt-8">
|
153 |
+
<button id="nextToPlans" class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-4 rounded-lg transition duration-300">
|
154 |
+
Continue to Plan Selection
|
155 |
+
</button>
|
156 |
+
</div>
|
157 |
+
</div>
|
158 |
+
|
159 |
+
<!-- Plan Selection (Hidden Initially) -->
|
160 |
+
<div class="lg:col-span-2 bg-slate-800 rounded-xl p-8 neumorphic hidden" id="planSelection">
|
161 |
+
<h2 class="text-2xl font-bold mb-6">Select Your Membership Plan</h2>
|
162 |
+
|
163 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
|
164 |
+
<div class="plan-card bg-slate-800 p-6 rounded-xl neumorphic-inset cursor-pointer" data-plan="ai">
|
165 |
+
<div class="flex justify-between items-start mb-4">
|
166 |
+
<h3 class="text-xl font-bold">Build.AI.Tools</h3>
|
167 |
+
<span class="bg-blue-900 text-blue-300 px-3 py-1 rounded-full text-sm">Popular</span>
|
168 |
+
</div>
|
169 |
+
<p class="text-slate-400 mb-4">Access to all AI development tools and APIs</p>
|
170 |
+
<div class="text-3xl font-bold mb-4">$49<span class="text-lg text-slate-400">/month</span></div>
|
171 |
+
<ul class="space-y-2 mb-6">
|
172 |
+
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> 100 API calls/day</li>
|
173 |
+
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> GPT-4 integration</li>
|
174 |
+
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Custom model training</li>
|
175 |
+
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Analytics dashboard</li>
|
176 |
+
</ul>
|
177 |
+
<button class="w-full py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300 select-plan-btn">
|
178 |
+
Select Plan
|
179 |
+
</button>
|
180 |
+
</div>
|
181 |
+
<div class="plan-card bg-slate-800 p-6 rounded-xl neumorphic-inset cursor-pointer" data-plan="marketplace">
|
182 |
+
<h3 class="text-xl font-bold mb-4">Build.Marketplace</h3>
|
183 |
+
<p class="text-slate-400 mb-4">Complete e-commerce platform solutions</p>
|
184 |
+
<div class="text-3xl font-bold mb-4">$79<span class="text-lg text-slate-400">/month</span></div>
|
185 |
+
<ul class="space-y-2 mb-6">
|
186 |
+
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Unlimited products</li>
|
187 |
+
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Payment gateway integration</li>
|
188 |
+
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Inventory management</li>
|
189 |
+
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Customer analytics</li>
|
190 |
+
</ul>
|
191 |
+
<button class="w-full py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300 select-plan-btn">
|
192 |
+
Select Plan
|
193 |
+
</button>
|
194 |
+
</div>
|
195 |
+
<div class="plan-card bg-slate-800 p-6 rounded-xl neumorphic-inset cursor-pointer" data-plan="digitaltwin">
|
196 |
+
<h3 class="text-xl font-bold mb-4">Build.Digital Twin</h3>
|
197 |
+
<p class="text-slate-400 mb-4">Digital twin technology for IoT solutions</p>
|
198 |
+
<div class="text-3xl font-bold mb-4">$129<span class="text-lg text-slate-400">/month</span></div>
|
199 |
+
<ul class="space-y-2 mb-6">
|
200 |
+
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> 5 digital twin models</li>
|
201 |
+
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Real-time data sync</li>
|
202 |
+
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Predictive analytics</li>
|
203 |
+
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> 3D visualization</li>
|
204 |
+
</ul>
|
205 |
+
<button class="w-full py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300 select-plan-btn">
|
206 |
+
Select Plan
|
207 |
+
</button>
|
208 |
+
</div>
|
209 |
+
<div class="plan-card bg-slate-800 p-6 rounded-xl neumorphic-inset cursor-pointer" data-plan="iot">
|
210 |
+
<h3 class="text-xl font-bold mb-4">Build.IoT</h3>
|
211 |
+
<p class="text-slate-400 mb-4">Complete IoT device management platform</p>
|
212 |
+
<div class="text-3xl font-bold mb-4">$199<span class="text-lg text-slate-400">/month</span></div>
|
213 |
+
<ul class="space-y-2 mb-6">
|
214 |
+
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> 100 device connections</li>
|
215 |
+
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Edge computing</li>
|
216 |
+
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Data encryption</li>
|
217 |
+
<li class="flex items-center"><i class="fas fa-check-circle text-blue-500 mr-2"></i> Custom dashboards</li>
|
218 |
+
</ul>
|
219 |
+
<button class="w-full py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300 select-plan-btn">
|
220 |
+
Select Plan
|
221 |
+
</button>
|
222 |
+
</div>
|
223 |
+
</div>
|
224 |
+
|
225 |
+
<div class="flex justify-between mt-6">
|
226 |
+
<button id="backToRegistration" class="px-6 py-2 bg-slate-700 hover:bg-slate-600 rounded-lg transition duration-300">
|
227 |
+
<i class="fas fa-arrow-left mr-2"></i> Back
|
228 |
+
</button>
|
229 |
+
<button id="nextToPayment" class="px-6 py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300 hidden">
|
230 |
+
Continue to Payment <i class="fas fa-arrow-right ml-2"></i>
|
231 |
+
</button>
|
232 |
+
</div>
|
233 |
+
</div>
|
234 |
+
|
235 |
+
<!-- Payment Section (Hidden Initially) -->
|
236 |
+
<div class="lg:col-span-2 bg-slate-800 rounded-xl p-8 neumorphic hidden" id="paymentSection">
|
237 |
+
<h2 class="text-2xl font-bold mb-6">Payment Information</h2>
|
238 |
+
|
239 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
|
240 |
+
<!-- Payment Methods -->
|
241 |
+
<div>
|
242 |
+
<h3 class="text-lg font-medium mb-4">Payment Method</h3>
|
243 |
+
<div class="space-y-4">
|
244 |
+
<div class="flex items-center p-4 bg-slate-700 rounded-lg cursor-pointer border border-transparent hover:border-blue-500">
|
245 |
+
<input type="radio" name="paymentMethod" id="creditCard" class="mr-3" checked>
|
246 |
+
<label for="creditCard" class="flex-1 cursor-pointer">
|
247 |
+
<div class="flex items-center">
|
248 |
+
<i class="far fa-credit-card text-xl mr-3"></i>
|
249 |
+
<span>Credit/Debit Card</span>
|
250 |
+
</div>
|
251 |
+
</label>
|
252 |
+
</div>
|
253 |
+
<div class="flex items-center p-4 bg-slate-700 rounded-lg cursor-pointer border border-transparent hover:border-blue-500">
|
254 |
+
<input type="radio" name="paymentMethod" id="bankTransfer" class="mr-3">
|
255 |
+
<label for="bankTransfer" class="flex-1 cursor-pointer">
|
256 |
+
<div class="flex items-center">
|
257 |
+
<i class="fas fa-university text-xl mr-3"></i>
|
258 |
+
<span>Bank Transfer</span>
|
259 |
+
</div>
|
260 |
+
</label>
|
261 |
+
</div>
|
262 |
+
<div class="flex items-center p-4 bg-slate-700 rounded-lg cursor-pointer border border-transparent hover:border-blue-500">
|
263 |
+
<input type="radio" name="paymentMethod" id="ach" class="mr-3">
|
264 |
+
<label for="ach" class="flex-1 cursor-pointer">
|
265 |
+
<div class="flex items-center">
|
266 |
+
<i class="fas fa-exchange-alt text-xl mr-3"></i>
|
267 |
+
<span>ACH Payment</span>
|
268 |
+
</div>
|
269 |
+
</label>
|
270 |
+
</div>
|
271 |
+
</div>
|
272 |
+
|
273 |
+
<!-- Credit Card Form (Visible when credit card is selected) -->
|
274 |
+
<div id="creditCardForm" class="mt-6">
|
275 |
+
<div class="mb-4">
|
276 |
+
<label class="block text-sm font-medium mb-2">Card Number</label>
|
277 |
+
<div class="relative">
|
278 |
+
<input type="text" placeholder="1234 5678 9012 3456" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
279 |
+
<div class="absolute right-3 top-3 flex space-x-2">
|
280 |
+
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/visa/visa-original.svg" class="w-8 h-5" alt="Visa">
|
281 |
+
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/mastercard/mastercard-original.svg" class="w-8 h-5" alt="Mastercard">
|
282 |
+
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/apple/apple-original.svg" class="w-8 h-5" alt="Apple Pay">
|
283 |
+
</div>
|
284 |
+
</div>
|
285 |
+
</div>
|
286 |
+
<div class="grid grid-cols-2 gap-4 mb-4">
|
287 |
+
<div>
|
288 |
+
<label class="block text-sm font-medium mb-2">Expiry Date</label>
|
289 |
+
<input type="text" placeholder="MM/YY" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
290 |
+
</div>
|
291 |
+
<div>
|
292 |
+
<label class="block text-sm font-medium mb-2">CVV</label>
|
293 |
+
<input type="text" placeholder="123" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
294 |
+
</div>
|
295 |
+
</div>
|
296 |
+
<div>
|
297 |
+
<label class="block text-sm font-medium mb-2">Name on Card</label>
|
298 |
+
<input type="text" placeholder="John Doe" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
299 |
+
</div>
|
300 |
+
</div>
|
301 |
+
|
302 |
+
<!-- Bank Transfer Form (Hidden initially) -->
|
303 |
+
<div id="bankTransferForm" class="mt-6 hidden">
|
304 |
+
<div class="mb-4">
|
305 |
+
<label class="block text-sm font-medium mb-2">Bank Name</label>
|
306 |
+
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
307 |
+
</div>
|
308 |
+
<div class="mb-4">
|
309 |
+
<label class="block text-sm font-medium mb-2">Account Number</label>
|
310 |
+
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
311 |
+
</div>
|
312 |
+
<div class="mb-4">
|
313 |
+
<label class="block text-sm font-medium mb-2">Routing Number</label>
|
314 |
+
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
315 |
+
</div>
|
316 |
+
</div>
|
317 |
+
|
318 |
+
<!-- ACH Form (Hidden initially) -->
|
319 |
+
<div id="achForm" class="mt-6 hidden">
|
320 |
+
<div class="mb-4">
|
321 |
+
<label class="block text-sm font-medium mb-2">Account Type</label>
|
322 |
+
<select class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
323 |
+
<option>Checking</option>
|
324 |
+
<option>Savings</option>
|
325 |
+
</select>
|
326 |
+
</div>
|
327 |
+
<div class="mb-4">
|
328 |
+
<label class="block text-sm font-medium mb-2">Account Number</label>
|
329 |
+
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
330 |
+
</div>
|
331 |
+
<div class="mb-4">
|
332 |
+
<label class="block text-sm font-medium mb-2">Routing Number</label>
|
333 |
+
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
334 |
+
</div>
|
335 |
+
</div>
|
336 |
+
</div>
|
337 |
+
|
338 |
+
<!-- Billing Information -->
|
339 |
+
<div>
|
340 |
+
<h3 class="text-lg font-medium mb-4">Billing Information</h3>
|
341 |
+
|
342 |
+
<div class="mb-6">
|
343 |
+
<div class="flex space-x-4 mb-4">
|
344 |
+
<button id="individualTab" class="tab-active pb-2 font-medium">Individual</button>
|
345 |
+
<button id="businessTab" class="pb-2 font-medium text-slate-400">Business</button>
|
346 |
+
</div>
|
347 |
+
|
348 |
+
<!-- Individual Billing -->
|
349 |
+
<div id="individualBilling">
|
350 |
+
<div class="mb-4">
|
351 |
+
<label class="block text-sm font-medium mb-2">Billing Address</label>
|
352 |
+
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
353 |
+
</div>
|
354 |
+
<div class="grid grid-cols-2 gap-4 mb-4">
|
355 |
+
<div>
|
356 |
+
<label class="block text-sm font-medium mb-2">City</label>
|
357 |
+
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
358 |
+
</div>
|
359 |
+
<div>
|
360 |
+
<label class="block text-sm font-medium mb-2">ZIP Code</label>
|
361 |
+
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
362 |
+
</div>
|
363 |
+
</div>
|
364 |
+
</div>
|
365 |
+
|
366 |
+
<!-- Business Billing (Hidden initially) -->
|
367 |
+
<div id="businessBilling" class="hidden">
|
368 |
+
<div class="mb-4">
|
369 |
+
<label class="block text-sm font-medium mb-2">Company Name</label>
|
370 |
+
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
371 |
+
</div>
|
372 |
+
<div class="mb-4">
|
373 |
+
<label class="block text-sm font-medium mb-2">Tax ID</label>
|
374 |
+
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
375 |
+
</div>
|
376 |
+
<div class="mb-4">
|
377 |
+
<label class="block text-sm font-medium mb-2">Billing Address</label>
|
378 |
+
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
379 |
+
</div>
|
380 |
+
<div class="grid grid-cols-2 gap-4 mb-4">
|
381 |
+
<div>
|
382 |
+
<label class="block text-sm font-medium mb-2">City</label>
|
383 |
+
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
384 |
+
</div>
|
385 |
+
<div>
|
386 |
+
<label class="block text-sm font-medium mb-2">ZIP Code</label>
|
387 |
+
<input type="text" class="w-full px-4 py-3 bg-slate-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
388 |
+
</div>
|
389 |
+
</div>
|
390 |
+
</div>
|
391 |
+
</div>
|
392 |
+
|
393 |
+
<div class="bg-slate-700 p-4 rounded-lg">
|
394 |
+
<h4 class="font-medium mb-3">Invoice Preferences</h4>
|
395 |
+
<div class="flex items-center mb-2">
|
396 |
+
<input type="checkbox" id="emailInvoice" class="mr-3" checked>
|
397 |
+
<label for="emailInvoice">Email me invoices</label>
|
398 |
+
</div>
|
399 |
+
<div class="flex items-center">
|
400 |
+
<input type="checkbox" id="paperInvoice" class="mr-3">
|
401 |
+
<label for="paperInvoice">Send paper invoices</label>
|
402 |
+
</div>
|
403 |
+
</div>
|
404 |
+
</div>
|
405 |
+
</div>
|
406 |
+
|
407 |
+
<div class="flex justify-between mt-8">
|
408 |
+
<button id="backToPlans" class="px-6 py-2 bg-slate-700 hover:bg-slate-600 rounded-lg transition duration-300">
|
409 |
+
<i class="fas fa-arrow-left mr-2"></i> Back
|
410 |
+
</button>
|
411 |
+
<button id="nextToConfirmation" class="px-6 py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300">
|
412 |
+
Complete Payment <i class="fas fa-lock ml-2"></i>
|
413 |
+
</button>
|
414 |
+
</div>
|
415 |
+
</div>
|
416 |
+
|
417 |
+
<!-- Confirmation Section (Hidden Initially) -->
|
418 |
+
<div class="lg:col-span-2 bg-slate-800 rounded-xl p-8 neumorphic hidden" id="confirmationSection">
|
419 |
+
<div class="text-center py-8">
|
420 |
+
<div class="w-20 h-20 bg-green-500 rounded-full flex items-center justify-center mx-auto mb-6">
|
421 |
+
<i class="fas fa-check text-3xl text-white"></i>
|
422 |
+
</div>
|
423 |
+
<h2 class="text-2xl font-bold mb-2">Payment Successful!</h2>
|
424 |
+
<p class="text-slate-400 mb-6">Thank you for subscribing to Build.Web4</p>
|
425 |
+
|
426 |
+
<div class="max-w-md mx-auto bg-slate-700 rounded-lg p-6 mb-8">
|
427 |
+
<h3 class="font-medium mb-4">Order Summary</h3>
|
428 |
+
<div class="flex justify-between mb-2">
|
429 |
+
<span class="text-slate-400">Plan:</span>
|
430 |
+
<span class="font-medium" id="confirmedPlan">Build.AI.Tools</span>
|
431 |
+
</div>
|
432 |
+
<div class="flex justify-between mb-2">
|
433 |
+
<span class="text-slate-400">Billing Cycle:</span>
|
434 |
+
<span class="font-medium">Monthly</span>
|
435 |
+
</div>
|
436 |
+
<div class="flex justify-between mb-2">
|
437 |
+
<span class="text-slate-400">Amount Paid:</span>
|
438 |
+
<span class="font-medium" id="confirmedAmount">$49.00</span>
|
439 |
+
</div>
|
440 |
+
<div class="flex justify-between mb-2">
|
441 |
+
<span class="text-slate-400">Payment Method:</span>
|
442 |
+
<span class="font-medium">Visa ending in 4242</span>
|
443 |
+
</div>
|
444 |
+
<div class="border-t border-slate-600 my-4"></div>
|
445 |
+
<div class="flex justify-between font-medium">
|
446 |
+
<span>Next Billing Date:</span>
|
447 |
+
<span>May 1, 2023</span>
|
448 |
+
</div>
|
449 |
+
</div>
|
450 |
+
|
451 |
+
<div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4">
|
452 |
+
<button class="px-6 py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-300">
|
453 |
+
Go to Dashboard <i class="fas fa-tachometer-alt ml-2"></i>
|
454 |
+
</button>
|
455 |
+
<button class="px-6 py-2 bg-slate-700 hover:bg-slate-600 rounded-lg transition duration-300">
|
456 |
+
Download Invoice <i class="fas fa-download ml-2"></i>
|
457 |
+
</button>
|
458 |
+
</div>
|
459 |
+
</div>
|
460 |
+
</div>
|
461 |
+
|
462 |
+
<!-- Order Summary Sidebar -->
|
463 |
+
<div class="bg-slate-800 rounded-xl p-6 neumorphic h-fit sticky top-6" id="orderSummary">
|
464 |
+
<h2 class="text-xl font-bold mb-4">Order Summary</h2>
|
465 |
+
|
466 |
+
<div class="mb-6 p-4 bg-slate-700 rounded-lg">
|
467 |
+
<div class="flex justify-between items-center mb-2">
|
468 |
+
<span class="font-medium">Selected Plan:</span>
|
469 |
+
<span class="text-blue-400" id="selectedPlanDisplay">None selected</span>
|
470 |
+
</div>
|
471 |
+
<div class="flex justify-between items-center mb-2">
|
472 |
+
<span class="font-medium">Billing Cycle:</span>
|
473 |
+
<span>Monthly</span>
|
474 |
+
</div>
|
475 |
+
<div class="flex justify-between items-center">
|
476 |
+
<span class="font-medium">Amount Due:</span>
|
477 |
+
<span class="text-2xl font-bold" id="amountDueDisplay">$0.00</span>
|
478 |
+
</div>
|
479 |
+
</div>
|
480 |
+
|
481 |
+
<div class="mb-6">
|
482 |
+
<h3 class="font-medium mb-2">Plan Features</h3>
|
483 |
+
<ul class="space-y-2 text-sm" id="planFeaturesDisplay">
|
484 |
+
<li class="flex items-center"><i class="fas fa-info-circle text-blue-500 mr-2"></i> Select a plan to view features</li>
|
485 |
+
</ul>
|
486 |
+
</div>
|
487 |
+
|
488 |
+
<div class="bg-slate-700 p-4 rounded-lg">
|
489 |
+
<h3 class="font-medium mb-2">Supported Integrations</h3>
|
490 |
+
<div class="flex flex-wrap gap-3">
|
491 |
+
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/microsoft/microsoft-original.svg" class="w-8 h-8" alt="Microsoft">
|
492 |
+
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/amazonwebservices/amazonwebservices-original.svg" class="w-8 h-8" alt="AWS">
|
493 |
+
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/google/google-original.svg" class="w-8 h-8" alt="Google">
|
494 |
+
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/oracle/oracle-original.svg" class="w-8 h-8" alt="Oracle">
|
495 |
+
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/salesforce/salesforce-original.svg" class="w-8 h-8" alt="Salesforce">
|
496 |
+
</div>
|
497 |
+
</div>
|
498 |
+
|
499 |
+
<div class="mt-6 text-xs text-slate-400">
|
500 |
+
<p><i class="fas fa-lock mr-1"></i> All transactions are secured with 256-bit encryption</p>
|
501 |
+
<p class="mt-2"><i class="fas fa-sync-alt mr-1"></i> Cancel anytime with 30-day notice</p>
|
502 |
+
</div>
|
503 |
+
</div>
|
504 |
+
</div>
|
505 |
+
</div>
|
506 |
+
|
507 |
+
<!-- Footer -->
|
508 |
+
<footer class="mt-16 text-center text-slate-500 text-sm">
|
509 |
+
<p>Powered by Web4.0 OS – WY.USA</p>
|
510 |
+
<div class="flex justify-center space-x-4 mt-4">
|
511 |
+
<a href="#" class="hover:text-blue-400"><i class="fab fa-github"></i></a>
|
512 |
+
<a href="#" class="hover:text-blue-400"><i class="fab fa-twitter"></i></a>
|
513 |
+
<a href="#" class="hover:text-blue-400"><i class="fab fa-linkedin"></i></a>
|
514 |
+
<a href="#" class="hover:text-blue-400"><i class="fab fa-discord"></i></a>
|
515 |
+
</div>
|
516 |
+
</footer>
|
517 |
+
</div>
|
518 |
+
|
519 |
+
<script>
|
520 |
+
document.addEventListener('DOMContentLoaded', function() {
|
521 |
+
// Plan data
|
522 |
+
const plans = {
|
523 |
+
ai: {
|
524 |
+
name: "Build.AI.Tools",
|
525 |
+
price: "$49",
|
526 |
+
features: [
|
527 |
+
"100 API calls/day",
|
528 |
+
"GPT-4 integration",
|
529 |
+
"Custom model training",
|
530 |
+
"Analytics dashboard",
|
531 |
+
"Priority support"
|
532 |
+
]
|
533 |
+
},
|
534 |
+
marketplace: {
|
535 |
+
name: "Build.Marketplace",
|
536 |
+
price: "$79",
|
537 |
+
features: [
|
538 |
+
"Unlimited products",
|
539 |
+
"Payment gateway integration",
|
540 |
+
"Inventory management",
|
541 |
+
"Customer analytics",
|
542 |
+
"Multi-vendor support"
|
543 |
+
]
|
544 |
+
},
|
545 |
+
digitaltwin: {
|
546 |
+
name: "Build.Digital Twin",
|
547 |
+
price: "$129",
|
548 |
+
features: [
|
549 |
+
"5 digital twin models",
|
550 |
+
"Real-time data sync",
|
551 |
+
"Predictive analytics",
|
552 |
+
"3D visualization",
|
553 |
+
"IoT device integration"
|
554 |
+
]
|
555 |
+
},
|
556 |
+
iot: {
|
557 |
+
name: "Build.IoT",
|
558 |
+
price: "$199",
|
559 |
+
features: [
|
560 |
+
"100 device connections",
|
561 |
+
"Edge computing",
|
562 |
+
"Data encryption",
|
563 |
+
"Custom dashboards",
|
564 |
+
"24/7 monitoring"
|
565 |
+
]
|
566 |
+
}
|
567 |
+
};
|
568 |
+
|
569 |
+
// DOM Elements
|
570 |
+
const registrationForm = document.getElementById('registrationForm');
|
571 |
+
const planSelection = document.getElementById('planSelection');
|
572 |
+
const paymentSection = document.getElementById('paymentSection');
|
573 |
+
const confirmationSection = document.getElementById('confirmationSection');
|
574 |
+
const orderSummary = document.getElementById('orderSummary');
|
575 |
+
const selectedPlanDisplay = document.getElementById('selectedPlanDisplay');
|
576 |
+
const amountDueDisplay = document.getElementById('amountDueDisplay');
|
577 |
+
const planFeaturesDisplay = document.getElementById('planFeaturesDisplay');
|
578 |
+
const confirmedPlan = document.getElementById('confirmedPlan');
|
579 |
+
const confirmedAmount = document.getElementById('confirmedAmount');
|
580 |
+
|
581 |
+
const nextToPlansBtn = document.getElementById('nextToPlans');
|
582 |
+
const backToRegistrationBtn = document.getElementById('backToRegistration');
|
583 |
+
const nextToPaymentBtn = document.getElementById('nextToPayment');
|
584 |
+
const backToPlansBtn = document.getElementById('backToPlans');
|
585 |
+
const nextToConfirmationBtn = document.getElementById('nextToConfirmation');
|
586 |
+
|
587 |
+
const planCards = document.querySelectorAll('.plan-card');
|
588 |
+
const selectPlanBtns = document.querySelectorAll('.select-plan-btn');
|
589 |
+
|
590 |
+
const creditCardRadio = document.getElementById('creditCard');
|
591 |
+
const bankTransferRadio = document.getElementById('bankTransfer');
|
592 |
+
const achRadio = document.getElementById('ach');
|
593 |
+
const creditCardForm = document.getElementById('creditCardForm');
|
594 |
+
const bankTransferForm = document.getElementById('bankTransferForm');
|
595 |
+
const achForm = document.getElementById('achForm');
|
596 |
+
|
597 |
+
const individualTab = document.getElementById('individualTab');
|
598 |
+
const businessTab = document.getElementById('businessTab');
|
599 |
+
const individualBilling = document.getElementById('individualBilling');
|
600 |
+
const businessBilling = document.getElementById('businessBilling');
|
601 |
+
|
602 |
+
const step1 = document.getElementById('step1');
|
603 |
+
const step2 = document.getElementById('step2');
|
604 |
+
const step3 = document.getElementById('step3');
|
605 |
+
const step4 = document.getElementById('step4');
|
606 |
+
|
607 |
+
// Current selected plan
|
608 |
+
let selectedPlan = null;
|
609 |
+
|
610 |
+
// Event Listeners
|
611 |
+
nextToPlansBtn.addEventListener('click', function() {
|
612 |
+
registrationForm.classList.add('hidden');
|
613 |
+
planSelection.classList.remove('hidden');
|
614 |
+
step1.querySelector('div').classList.remove('bg-blue-600');
|
615 |
+
step1.querySelector('div').classList.add('bg-green-500');
|
616 |
+
step2.querySelector('div').classList.remove('bg-slate-700');
|
617 |
+
step2.querySelector('div').classList.add('bg-blue-600');
|
618 |
+
step2.querySelector('span').classList.remove('text-slate-400');
|
619 |
+
});
|
620 |
+
|
621 |
+
backToRegistrationBtn.addEventListener('click', function() {
|
622 |
+
planSelection.classList.add('hidden');
|
623 |
+
registrationForm.classList.remove('hidden');
|
624 |
+
step1.querySelector('div').classList.remove('bg-green-500');
|
625 |
+
step1.querySelector('div').classList.add('bg-blue-600');
|
626 |
+
step2.querySelector('div').classList.remove('bg-blue-600');
|
627 |
+
step2.querySelector('div').classList.add('bg-slate-700');
|
628 |
+
step2.querySelector('span').classList.add('text-slate-400');
|
629 |
+
});
|
630 |
+
|
631 |
+
nextToPaymentBtn.addEventListener('click', function() {
|
632 |
+
planSelection.classList.add('hidden');
|
633 |
+
paymentSection.classList.remove('hidden');
|
634 |
+
step2.querySelector('div').classList.remove('bg-blue-600');
|
635 |
+
step2.querySelector('div').classList.add('bg-green-500');
|
636 |
+
step3.querySelector('div').classList.remove('bg-slate-700');
|
637 |
+
step3.querySelector('div').classList.add('bg-blue-600');
|
638 |
+
step3.querySelector('span').classList.remove('text-slate-400');
|
639 |
+
});
|
640 |
+
|
641 |
+
backToPlansBtn.addEventListener('click', function() {
|
642 |
+
paymentSection.classList.add('hidden');
|
643 |
+
planSelection.classList.remove('hidden');
|
644 |
+
step2.querySelector('div').classList.remove('bg-green-500');
|
645 |
+
step2.querySelector('div').classList.add('bg-blue-600');
|
646 |
+
step3.querySelector('div').classList.remove('bg-blue-600');
|
647 |
+
step3.querySelector('div').classList.add('bg-slate-700');
|
648 |
+
step3.querySelector('span').classList.add('text-slate-400');
|
649 |
+
});
|
650 |
+
|
651 |
+
nextToConfirmationBtn.addEventListener('click', function() {
|
652 |
+
paymentSection.classList.add('hidden');
|
653 |
+
confirmationSection.classList.remove('hidden');
|
654 |
+
step3.querySelector('div').classList.remove('bg-blue-600');
|
655 |
+
step3.querySelector('div').classList.add('bg-green-500');
|
656 |
+
step4.querySelector('div').classList.remove('bg-slate-700');
|
657 |
+
step4.querySelector('div').classList.add('bg-blue-600');
|
658 |
+
step4.querySelector('span').classList.remove('text-slate-400');
|
659 |
+
});
|
660 |
+
|
661 |
+
// Plan selection
|
662 |
+
planCards.forEach(card => {
|
663 |
+
card.addEventListener('click', function() {
|
664 |
+
// Remove selected class from all cards
|
665 |
+
planCards.forEach(c => {
|
666 |
+
c.classList.remove('selected-plan');
|
667 |
+
c.querySelector('button').textContent = 'Select Plan';
|
668 |
+
c.querySelector('button').classList.remove('bg-blue-800');
|
669 |
+
c.querySelector('button').classList.add('bg-blue-600');
|
670 |
+
});
|
671 |
+
|
672 |
+
// Add selected class to clicked card
|
673 |
+
this.classList.add('selected-plan');
|
674 |
+
this.querySelector('button').textContent = 'Selected';
|
675 |
+
this.querySelector('button').classList.remove('bg-blue-600');
|
676 |
+
this.querySelector('button').classList.add('bg-blue-800');
|
677 |
+
|
678 |
+
// Set selected plan
|
679 |
+
selectedPlan = this.dataset.plan;
|
680 |
+
|
681 |
+
// Update order summary
|
682 |
+
updateOrderSummary();
|
683 |
+
|
684 |
+
// Show next button
|
685 |
+
nextToPaymentBtn.classList.remove('hidden');
|
686 |
+
});
|
687 |
+
});
|
688 |
+
|
689 |
+
// Payment method selection
|
690 |
+
creditCardRadio.addEventListener('change', function() {
|
691 |
+
if (this.checked) {
|
692 |
+
creditCardForm.classList.remove('hidden');
|
693 |
+
bankTransferForm.classList.add('hidden');
|
694 |
+
achForm.classList.add('hidden');
|
695 |
+
}
|
696 |
+
});
|
697 |
+
|
698 |
+
bankTransferRadio.addEventListener('change', function() {
|
699 |
+
if (this.checked) {
|
700 |
+
creditCardForm.classList.add('hidden');
|
701 |
+
bankTransferForm.classList.remove('hidden');
|
702 |
+
achForm.classList.add('hidden');
|
703 |
+
}
|
704 |
+
});
|
705 |
+
|
706 |
+
achRadio.addEventListener('change', function() {
|
707 |
+
if (this.checked) {
|
708 |
+
creditCardForm.classList.add('hidden');
|
709 |
+
bankTransferForm.classList.add('hidden');
|
710 |
+
achForm.classList.remove('hidden');
|
711 |
+
}
|
712 |
+
});
|
713 |
+
|
714 |
+
// Billing type tabs
|
715 |
+
individualTab.addEventListener('click', function() {
|
716 |
+
individualTab.classList.add('tab-active');
|
717 |
+
individualTab.classList.remove('text-slate-400');
|
718 |
+
businessTab.classList.remove('tab-active');
|
719 |
+
businessTab.classList.add('text-slate-400');
|
720 |
+
individualBilling.classList.remove('hidden');
|
721 |
+
businessBilling.classList.add('hidden');
|
722 |
+
});
|
723 |
+
|
724 |
+
businessTab.addEventListener('click', function() {
|
725 |
+
businessTab.classList.add('tab-active');
|
726 |
+
businessTab.classList.remove('text-slate-400');
|
727 |
+
individualTab.classList.remove('tab-active');
|
728 |
+
individualTab.classList.add('text-slate-400');
|
729 |
+
businessBilling.classList.remove('hidden');
|
730 |
+
individualBilling.classList.add('hidden');
|
731 |
+
});
|
732 |
+
|
733 |
+
// Update order summary
|
734 |
+
function updateOrderSummary() {
|
735 |
+
if (selectedPlan) {
|
736 |
+
const plan = plans[selectedPlan];
|
737 |
+
selectedPlanDisplay.textContent = plan.name;
|
738 |
+
amountDueDisplay.textContent = plan.price;
|
739 |
+
|
740 |
+
// Update features list
|
741 |
+
planFeaturesDisplay.innerHTML = '';
|
742 |
+
plan.features.forEach(feature => {
|
743 |
+
const li = document.createElement('li');
|
744 |
+
li.className = 'flex items-center';
|
745 |
+
li.innerHTML = `<i class="fas fa-check-circle text-blue-500 mr-2"></i> ${feature}`;
|
746 |
+
planFeaturesDisplay.appendChild(li);
|
747 |
+
});
|
748 |
+
|
749 |
+
// Update confirmation section
|
750 |
+
confirmedPlan.textContent = plan.name;
|
751 |
+
confirmedAmount.textContent = plan.price;
|
752 |
+
}
|
753 |
+
}
|
754 |
+
});
|
755 |
+
</script>
|
756 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Unnab/build-web4-payment-billing" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
757 |
+
</html>
|
prompts.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
### **🏗️ Build.Web4 – Membership, Payment & Billing Page** #### **🌍 Core Structure & User Entry Fields:** 🔹 **Member Registration & Professional Details:** - **Azure-supported user authentication**, ensuring **secure multi-factor login**. - **Industry-based registration fields:** - **Full Name & Professional Title** - **Country & Region Selection** - **Company Name (if applicable)** - **Social Media Handles & Website URL** - **Phone Number & Email Verification** 🔹 **Subscription Plan Selection:** - **Member.Build.Web4 Options** → Users can choose from **Build.AI.Tools, Build.Marketplace, Build.Digital Twin, and Build.IoT** membership tiers. - **Dynamic pricing selection** ensuring **plan comparison and upgrade flexibility**. --- ### **💳 Payment Gateway & Invoice Details** 🔹 **Accepted Payment Methods:** - **Credit Card & Debit Card Processing** - **Bank Transfer & ACH Payments** - **Enterprise-Level Subscription Management** 🔹 **Billing Options:** - **Individual Billing** – Standard invoices for personal use. - **Company/Business Billing** – Corporate invoice processing with **tax ID inclusion and international compliance**. 🔹 **Automated Invoice Generation & History:** - **User dashboard showcasing past payments**, subscription details, and renewal reminders. - **API-integrated invoice automation**, supporting **Microsoft, AWS, SAP, Oracle, and Salesforce connectivity**. --- ### **🔹 Premium UX Enhancements:** ✅ **Deep navy blue neomorphic 3D design**, ensuring **sleek professional visuals**. ✅ **Ultra-thin dividers**, delivering a **structured yet unobtrusive interface**. ✅ **Azure-secured authentication**, ensuring **multi-layered security & encrypted transactions**. ✅ **Dynamic payment visualization**, allowing users to **interactively compare membership plans**. ✅ **Footer Branding:** *"Powered by Web4.0 OS – WY.USA"* prominently displayed. --- This **Build.Web4 membership & billing page** ensures **maximum security, ease of use, and premium industry-standard aesthetics**, creating a **seamless and professional user onboarding experience**. 🚀✨ Harika! **Build.Web4**'ün abonelik planları, kullanıcıların hangi **hizmeti seçtiklerini net bir şekilde göstermeli** ve **seçili alanlara özel detayları** iletmeli. İşte bu sayfa için yapısal öneriler: --- ### **🏗️ Build.Web4 – Subscription Selection & Confirmation** #### **🌍 Core Features for Selection & Display:** 🔹 **Dynamic Plan Selection Interface** - Kullanıcı **Build.AI.Tools, Build.Marketplace, Build.Digital Twin, veya Build.IoT** seçtiğinde, **seçili planın içeriği ekranın bir bölümünde detaylı şekilde gösterilmeli**. - **Sezgisel geçiş efektleri**, plan değişikliklerini vurgulayan görsel akışkanlık sağlamalı. 🔹 **Subscription Overview Section** - Kullanıcının seçtiği **üyelik planı**, fiyatlandırma ve ilgili hizmetler **açıkça listelenmeli**. - Seçilen hizmete göre **özelleştirilmiş avantajlar**, API bağlantıları ve entegrasyonlar hakkında bilgi sunulmalı. 🔹 **Billing & Confirmation Area** - Seçilen **plan türüne göre ödeme seçenekleri** dinamik olarak değişmeli. - **Şahıs veya şirket fatura bilgileri**, üyelik türüne bağlı olarak yapılandırılmalı. 🔹 **Final Purchase Overview** - Kullanıcılar **Build.Web4 içinde hangi hizmeti aldıklarını** ve **abonelik detaylarını** net bir şekilde görmeli. - **Plan değişikliği veya yükseltme seçenekleri** kolay erişilebilir olmalı. 🔹 **Footer Branding** ✅ Sayfanın altında **"Powered by Web4.0 OS – WY.USA"** metni yer almalı.
|