-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
533 lines (507 loc) · 28.6 KB
/
index.html
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
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
href="https://cdnjs.cloudflare.com/ajax/libs/flowbite/1.6.2/flowbite.min.css"
rel="stylesheet"
/>
<link href="./dist/output.css" rel="stylesheet" />
<link href="./input.css" rel="stylesheet" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="stylesheet" href="https://use.typekit.net/yvy8amf.css" />
<link
href="https://fonts.googleapis.com/css2?family=EB+Garamond:ital@1&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,800&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,800&display=swap"
rel="stylesheet"
/>
<link rel="icon" href="img/favicon.png" />
<title>cool</title>
</head>
<body class="bg-primary relative">
<!-- HEADER -->
<header
class="header-div nav fixed flex h-16 w-full sm:px-12 py-14 justify-start right-10 px-5 items-center sm:justify-between"
>
<svg
class="header-logo mx-12 h-12 fill-accent"
id="katman_1"
data-name="katman 1"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 499.25 196"
>
<path
d="M137.11,192.51a2,2,0,0,1-1.45,3.49H95a2,2,0,0,1-2-2V153.3a2.05,2.05,0,0,1,3.5-1.45l8.8,8.8.52-.52a41.52,41.52,0,0,0,0-58.73L91.41,87a5.15,5.15,0,0,1,0-7.28L107.18,64a5.16,5.16,0,0,1,7.29,0l14.35,14.36a74.23,74.23,0,0,1,0,104.85l-.52.52Z"
/>
<path
d="M67.05,121.31,45.73,100A42.48,42.48,0,0,1,34.4,60.37a3.36,3.36,0,0,0-2.18-4A44.05,44.05,0,0,1,11.08,41.25a3.36,3.36,0,0,0-5.79.82,75.9,75.9,0,0,0,16.87,81.48l21.33,21.32a4,4,0,0,0,5.72,0L67.05,127A4,4,0,0,0,67.05,121.31Z"
/>
<path
d="M57.45,39.63A23.14,23.14,0,0,1,42.1,46.38a22.9,22.9,0,0,1-3.41-.1A23.29,23.29,0,0,1,24.6,39.63a23.06,23.06,0,0,1-6.42-12.19,22.23,22.23,0,0,1-.35-2.78A23.25,23.25,0,0,1,24.6,6.78a22.18,22.18,0,0,1,7.65-5.07,23.18,23.18,0,0,1,25.2,5.07A23.55,23.55,0,0,1,57.45,39.63Z"
/>
<path
d="M240.78,144.66q-8.5,0-13.44-6.15t-5-17.32q0-11.31,5-17.46t13.44-6.15a16.61,16.61,0,0,1,9.95,2.9,15.62,15.62,0,0,1,5.74,8h21.34Q274.57,95.32,265,88t-24.11-7.28a39.55,39.55,0,0,0-20.07,5,35.25,35.25,0,0,0-13.73,14.13q-5,9.12-4.94,21.28t4.94,21.28a35.27,35.27,0,0,0,13.73,14.14,39.55,39.55,0,0,0,20.07,5q14.43,0,24-7.49a36.12,36.12,0,0,0,12.87-20.22H256.47Q252.8,144.66,240.78,144.66Z"
/>
<path
d="M359,100a36.73,36.73,0,0,0-14.49-14.21,44.37,44.37,0,0,0-41,0A36.79,36.79,0,0,0,289.05,100a41.68,41.68,0,0,0-5.3,21.2,42.55,42.55,0,0,0,5.16,21.21,36.14,36.14,0,0,0,14.2,14.21,41.28,41.28,0,0,0,20.37,5,42.71,42.71,0,0,0,20.71-5A37.68,37.68,0,0,0,358.9,142.4a40.78,40.78,0,0,0,5.44-21.21A41.58,41.58,0,0,0,359,100Zm-17.87,33.93a19,19,0,0,1-7.57,7.84,20.57,20.57,0,0,1-10.11,2.62,18.37,18.37,0,0,1-14.07-6q-5.6-6-5.59-17.18T309.55,104a18.85,18.85,0,0,1,14.22-6,19.28,19.28,0,0,1,14.34,6q5.88,6,5.87,17.18A26.64,26.64,0,0,1,341.16,133.92Z"
/>
<path
d="M445.56,100a36.79,36.79,0,0,0-14.49-14.21,44.37,44.37,0,0,0-41,0A36.82,36.82,0,0,0,375.57,100a41.67,41.67,0,0,0-5.29,21.2,42.55,42.55,0,0,0,5.15,21.21,36.06,36.06,0,0,0,14.22,14.21,41.17,41.17,0,0,0,20.35,5,42.72,42.72,0,0,0,20.72-5,37.59,37.59,0,0,0,14.7-14.21,40.78,40.78,0,0,0,5.44-21.21A41.68,41.68,0,0,0,445.56,100Zm-17.89,33.93a18.84,18.84,0,0,1-7.56,7.84A20.49,20.49,0,0,1,410,144.38a18.4,18.4,0,0,1-14.07-6q-5.56-6-5.58-17.18c0-7.44,1.92-13.17,5.72-17.18a18.88,18.88,0,0,1,14.21-6,19.29,19.29,0,0,1,14.35,6q5.87,6,5.87,17.18A26.4,26.4,0,0,1,427.67,133.92Z"
/>
<path
d="M499.25,144.88v16.68H486.81a42.94,42.94,0,0,1-5.07-.28l-.18,0q-19.77-2.4-19.76-24V99.5h0V83.24h0V63.87h0v-.31h20V138a7.06,7.06,0,0,0,1.89,5.08q1.92,1.77,6.43,1.77Z"
/>
</svg>
<!-- NAVBAR START -->
<div
class="hidden sm:nav-div sm:flex sm:content-center sm:items-center sm:gap-x-10"
>
<ul
class="nav-ul bg-primary rounded-full border-2 border-accent flex justify-between"
>
<li
data-modal-target="yetenek-modal"
data-modal-toggle="yetenek-modal"
class="nav-talent transition-all hover:bg-accent hover:text-primary rounded-full px-6 py-3 md:text-lg font-semibold text-accent"
>
<a>Yetenekler için</a>
</li>
<li
data-modal-target="sirket-modal"
data-modal-toggle="sirket-modal"
class="nav-company transition-all hover:bg-accent hover:text-primary rounded-full px-6 py-3 md:text-lg font-semibold text-accent"
>
<a>Şirketler için</a>
</li>
</ul>
</div>
</header>
<!-- NAVBAR END -->
<!-- HERO SECTION -->
<div
class="hero-div overflow-hidden w-screen hero h-screen flex flex-col pt-24 gap-y-20"
>
<div class="flex flex-col justify-center items-center h-full">
<h3
class="line-20 p-12 sm:p-20 z-50 text-accent hero-description font-semibold text-4xl md:text-5xl lg:text-6xl text-center"
>
İşe alım süreçlerini optimize ediyoruz.<br />
Bir ekibe katılırken ya da ekibini büyütürken,<br />
senin kişisel asistanın olmayı hedefliyoruz!
</h3>
</div>
<div
class="gradient h-screen w-screen bg-purple rounded-full"
></div>
<div
class="gradient-2 h-screen w-screen bg-purple rounded-full"
></div>
</div>
<!-- HERO SECTION END -->
<section
class="overflow-hidden bg-primary flex flex-col content-between justify-between py-0"
>
<!-- MARQUEE SECTION -->
<div class="marquee justify-center">
<span class="marquee-text font-bold text-7xl text-accent py-4">
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
</span>
</div>
<!-- FIRST SECTION -->
<div class="section-1 gap-y-20">
<div
class="bg-primary flex flex-col justify-between gap-y-24 mb-32 pt-20"
>
<div class="flex-col flex text-start gap-y-24">
<h1
class="section-1-header text-accent text-8xl font-semibold leading-tight text-start px-20"
>
<span class="text-accent hover:text-white font-bold"
>cool</span
>
ile iş ararken <br />
ne istediğini<br />
daha iyi <br />ifade et.
</h1>
<h3
class="section-1-text text-accent mx-16 text-3xl lg:text-2xl font-medium max-w-3xl"
>
Profilini oluştur, testlerimizi çöz ve sonuçlarının
incelenmesini bekle! Kişisel özelliklerini ve teknik
yeteneklerini en doğru şekilde analiz edeceğiz.
Seni, sana en çok ihtiyaç duyan şirketlere ve en
uyumlu olduğun ekiplere önereceğiz.
</h3>
</div>
<div class="flex canvas-wrapper">
<canvas id="canvas3d"></canvas>
</div>
</div>
</div>
<!-- FIRST SECTION END -->
<!-- SECOND SECTION -->
<div class="section-2 bg-accent flex flex-col gap-y-24">
<div class="marquee-2 justify-center">
<span class="font-bold text-7xl text-primary py-4">
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
COOL COOL COOL COOL COOL COOL COOL COOL COOL COOL
</span>
</div>
<div class="flex-col flex gap-y-24">
<h1
class="section-2-header z-60 text-primary text-8xl font-semibold leading-tight"
>
<span class="text-primary font-bold">cool</span> ile
kariyerinde hep bir adım ileridesin.<br />
</h1>
<h3
class="section-2-text text-end text-primary mx-16 text-4xl font-medium"
>
Çünkü cool becerilerini ve deneyimlerini <br />
en doğru şekilde puanlayacak algoritmalarla<br />
donatıldı. Şirketler ile yetenekleri herhangi <br />bir
aracı olmadan bir araya getirebiliyoruz. <br />
</h3>
</div>
<div class="flex canvas-cool mt-48 ml-20">
<canvas id="canvascool"></canvas>
</div>
</div>
<!-- SECOND SECTION END -->
<!-- CARD SECTION -->
<div class="w-full card-section grid bg-accent px-32 py-56 gap-y-7">
<div
class="border border-primary hover:bg-primary flex rounded-xl [&>h4]:hover:text-accent transition-all"
>
<h4
class="text-primary hover:text-accent text-3xl px-6 text-center font-medium py-12 m-auto transition-all"
>
Mülakat sürelerini kısaltıp
<span class="font-extrabold">IT işe alımlarını</span>
optimize etmeyi sağlar
</h4>
</div>
<div
class="border bg-accent border-primary hover:bg-primary flex rounded-xl [&>h4]:hover:text-accent transition-all"
>
<h4
class="text-primary text-3xl text-center font-medium px-6 py-12 m-auto transition-all"
>
Yeni ve potansiyel yetenekleri
<span class="font-extrabold">keşfetmeyi</span>
sağlar
</h4>
</div>
<div
class="border bg-accent border-primary hover:bg-primary flex rounded-xl [&>h4]:hover:text-accent transition-all"
>
<h4
class="text-primary text-3xl font-medium px-6 py-12 m-auto text-center transition-all"
>
Uyumluluk ve tercihlere saygılı bir
<span class="font-extrabold">eşleştirme</span>
sağlar
</h4>
</div>
</div>
<!-- CARD SECTION END -->
<div class="bg-accent pb-8 px-12 sm:hidden sm:mobile-div">
<div class="mobile2-div">
<ul
class="mobile-nav-ul bg-primary rounded-full border-2 border-accent flex justify-between"
>
<li
data-modal-target="yetenek-modal"
data-modal-toggle="yetenek-modal"
class="mobile-nav-talent transition-all hover:bg-accent hover:text-primary rounded-full px-6 py-3 md:text-lg font-semibold text-accent"
>
<a>Yetenekler için</a>
</li>
<li
data-modal-target="sirket-modal"
data-modal-toggle="sirket-modal"
class="mobile-nav-company transition-all hover:bg-accent hover:text-primary rounded-full px-6 py-3 md:text-lg font-semibold text-accent"
>
<a>Şirketler için</a>
</li>
</ul>
</div>
</div>
</section>
<!-- FOOTER SECTION -->
<div>
<div
class="flex justify-between transition-all py-6 [&>p]:hover:text-primary [&>svg]:hover:fill-primary hover:bg-accent hover:text-accent bg-primary items-center"
>
<svg
class="sm:mx-20 sm:h-14 h-24 mx-12 fill-accent"
id="katman_1"
data-name="katman 1"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 499.25 196"
>
<path
d="M137.11,192.51a2,2,0,0,1-1.45,3.49H95a2,2,0,0,1-2-2V153.3a2.05,2.05,0,0,1,3.5-1.45l8.8,8.8.52-.52a41.52,41.52,0,0,0,0-58.73L91.41,87a5.15,5.15,0,0,1,0-7.28L107.18,64a5.16,5.16,0,0,1,7.29,0l14.35,14.36a74.23,74.23,0,0,1,0,104.85l-.52.52Z"
/>
<path
d="M67.05,121.31,45.73,100A42.48,42.48,0,0,1,34.4,60.37a3.36,3.36,0,0,0-2.18-4A44.05,44.05,0,0,1,11.08,41.25a3.36,3.36,0,0,0-5.79.82,75.9,75.9,0,0,0,16.87,81.48l21.33,21.32a4,4,0,0,0,5.72,0L67.05,127A4,4,0,0,0,67.05,121.31Z"
/>
<path
d="M57.45,39.63A23.14,23.14,0,0,1,42.1,46.38a22.9,22.9,0,0,1-3.41-.1A23.29,23.29,0,0,1,24.6,39.63a23.06,23.06,0,0,1-6.42-12.19,22.23,22.23,0,0,1-.35-2.78A23.25,23.25,0,0,1,24.6,6.78a22.18,22.18,0,0,1,7.65-5.07,23.18,23.18,0,0,1,25.2,5.07A23.55,23.55,0,0,1,57.45,39.63Z"
/>
<path
d="M240.78,144.66q-8.5,0-13.44-6.15t-5-17.32q0-11.31,5-17.46t13.44-6.15a16.61,16.61,0,0,1,9.95,2.9,15.62,15.62,0,0,1,5.74,8h21.34Q274.57,95.32,265,88t-24.11-7.28a39.55,39.55,0,0,0-20.07,5,35.25,35.25,0,0,0-13.73,14.13q-5,9.12-4.94,21.28t4.94,21.28a35.27,35.27,0,0,0,13.73,14.14,39.55,39.55,0,0,0,20.07,5q14.43,0,24-7.49a36.12,36.12,0,0,0,12.87-20.22H256.47Q252.8,144.66,240.78,144.66Z"
/>
<path
d="M359,100a36.73,36.73,0,0,0-14.49-14.21,44.37,44.37,0,0,0-41,0A36.79,36.79,0,0,0,289.05,100a41.68,41.68,0,0,0-5.3,21.2,42.55,42.55,0,0,0,5.16,21.21,36.14,36.14,0,0,0,14.2,14.21,41.28,41.28,0,0,0,20.37,5,42.71,42.71,0,0,0,20.71-5A37.68,37.68,0,0,0,358.9,142.4a40.78,40.78,0,0,0,5.44-21.21A41.58,41.58,0,0,0,359,100Zm-17.87,33.93a19,19,0,0,1-7.57,7.84,20.57,20.57,0,0,1-10.11,2.62,18.37,18.37,0,0,1-14.07-6q-5.6-6-5.59-17.18T309.55,104a18.85,18.85,0,0,1,14.22-6,19.28,19.28,0,0,1,14.34,6q5.88,6,5.87,17.18A26.64,26.64,0,0,1,341.16,133.92Z"
/>
<path
d="M445.56,100a36.79,36.79,0,0,0-14.49-14.21,44.37,44.37,0,0,0-41,0A36.82,36.82,0,0,0,375.57,100a41.67,41.67,0,0,0-5.29,21.2,42.55,42.55,0,0,0,5.15,21.21,36.06,36.06,0,0,0,14.22,14.21,41.17,41.17,0,0,0,20.35,5,42.72,42.72,0,0,0,20.72-5,37.59,37.59,0,0,0,14.7-14.21,40.78,40.78,0,0,0,5.44-21.21A41.68,41.68,0,0,0,445.56,100Zm-17.89,33.93a18.84,18.84,0,0,1-7.56,7.84A20.49,20.49,0,0,1,410,144.38a18.4,18.4,0,0,1-14.07-6q-5.56-6-5.58-17.18c0-7.44,1.92-13.17,5.72-17.18a18.88,18.88,0,0,1,14.21-6,19.29,19.29,0,0,1,14.35,6q5.87,6,5.87,17.18A26.4,26.4,0,0,1,427.67,133.92Z"
/>
<path
d="M499.25,144.88v16.68H486.81a42.94,42.94,0,0,1-5.07-.28l-.18,0q-19.77-2.4-19.76-24V99.5h0V83.24h0V63.87h0v-.31h20V138a7.06,7.06,0,0,0,1.89,5.08q1.92,1.77,6.43,1.77Z"
/>
</svg>
<p class="mx-12 text-accent text-end text-3xl font-semibold">
ÇOK YAKINDA HİZMETİNİZDE
</p>
</div>
</div>
<!-- FOOTER SECTION END -->
<!-- Yetenek Mail Modal -->
<div
id="yetenek-modal"
tabindex="-1"
aria-hidden="true"
class="modal fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-modal md:h-full"
>
<div class="relative w-full h-full max-w-md md:h-auto">
<!-- Modal content -->
<div class="relative bg-primary rounded-lg shadow">
<button
type="button"
class="transition-all absolute top-3 right-2.5 text-accent bg-transparent hover:bg-accent hover:text-primary rounded-lg text-sm p-1.5 ml-auto inline-flex items-center"
data-modal-hide="yetenek-modal"
>
<svg
aria-hidden="true"
class="w-5 h-5"
fill="currentColor"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
clip-rule="evenodd"
></path>
</svg>
</button>
<div class="px-6 py-6 lg:px-8">
<h3 class="mb-4 text-xl font-medium text-accent">
Cool yayınlanınca haberim olsun
</h3>
<form class="space-y-6" name="gsheet-talent-form">
<div class="focus:outline-none">
<label
for="email"
class="block mb-2 text-sm font-medium text-accent"
>Mailiniz</label
>
<input
type="email"
name="email"
id="email"
class="border bg-primary_light border-accent text-gray-900 text-sm rounded-lg block w-full p-2.5"
placeholder="[email protected]"
required
/>
</div>
<div>
<label
for="name"
class="block mb-2 text-sm font-medium text-accent dark:text-white"
>İsminiz</label
>
<input
type="name"
name="name"
id="name"
placeholder="Ugur Akdogan"
class="border bg-primary_light border-accent text-gray-900 text-sm rounded-lg block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-500 dark:text-white"
required
/>
</div>
<button
type="submit"
class="w-full text-primary bg-accent focus:ring-4 focus:outline-none focus-peer:outline-none focus:bg-accent_light focus:text-primary font-medium rounded-lg text-sm px-5 py-2.5 text-center"
>
Haberim olsun
</button>
</form>
</div>
</div>
</div>
</div>
<!-- Yetenek Mail Modal End -->
<!-- Sirket Mail Modal -->
<div
id="sirket-modal"
tabindex="-1"
aria-hidden="true"
class="fixed modal top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-modal md:h-full"
>
<div class="relative w-full h-full max-w-md md:h-auto">
<div class="relative bg-primary rounded-lg shadow">
<!-- Modal close button -->
<button
type="button"
class="transition-all absolute top-3 right-2.5 text-accent bg-transparent hover:bg-accent hover:text-primary rounded-lg text-sm p-1.5 ml-auto inline-flex items-center"
data-modal-hide="sirket-modal"
>
<svg
aria-hidden="true"
class="w-5 h-5"
fill="currentColor"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
clip-rule="evenodd"
></path>
</svg>
</button>
<!-- Modal Content-->
<div class="px-6 py-6 lg:px-8">
<h3 class="mb-4 text-xl font-medium text-accent">
Cool yayınlanınca haberim olsun
</h3>
<form class="space-y-6" name="gsheet-company-form">
<label
for="email"
class="block mb-2 text-sm font-medium text-accent"
>Mailiniz</label
>
<input
type="email"
name="email"
id="email"
class="border border-accent text-gray-900 bg-primary_light text-sm rounded-lg block w-full p-2.5"
placeholder="[email protected]"
required
/>
<label
for="company"
class="block mb-2 text-sm font-medium text-accent"
>Şirket ismi</label
>
<input
type="text"
name="company"
id="company"
class="border border-accent text-gray-900 bg-primary_light text-sm rounded-lg block w-full p-2.5"
placeholder="cool"
required
/>
<label
for="position"
class="block mb-2 text-sm font-medium text-accent"
>Şirketteki Pozisyonunuz</label
>
<input
type="text"
name="position"
id="position"
class="border border-accent text-gray-900 bg-primary_light text-sm rounded-lg block w-full p-2.5"
placeholder="Founding Partner"
required
/>
<button
type="submit"
class="w-full text-primary bg-accent focus:ring-4 focus:outline-none focus-peer:outline-none focus:bg-accent_light focus:text-primary font-medium rounded-lg text-sm px-5 py-2.5 text-center"
>
Haberim olsun
</button>
</form>
</div>
</div>
</div>
</div>
<!-- Sirket Mail Modal End -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/1.6.2/flowbite.js"></script>
<script
async
src="https://unpkg.com/[email protected]/dist/es-module-shims.js"
></script>
<script type="importmap">
{
"imports": {
"@splinetool/runtime": "https://unpkg.com/@splinetool/[email protected]/build/runtime.js"
}
}
</script>
<script>
const scriptURL =
"https://script.google.com/macros/s/AKfycbyrZG8kctMvyjBm3te7XJO-ihwljKgOnxYdT6gmXHyUhO56VPKDJP47WHD9KWzKsQxO/exec";
const talentURL =
"https://script.google.com/macros/s/AKfycbw5p7FgWvhv7XStI70vHmuVNDCVskW1eahy7JVMigFxCk5T01DYR2-3G3LzuuyM7t1e/exec";
const form = document.forms["gsheet-company-form"];
const formTalent = document.forms["gsheet-talent-form"];
form.addEventListener("submit", (e) => {
e.preventDefault();
fetch(scriptURL, {
method: "POST",
mode: "no-cors",
body: new FormData(form),
})
.then((response) => {
console.log("Success!", response);
form.reset();
})
.catch((error) => console.error("Error!", error.message));
});
formTalent.addEventListener("submit", (e) => {
e.preventDefault();
fetch(talentURL, {
method: "POST",
mode: "no-cors",
body: new FormData(formTalent),
})
.then((response) => {
console.log("Success!", response);
formTalent.reset();
})
.catch((error) => console.error("Error!", error.message));
});
</script>
<script type="module" src="./task.js"></script>
</body>
</html>