-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcode.html
More file actions
765 lines (691 loc) · 43.7 KB
/
code.html
File metadata and controls
765 lines (691 loc) · 43.7 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
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
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Star Technology JavaScript</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
background-color:
;
color:
;
overflow-x: hidden;
}
.star {
position: absolute;
background-color: white;
border-radius: 50%;
animation: twinkle 4s infinite;
}
@keyframes twinkle {
0% { opacity: 0.2; }
50% { opacity: 1; }
100% { opacity: 0.2; }
}
.meteor {
position: absolute;
width: 2px;
height: 2px;
background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
transform: rotate(45deg);
animation: meteor 6s linear infinite;
}
@keyframes meteor {
0% {
transform: translateX(0) translateY(0) rotate(45deg);
opacity: 1;
}
70% {
opacity: 1;
}
100% {
transform: translateX(500px) translateY(500px) rotate(45deg);
opacity: 0;
}
}
.planet {
border-radius: 50%;
position: absolute;
box-shadow: inset -10px -10px 20px rgba(0,0,0,0.5);
animation: rotate 30s linear infinite;
}
@keyframes rotate {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.card {
background: rgba(30, 41, 59, 0.7);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.glow {
text-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}
.btn-primary {
background: linear-gradient(90deg,
,
);
transition: all 0.3s ease;
}
.btn-primary:hover {
background: linear-gradient(90deg,
,
);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(56, 189, 248, 0.4);
}
.orbit {
border: 1px dashed rgba(255, 255, 255, 0.2);
border-radius: 50%;
position: absolute;
animation: spin 20s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.feature-icon {
background: linear-gradient(135deg,
,
);
border-radius: 12px;
padding: 12px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 16px;
box-shadow: 0 5px 15px rgba(56, 189, 248, 0.3);
}
</style>
</head>
<body>
<div id="stars-container"></div>
<div id="meteors-container"></div>
<!-- Navigation -->
<nav class="fixed w-full z-50 bg-slate-900/80 backdrop-blur-md border-b border-slate-800">
<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">
<svg class="h-8 w-8 text-blue-500" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 2L15.09 8.26L22 9.27L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9.27L8.91 8.26L12 2Z" fill="currentColor"/>
</svg>
<span class="ml-2 text-xl font-bold text-white">Star Technology</span>
</div>
</div>
<div class="hidden md:flex items-center space-x-8">
<a href="#features" class="text-gray-300 hover:text-white transition-colors">Features</a>
<a href="#solutions" class="text-gray-300 hover:text-white transition-colors">Solutions</a>
<a href="#about" class="text-gray-300 hover:text-white transition-colors">About</a>
<a href="#contact" class="text-gray-300 hover:text-white transition-colors">Contact</a>
</div>
<div class="flex items-center">
<a href="https://" class="btn-primary px-4 py-2 rounded-md text-white font-medium">?</a>
</div>
<div class="md:hidden flex items-center">
<button id="mobile-menu-button" class="text-gray-400 hover:text-white">
<svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path>
</svg>
</button>
</div>
</div>
</div>
<!-- Mobile menu -->
<div id="mobile-menu" class="hidden md:hidden bg-slate-900 border-b border-slate-800">
<div class="px-2 pt-2 pb-3 space-y-1">
<a href="#features" class="block px-3 py-2 rounded-md text-gray-300 hover:text-white hover:bg-slate-800">Features</a>
<a href="#solutions" class="block px-3 py-2 rounded-md text-gray-300 hover:text-white hover:bg-slate-800">Solutions</a>
<a href="#about" class="block px-3 py-2 rounded-md text-gray-300 hover:text-white hover:bg-slate-800">About</a>
<a href="#contact" class="block px-3 py-2 rounded-md text-gray-300 hover:text-white hover:bg-slate-800">Contact</a>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="relative min-h-screen flex items-center justify-center overflow-hidden pt-16">
<div class="absolute inset-0 z-0">
<div class="orbit" style="width: 300px; height: 300px; top: 50%; left: 50%; margin-top: -150px; margin-left: -150px;"></div>
<div class="orbit" style="width: 500px; height: 500px; top: 50%; left: 50%; margin-top: -250px; margin-left: -250px;"></div>
<div class="orbit" style="width: 700px; height: 700px; top: 50%; left: 50%; margin-top: -350px; margin-left: -350px;"></div>
<div class="planet" style="width: 60px; height: 60px; background: linear-gradient(135deg,
,
); top: 30%; left: 20%;"></div>
<div class="planet" style="width: 40px; height: 40px; background: linear-gradient(135deg,
,
); top: 60%; left: 75%;"></div>
<div class="planet" style="width: 30px; height: 30px; background: linear-gradient(135deg,
,
); top: 25%; left: 80%;"></div>
</div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
<div class="text-center">
<h1 class="text-4xl md:text-6xl font-bold mb-6 glow">
<span class="bg-clip-text text-transparent bg-gradient-to-r from-blue-400 to-purple-500">
Star Technology JavaScript
</span>
</h1>
<p class="text-xl md:text-2xl text-gray-300 mb-10 max-w-3xl mx-auto">
Bootstrap your JavaScript projects with our powerful tools and frameworks. Build faster, scale better, and launch sooner.
</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<a href="https://starteknoloji.space" class="px-8 py-3 rounded-md text-white font-medium text-lg border border-white/20 hover:bg-white/10 transition-colors">
View on GitHub
</a>
</div>
<div class="mt-16 relative">
<div class="bg-slate-800/50 backdrop-blur-sm rounded-lg border border-slate-700 p-4 shadow-xl">
<pre class="text-left overflow-x-auto text-sm text-blue-300 font-mono">
<span class="text-purple-400">import</span> <span class="text-green-400">{ StarTech }</span> <span class="text-purple-400">from</span> <span class="text-yellow-300">'@starteknoloji/core'</span>;
<span class="text-gray-400">// Initialize the Star Technology framework</span>
<span class="text-purple-400">const</span> <span class="text-blue-300">app</span> = <span class="text-purple-400">new</span> <span class="text-green-400">StarTech</span>({
<span class="text-blue-300">mode</span>: <span class="text-yellow-300">'production'</span>,
<span class="text-blue-300">plugins</span>: [<span class="text-yellow-300">'analytics'</span>, <span class="text-yellow-300">'performance'</span>]
});
<span class="text-gray-400">// Create a new component</span>
app.<span class="text-green-400">createComponent</span>(<span class="text-yellow-300">'StarButton'</span>, {
<span class="text-blue-300">template</span>: <span class="text-yellow-300">'<button class="star-btn">{{ label }}</button>'</span>,
<span class="text-blue-300">props</span>: {
<span class="text-blue-300">label</span>: <span class="text-yellow-300">'Click me!'</span>
},
<span class="text-blue-300">methods</span>: {
<span class="text-green-400">onClick</span>() {
<span class="text-purple-400">this</span>.<span class="text-green-400">emit</span>(<span class="text-yellow-300">'star-clicked'</span>);
}
}
});
<span class="text-gray-400">// Launch your application</span>
app.<span class="text-green-400">launch</span>();</pre>
</div>
<div class="absolute -bottom-4 left-1/2 transform -translate-x-1/2">
<div class="animate-bounce bg-blue-500 p-2 w-10 h-10 ring-1 ring-slate-200/20 shadow-lg rounded-full flex items-center justify-center">
<svg class="w-6 h-6 text-white" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" stroke="currentColor">
<path d="M19 14l-7 7m0 0l-7-7m7 7V3"></path>
</svg>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section id="features" class="py-20 bg-slate-900">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-3xl md:text-4xl font-bold mb-4 bg-clip-text text-transparent bg-gradient-to-r from-blue-400 to-purple-500">
Powerful Features
</h2>
<p class="text-xl text-gray-300 max-w-3xl mx-auto">
Our JavaScript framework provides everything you need to build modern web applications.
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<div class="card rounded-xl p-6 hover:scale-105 transition-all duration-300">
<div class="feature-icon">
<svg class="w-8 h-8 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path>
</svg>
</div>
<h3 class="text-xl font-semibold mb-2">Lightning Fast</h3>
<p class="text-gray-300">Optimized performance with minimal bundle size for blazing fast load times.</p>
</div>
<div class="card rounded-xl p-6 hover:scale-105 transition-all duration-300">
<div class="feature-icon">
<svg class="w-8 h-8 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"></path>
</svg>
</div>
<h3 class="text-xl font-semibold mb-2">Highly Configurable</h3>
<p class="text-gray-300">Customize every aspect of your application with our flexible configuration system.</p>
</div>
<div class="card rounded-xl p-6 hover:scale-105 transition-all duration-300">
<div class="feature-icon">
<svg class="w-8 h-8 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"></path>
</svg>
</div>
<h3 class="text-xl font-semibold mb-2">Secure by Default</h3>
<p class="text-gray-300">Built-in security features to protect your application from common vulnerabilities.</p>
</div>
<div class="card rounded-xl p-6 hover:scale-105 transition-all duration-300">
<div class="feature-icon">
<svg class="w-8 h-8 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z"></path>
</svg>
</div>
<h3 class="text-xl font-semibold mb-2">Component-Based</h3>
<p class="text-gray-300">Build your UI with reusable components for better maintainability and scalability.</p>
</div>
<div class="card rounded-xl p-6 hover:scale-105 transition-all duration-300">
<div class="feature-icon">
<svg class="w-8 h-8 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 6l3 1m0 0l-3 9a5.002 5.002 0 006.001 0M6 7l3 9M6 7l6-2m6 2l3-1m-3 1l-3 9a5.002 5.002 0 006.001 0M18 7l3 9m-3-9l-6-2m0-2v2m0 16V5m0 16H9m3 0h3"></path>
</svg>
</div>
<h3 class="text-xl font-semibold mb-2">State Management</h3>
<p class="text-gray-300">Powerful state management solution that scales with your application.</p>
</div>
<div class="card rounded-xl p-6 hover:scale-105 transition-all duration-300">
<div class="feature-icon">
<svg class="w-8 h-8 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9"></path>
</svg>
</div>
<h3 class="text-xl font-semibold mb-2">Global Reach</h3>
<p class="text-gray-300">Built-in internationalization and localization support for worldwide applications.</p>
</div>
</div>
</div>
</section>
<!-- Interactive Demo Section -->
<section id="solutions" class="py-20 bg-slate-800/50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-3xl md:text-4xl font-bold mb-4 bg-clip-text text-transparent bg-gradient-to-r from-blue-400 to-purple-500">
Try Our Interactive Demo
</h2>
<p class="text-xl text-gray-300 max-w-3xl mx-auto">
See how easy it is to create beautiful UI components with Star Teknoloji JavaScript.
</p>
</div>
<div class="bg-slate-900 rounded-xl border border-slate-700 p-6 shadow-xl">
<div class="flex flex-col md:flex-row gap-8">
<div class="w-full md:w-1/2">
<h3 class="text-xl font-semibold mb-4">Component Editor</h3>
<div class="bg-slate-800 rounded-lg p-4 h-80 overflow-y-auto">
<div class="flex mb-4">
<button id="btn-template" class="px-4 py-2 bg-blue-600 text-white rounded-l-md hover:bg-blue-700 transition-colors">Template</button>
<button id="btn-script" class="px-4 py-2 bg-slate-700 text-white rounded-r-md hover:bg-slate-600 transition-colors">Script</button>
</div>
<div id="editor-template" class="font-mono text-sm text-blue-300">
<pre><div class="star-card">
<div class="star-header">
<h3>{{ title }}</h3>
</div>
<div class="star-body">
<p>{{ description }}</p>
</div>
<div class="star-footer">
<button @click="onAction">
{{ buttonText }}
</button>
</div>
</div></pre>
</div>
<div id="editor-script" class="font-mono text-sm text-green-300 hidden">
<pre>export default {
props: {
title: String,
description: String,
buttonText: {
type: String,
default: 'Click me'
}
},
methods: {
onAction() {
this.$emit('action-clicked');
console.log('Button clicked!');
}
}
}</pre>
</div>
</div>
</div>
<div class="w-full md:w-1/2">
<h3 class="text-xl font-semibold mb-4">Live Preview</h3>
<div class="bg-slate-800 rounded-lg p-4 h-80 flex items-center justify-center">
<div id="preview" class="w-full max-w-sm">
<div class="bg-white rounded-lg overflow-hidden shadow-lg text-slate-800">
<div class="bg-gradient-to-r from-blue-500 to-purple-600 p-4">
<h3 class="text-xl font-bold text-white" id="preview-title">Amazing Component</h3>
</div>
<div class="p-4">
<p class="text-gray-700" id="preview-description">This is a preview of your component. Try changing the properties below!</p>
</div>
<div class="p-4 bg-gray-50 border-t border-gray-200">
<button id="preview-button" class="px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700 transition-colors">
Click me
</button>
</div>
</div>
</div>
</div>
<div class="mt-4 bg-slate-800 rounded-lg p-4">
<h4 class="text-lg font-medium mb-3">Properties</h4>
<div class="space-y-3">
<div>
<label class="block text-sm font-medium text-gray-300 mb-1">Title</label>
<input id="input-title" type="text" value="Amazing Component" class="w-full px-3 py-2 bg-slate-700 border border-slate-600 rounded-md text-white focus:outline-none focus:ring-2 focus:ring-blue-500">
</div>
<div>
<label class="block text-sm font-medium text-gray-300 mb-1">Description</label>
<input id="input-description" type="text" value="This is a preview of your component. Try changing the properties below!" class="w-full px-3 py-2 bg-slate-700 border border-slate-600 rounded-md text-white focus:outline-none focus:ring-2 focus:ring-blue-500">
</div>
<div>
<label class="block text-sm font-medium text-gray-300 mb-1">Button Text</label>
<input id="input-button" type="text" value="Click me" class="w-full px-3 py-2 bg-slate-700 border border-slate-600 rounded-md text-white focus:outline-none focus:ring-2 focus:ring-blue-500">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- About Section -->
<section id="about" class="py-20 bg-slate-900">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex flex-col md:flex-row gap-12 items-center">
<div class="w-full md:w-1/2">
<h2 class="text-3xl md:text-4xl font-bold mb-6 bg-clip-text text-transparent bg-gradient-to-r from-blue-400 to-purple-500">
About Star Technology
</h2>
<p class="text-xl text-gray-300 mb-6">
We're a team of passionate developers dedicated to creating powerful JavaScript tools and frameworks that help developers build amazing web experiences.
</p>
<p class="text-xl text-gray-300 mb-6">
Our mission is to make web development more accessible, efficient, and enjoyable for developers of all skill levels.
</p>
<div class="flex flex-wrap gap-4 mt-8">
<div class="flex items-center">
<div class="bg-blue-500/20 p-2 rounded-full">
<svg class="w-6 h-6 text-blue-400" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"></path>
</svg>
</div>
<span class="ml-2 text-gray-300">Documentation</span>
</div>
<div class="flex items-center">
<div class="bg-purple-500/20 p-2 rounded-full">
<svg class="w-6 h-6 text-purple-400" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"></path>
</svg>
</div>
<span class="ml-2 text-gray-300">Open Source</span>
</div>
<div class="flex items-center">
<div class="bg-green-500/20 p-2 rounded-full">
<svg class="w-6 h-6 text-green-400" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"></path>
</svg>
</div>
<span class="ml-2 text-gray-300">Community</span>
</div>
</div>
</div>
<div class="w-full md:w-1/2 relative">
<div class="aspect-square max-w-md mx-auto relative">
<div class="absolute inset-0 bg-gradient-to-br from-blue-500/20 to-purple-500/20 rounded-full animate-pulse"></div>
<div class="absolute inset-4 bg-gradient-to-tr from-blue-600/30 to-purple-600/30 rounded-full"></div>
<div class="absolute inset-8 bg-slate-800 rounded-full flex items-center justify-center">
<svg class="w-24 h-24 text-blue-500" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 2L15.09 8.26L22 9.27L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9.27L8.91 8.26L12 2Z" fill="currentColor"/>
</svg>
</div>
<div class="absolute top-1/2 left-0 transform -translate-y-1/2 -translate-x-1/4 w-12 h-12 bg-blue-500 rounded-full opacity-70"></div>
<div class="absolute bottom-0 right-1/4 w-8 h-8 bg-purple-500 rounded-full opacity-70"></div>
<div class="absolute top-1/4 right-0 w-10 h-10 bg-green-500 rounded-full opacity-70"></div>
</div>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="py-20 bg-slate-800/50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-3xl md:text-4xl font-bold mb-4 bg-clip-text text-transparent bg-gradient-to-r from-blue-400 to-purple-500">
Get In Touch
</h2>
<p class="text-xl text-gray-300 max-w-3xl mx-auto">
Have questions about our JavaScript framework? We'd love to hear from you!
</p>
</div>
<div class="bg-slate-900 rounded-xl border border-slate-700 p-8 shadow-xl max-w-3xl mx-auto">
<div class="text-center mb-8">
<div class="inline-block p-3 bg-blue-500/20 rounded-full mb-4">
<svg class="w-8 h-8 text-blue-400" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"></path>
</svg>
</div>
<h3 class="text-2xl font-semibold mb-2">Contact Us</h3>
<p class="text-gray-300">Fill out the form below and we'll get back to you as soon as possible.</p>
<div class="mt-3 flex items-center justify-center">
<svg class="w-5 h-5 text-blue-400 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"></path>
</svg>
<span class="text-blue-400 font-medium">ercetinguler@hotmail.com</span>
</div>
</div>
<form id="contact-form" class="space-y-6">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<label for="name" class="block text-sm font-medium text-gray-300 mb-1">Name</label>
<input type="text" id="name" name="name" class="w-full px-4 py-2 bg-slate-800 border border-slate-700 rounded-md text-white focus:outline-none focus:ring-2 focus:ring-blue-500" placeholder="Your name">
</div>
<div>
<label for="email" class="block text-sm font-medium text-gray-300 mb-1">Email</label>
<input type="email" id="email" name="email" class="w-full px-4 py-2 bg-slate-800 border border-slate-700 rounded-md text-white focus:outline-none focus:ring-2 focus:ring-blue-500" placeholder="your@email.com">
</div>
</div>
<div>
<label for="subject" class="block text-sm font-medium text-gray-300 mb-1">Subject</label>
<input type="text" id="subject" name="subject" class="w-full px-4 py-2 bg-slate-800 border border-slate-700 rounded-md text-white focus:outline-none focus:ring-2 focus:ring-blue-500" placeholder="How can we help?">
</div>
<div>
<label for="message" class="block text-sm font-medium text-gray-300 mb-1">Message</label>
<textarea id="message" name="message" rows="4" class="w-full px-4 py-2 bg-slate-800 border border-slate-700 rounded-md text-white focus:outline-none focus:ring-2 focus:ring-blue-500" placeholder="Your message..."></textarea>
</div>
<div>
<button type="submit" class="w-full btn-primary px-6 py-3 rounded-md text-white font-medium">
Send Message
</button>
</div>
</form>
<div id="form-success" class="hidden mt-6 p-4 bg-green-500/20 border border-green-500/30 rounded-md">
<div class="flex items-center">
<svg class="w-5 h-5 text-green-400 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
</svg>
<p class="text-green-300">Your message has been sent successfully to <span class="font-medium">ercetinguler@hotmail.com</span>! We'll get back to you soon.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-slate-900 border-t border-slate-800 py-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div class="col-span-1 md:col-span-2">
<div class="flex items-center mb-4">
<svg class="h-8 w-8 text-blue-500" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 2L15.09 8.26L22 9.27L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9.27L8.91 8.26L12 2Z" fill="currentColor"/>
</svg>
<span class="ml-2 text-xl font-bold text-white">Star Technology</span>
</div>
<p class="text-gray-400 mb-4">
Building the future of JavaScript development with powerful tools and frameworks.
</p>
<div class="flex items-center mb-4">
<svg class="w-5 h-5 text-blue-400 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"></path>
</svg>
<a href="mailto:ercetinguler@hotmail.com" class="text-blue-400 hover:text-blue-300 transition-colors">ercetinguler@hotmail.com</a>
</div>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white transition-colors">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path fill-rule="evenodd" d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z" clip-rule="evenodd"></path>
</svg>
</a>
<a href="#" class="text-gray-400 hover:text-white transition-colors">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path fill-rule="evenodd" d="M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z" clip-rule="evenodd"></path>
</svg>
</a>
<a href="#" class="text-gray-400 hover:text-white transition-colors">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path d="M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84"></path>
</svg>
</a>
</div>
</div>
<div>
<h3 class="text-lg font-semibold text-white mb-4">Resources</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition-colors">Documentation</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors">Tutorials</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors">Examples</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors">GitHub</a></li
</ul>
</div>
<div>
<h3 class="text-lg font-semibold text-white mb-4">Company</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition-colors">About Us</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors">Blog</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors">Careers</a></li>
<li><a href="#contact" class="text-gray-400 hover:text-white transition-colors">Contact</a></li>
</ul>
</div>
</div>
<div class="mt-12 pt-8 border-t border-slate-800 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400">© 2023 Star Technology. All rights reserved.</p>
<div class="mt-4 md:mt-0 flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white transition-colors">Privacy Policy</a>
<a href="#" class="text-gray-400 hover:text-white transition-colors">Terms of Service</a>
<a href="#" class="text-gray-400 hover:text-white transition-colors">Cookie Policy</a>
</div>
</div>
</div>
</footer>
<script>
// Create stars
function createStars() {
const starsContainer = document.getElementById('stars-container');
const starCount = 100;
for (let i = 0; i < starCount; i++) {
const star = document.createElement('div');
star.classList.add('star');
// Random position
const x = Math.random() * window.innerWidth;
const y = Math.random() * window.innerHeight;
// Random size
const size = Math.random() * 2;
// Random animation delay
const delay = Math.random() * 4;
star.style.left = `${x}px`;
star.style.top = `${y}px`;
star.style.width = `${size}px`;
star.style.height = `${size}px`;
star.style.animationDelay = `${delay}s`;
starsContainer.appendChild(star);
}
}
// Create meteors
function createMeteors() {
const meteorsContainer = document.getElementById('meteors-container');
const meteorCount = 5;
for (let i = 0; i < meteorCount; i++) {
const meteor = document.createElement('div');
meteor.classList.add('meteor');
// Random position
const x = Math.random() * window.innerWidth;
const y = Math.random() * window.innerHeight / 2;
// Random size
const size = Math.random() * 100 + 50;
// Random animation delay
const delay = Math.random() * 15;
meteor.style.left = `${x}px`;
meteor.style.top = `${y}px`;
meteor.style.width = `${size}px`;
meteor.style.height = `2px`;
meteor.style.animationDelay = `${delay}s`;
meteorsContainer.appendChild(meteor);
}
}
// Mobile menu toggle
document.getElementById('mobile-menu-button').addEventListener('click', function() {
const mobileMenu = document.getElementById('mobile-menu');
mobileMenu.classList.toggle('hidden');
});
// Editor tabs
document.getElementById('btn-template').addEventListener('click', function() {
document.getElementById('editor-template').classList.remove('hidden');
document.getElementById('editor-script').classList.add('hidden');
document.getElementById('btn-template').classList.remove('bg-slate-700');
document.getElementById('btn-template').classList.add('bg-blue-600');
document.getElementById('btn-script').classList.remove('bg-blue-600');
document.getElementById('btn-script').classList.add('bg-slate-700');
});
document.getElementById('btn-script').addEventListener('click', function() {
document.getElementById('editor-template').classList.add('hidden');
document.getElementById('editor-script').classList.remove('hidden');
document.getElementById('btn-template').classList.remove('bg-blue-600');
document.getElementById('btn-template').classList.add('bg-slate-700');
document.getElementById('btn-script').classList.remove('bg-slate-700');
document.getElementById('btn-script').classList.add('bg-blue-600');
});
// Preview component properties
document.getElementById('input-title').addEventListener('input', function(e) {
document.getElementById('preview-title').textContent = e.target.value;
});
document.getElementById('input-description').addEventListener('input', function(e) {
document.getElementById('preview-description').textContent = e.target.value;
});
document.getElementById('input-button').addEventListener('input', function(e) {
document.getElementById('preview-button').textContent = e.target.value;
});
// Preview button click
document.getElementById('preview-button').addEventListener('click', function() {
alert('Button clicked! Action triggered.');
});
// Contact form submission
document.getElementById('contact-form').addEventListener('submit', function(e) {
e.preventDefault();
// Simple form validation
const name = document.getElementById('name').value;
const email = document.getElementById('email').value;
const subject = document.getElementById('subject').value;
const message = document.getElementById('message').value;
if (name && email && subject && message) {
// Show success message
const formSuccess = document.getElementById('form-success');
formSuccess.classList.remove('hidden');
formSuccess.innerHTML = `
<div class="flex items-center">
<svg class="w-5 h-5 text-green-400 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
</svg>
<p class="text-green-300">Your message has been sent successfully to <span class="font-medium">ercetinguler@hotmail.com</span>! We'll get back to you soon.</p>
</div>
`;
// Reset form
document.getElementById('contact-form').reset();
// Hide success message after 5 seconds
setTimeout(() => {
document.getElementById('form-success').classList.add('hidden');
}, 5000);
} else {
alert('Please fill in all fields.');
}
});
// Initialize
window.addEventListener('DOMContentLoaded', () => {
createStars();
createMeteors();
});
</script>
</body>
</html>