File size: 18,387 Bytes
d4c30e4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a0e4d7d
d4c30e4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a0e4d7d
d4c30e4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Vertex Dimension - Apply</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
    <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <style>
        .shopify-green {
            background-color: #96bf48;
        }
        .shopify-green-text {
            color: #96bf48;
        }
        .royal-blue {
            background-color: #2a4e96;
        }
        .royal-blue-text {
            color: #2a4e96;
        }
        .form-input:focus {
            border-color: #96bf48;
            box-shadow: 0 0 0 1px #96bf48;
        }
    </style>
</head>
<body class="font-sans">
    <!-- Navigation -->
    <nav class="bg-white shadow-md">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between h-16">
                <div class="flex items-center">
                    <div class="flex-shrink-0 flex items-center">
                        <img class="h-8 w-auto" src="vertex-logo.png" alt="Vertex Dimension Logo">
                    </div>
                </div>
                <div class="hidden md:ml-6 md:flex md:items-center md:space-x-8">
                    <a href="index.html" class="text-gray-600 hover:text-gray-900 px-3 py-2 rounded-md text-sm font-medium">Home</a>
                    <a href="plans.html" class="text-gray-600 hover:text-gray-900 px-3 py-2 rounded-md text-sm font-medium">Plans</a>
                    <a href="apply.html" class="royal-blue-text px-3 py-2 rounded-md text-sm font-medium">Apply Now</a>
                </div>
                <div class="-mr-2 flex items-center md:hidden">
                    <button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500" aria-controls="mobile-menu" aria-expanded="false">
                        <span class="sr-only">Open main menu</span>
                        <i data-feather="menu"></i>
                    </button>
                </div>
            </div>
        </div>

        <!-- Mobile menu -->
        <div class="md:hidden hidden" id="mobile-menu">
            <div class="pt-2 pb-3 space-y-1">
                <a href="index.html" class="text-gray-600 hover:text-gray-900 block px-3 py-2 rounded-md text-base font-medium">Home</a>
                <a href="plans.html" class="text-gray-600 hover:text-gray-900 block px-3 py-2 rounded-md text-base font-medium">Plans</a>
                <a href="apply.html" class="royal-blue-text block px-3 py-2 rounded-md text-base font-medium">Apply Now</a>
            </div>
        </div>
    </nav>

    <!-- Application Form -->
    <div class="bg-gray-50 py-12">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="lg:grid lg:grid-cols-2 lg:gap-8">
                <div class="mb-8 lg:mb-0" data-aos="fade-right">
                    <h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
                        Apply for your Shopify seller permit
                    </h2>
                    <p class="mt-3 text-xl text-gray-600">
                        Fill out the form and we'll handle the rest. Our team will contact you within 24 hours to confirm your details.
                    </p>
                    <div class="mt-8">
                        <div class="flex items-center">
                            <div class="flex-shrink-0 bg-green-100 rounded-full p-2">
                                <i data-feather="check" class="h-6 w-6 text-green-600"></i>
                            </div>
                            <div class="ml-3">
                                <p class="text-lg font-medium text-gray-700">Simple application</p>
                                <p class="mt-1 text-gray-500">Only takes a few minutes to complete</p>
                            </div>
                        </div>
                        <div class="flex items-center mt-6">
                            <div class="flex-shrink-0 bg-green-100 rounded-full p-2">
                                <i data-feather="check" class="h-6 w-6 text-green-600"></i>
                            </div>
                            <div class="ml-3">
                                <p class="text-lg font-medium text-gray-700">No upfront payment</p>
                                <p class="mt-1 text-gray-500">We'll confirm your plan before payment</p>
                            </div>
                        </div>
                        <div class="flex items-center mt-6">
                            <div class="flex-shrink-0 bg-green-100 rounded-full p-2">
                                <i data-feather="check" class="h-6 w-6 text-green-600"></i>
                            </div>
                            <div class="ml-3">
                                <p class="text-lg font-medium text-gray-700">Expert support</p>
                                <p class="mt-1 text-gray-500">Our team is here to help at every step</p>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="bg-white shadow-md rounded-lg p-6" data-aos="fade-left">
                    <form id="applicationForm" class="space-y-6">
                        <div>
                            <label for="name" class="block text-sm font-medium text-gray-700">Store Owner's Name</label>
                            <div class="mt-1">
                                <input type="text" name="name" id="name" required class="form-input py-3 px-4 block w-full shadow-sm focus:ring-green-500 focus:border-green-500 border-gray-300 rounded-md">
                            </div>
                        </div>

                        <div>
                            <label for="storeUrl" class="block text-sm font-medium text-gray-700">Store URL</label>
                            <div class="mt-1">
                                <input type="url" name="storeUrl" id="storeUrl" required class="form-input py-3 px-4 block w-full shadow-sm focus:ring-green-500 focus:border-green-500 border-gray-300 rounded-md" placeholder="https://yourstore.myshopify.com">
                            </div>
                        </div>

                        <div>
                            <label for="country" class="block text-sm font-medium text-gray-700">Country of Operation</label>
                            <div class="mt-1">
                                <select id="country" name="country" required class="form-select py-3 px-4 block w-full shadow-sm focus:ring-green-500 focus:border-green-500 border-gray-300 rounded-md">
                                    <option value="">Select a country</option>
                                    <option value="US">United States</option>
                                    <option value="CA">Canada</option>
                                    <option value="UK">United Kingdom</option>
                                    <option value="AU">Australia</option>
                                    <option value="DE">Germany</option>
                                    <option value="FR">France</option>
                                    <option value="JP">Japan</option>
                                    <option value="other">Other</option>
                                </select>
                            </div>
                        </div>

                        <div>
                            <label for="email" class="block text-sm font-medium text-gray-700">Active Email Address</label>
                            <div class="mt-1">
                                <input type="email" name="email" id="email" required class="form-input py-3 px-4 block w-full shadow-sm focus:ring-green-500 focus:border-green-500 border-gray-300 rounded-md">
                            </div>
                        </div>

                        <div>
                            <label for="launchDate" class="block text-sm font-medium text-gray-700">Date of Store Launch</label>
                            <div class="mt-1">
                                <input type="date" name="launchDate" id="launchDate" required class="form-input py-3 px-4 block w-full shadow-sm focus:ring-green-500 focus:border-green-500 border-gray-300 rounded-md">
                            </div>
                        </div>

                        <div>
                            <label for="plan" class="block text-sm font-medium text-gray-700">Select Plan</label>
                            <div class="mt-1">
                                <select id="plan" name="plan" required class="form-select py-3 px-4 block w-full shadow-sm focus:ring-green-500 focus:border-green-500 border-gray-300 rounded-md">
                                    <option value="">Select a plan</option>
                                    <option value="6_months">6 Months - $85</option>
                                    <option value="1_year">1 Year - $125</option>
                                    <option value="2_years">2 Years - $245</option>
                                    <option value="3_years">3 Years - $305</option>
                                </select>
                            </div>
                        </div>

                        <div class="flex items-start">
                            <div class="flex items-center h-5">
                                <input id="terms" name="terms" type="checkbox" required class="focus:ring-green-500 h-4 w-4 text-green-600 border-gray-300 rounded">
                            </div>
                            <div class="ml-3 text-sm">
                                <label for="terms" class="font-medium text-gray-700">I agree to the <a href="#" class="royal-blue-text hover:text-blue-500">terms and conditions</a></label>
                                <p class="text-gray-500">By submitting this form, you agree to our privacy policy.</p>
                            </div>
                        </div>

                        <div>
                            <button type="submit" class="w-full flex justify-center py-3 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white shopify-green hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-500">
                                Submit Application
                            </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>

    <!-- Success Modal -->
    <div id="successModal" class="fixed z-10 inset-0 overflow-y-auto hidden" aria-labelledby="modal-title" role="dialog" aria-modal="true">
        <div class="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
            <div class="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" aria-hidden="true"></div>
            <span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">&#8203;</span>
            <div class="inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-sm sm:w-full sm:p-6">
                <div>
                    <div class="mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-green-100">
                        <i data-feather="check" class="h-6 w-6 text-green-600"></i>
                    </div>
                    <div class="mt-3 text-center sm:mt-5">
                        <h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">
                            Application Submitted!
                        </h3>
                        <div class="mt-2">
                            <p class="text-sm text-gray-500">
                                Thank you for your application. Our team will review your details and contact you within 24 hours to confirm your plan and next steps.
                            </p>
                        </div>
                    </div>
                </div>
                <div class="mt-5 sm:mt-6">
                    <button type="button" onclick="closeModal()" class="inline-flex justify-center w-full rounded-md border border-transparent shadow-sm px-4 py-2 shopify-green text-base font-medium text-white hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-500 sm:text-sm">
                        Close
                    </button>
                </div>
            </div>
        </div>
    </div>

    <!-- Footer -->
    <footer class="bg-gray-800">
        <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
            <div class="xl:grid xl:grid-cols-3 xl:gap-8">
                <div class="space-y-8 xl:col-span-1">
                    <img class="h-10" src="vertex-logo.png" alt="Vertex Dimension Logo">
                    <p class="text-gray-300 text-base">
                        Helping Shopify merchants with seller permits since 2015.
                    </p>
                </div>
                <div class="mt-12 grid grid-cols-2 gap-8 xl:mt-0 xl:col-span-2">
                    <div class="md:grid md:grid-cols-2 md:gap-8">
                        <div>
                            <h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">
                                Solutions
                            </h3>
                            <ul class="mt-4 space-y-4">
                                <li>
                                    <a href="index.html" class="text-base text-gray-400 hover:text-white">
                                        Seller Permits
                                    </a>
                                </li>
                                <li>
                                    <a href="plans.html" class="text-base text-gray-400 hover:text-white">
                                        Pricing Plans
                                    </a>
                                </li>
                            </ul>
                        </div>
                        <div class="mt-12 md:mt-0">
                            <h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">
                                Support
                            </h3>
                            <ul class="mt-4 space-y-4">
                                <li>
                                    <a href="#" class="text-base text-gray-400 hover:text-white">
                                        Contact Us
                                    </a>
                                </li>
                                <li>
                                    <a href="#" class="text-base text-gray-400 hover:text-white">
                                        FAQ
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="mt-12 border-t border-gray-700 pt-8">
                <p class="text-base text-gray-400 text-center">
                    &copy; 2023 Vertex Dimension. All rights reserved.
                </p>
            </div>
        </div>
    </footer>

    <script>
        AOS.init();
        feather.replace();
        
        // Mobile menu toggle
        const mobileMenuButton = document.querySelector('[aria-controls="mobile-menu"]');
        const mobileMenu = document.getElementById('mobile-menu');
        
        mobileMenuButton.addEventListener('click', function() {
            const expanded = this.getAttribute('aria-expanded') === 'true' || false;
            this.setAttribute('aria-expanded', !expanded);
            mobileMenu.classList.toggle('hidden');
        });

        // Form submission
        document.getElementById('applicationForm').addEventListener('submit', function(e) {
            e.preventDefault();
            
            // Get form data
            const formData = new FormData(this);
            const data = {};
            formData.forEach((value, key) => {
                data[key] = value;
            });
            
            // Here you would typically send the data to your server
            // For demo purposes, we'll just show the success modal
            console.log('Form data:', data);
            
            // Send email (this would be replaced with your actual email sending logic)
            sendEmail(data);
            
            // Show success modal
            document.getElementById('successModal').classList.remove('hidden');
            
            // Reset form
            this.reset();
        });
        
        function closeModal() {
            document.getElementById('successModal').classList.add('hidden');
        }
        
        function sendEmail(data) {
            // This is a placeholder for your email sending functionality
            // In a real implementation, you would use a server-side script or email service
            const emailBody = `
                New Application from Vertex Dimension Website:
                
                Store Owner: ${data.name}
                Store URL: ${data.storeUrl}
                Country: ${data.country}
                Email: ${data.email}
                Launch Date: ${data.launchDate}
                Selected Plan: ${data.plan}
            `;
            
            console.log('Email would be sent to officialvertexdimension@gmail.com with content:', emailBody);
            
            // In a real implementation, you might use:
            // - A server-side script (PHP, Node.js, etc.)
            // - An email service like Formspree, EmailJS, or similar
            // - A backend API to handle the email sending
        }
    </script>
</body>
</html>