Capermint commited on
Commit
5e56ea4
ยท
verified ยท
1 Parent(s): 39c4cc4

please complete the code

Browse files
Files changed (2) hide show
  1. index.html +142 -18
  2. script.js +39 -2
index.html CHANGED
@@ -1,19 +1,143 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Top 21 Game Development Companies in GCC | 2025 Directory</title>
8
+ <meta name="description" content="Discover the leading game development companies across Saudi Arabia, UAE, Qatar, Kuwait, Bahrain, and Oman. Expert reviews, ratings, and company profiles.">
9
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
10
+ <link rel="stylesheet" href="style.css">
11
+ <script src="https://cdn.tailwindcss.com"></script>
12
+ <script src="https://unpkg.com/feather-icons"></script>
13
+ <script>
14
+ tailwind.config = {
15
+ theme: {
16
+ extend: {
17
+ colors: {
18
+ primary: '#6366f1',
19
+ secondary: '#8b5cf6',
20
+ accent: '#ec4899',
21
+ dark: '#0f172a',
22
+ darker: '#020617'
23
+ }
24
+ }
25
+ }
26
+ }
27
+ </script>
28
+ <style>
29
+ body {
30
+ background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
31
+ min-height: 100vh;
32
+ }
33
+ .hero-gradient {
34
+ background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(236, 72, 153, 0.05) 100%);
35
+ }
36
+ </style>
37
+ </head>
38
+ <body class="text-white antialiased">
39
+ <!-- Hero Section -->
40
+ <header class="hero-gradient relative overflow-hidden">
41
+ <div class="absolute inset-0 opacity-30">
42
+ <div class="floating-orb absolute top-20 left-10 w-72 h-72 bg-primary/20 rounded-full blur-3xl"></div>
43
+ <div class="floating-orb absolute bottom-20 right-10 w-96 h-96 bg-secondary/20 rounded-full blur-3xl" style="animation-delay: -2s;"></div>
44
+ <div class="floating-orb absolute top-1/2 left-1/2 w-64 h-64 bg-accent/10 rounded-full blur-3xl" style="animation-delay: -4s;"></div>
45
+ </div>
46
+
47
+ <div class="relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16 sm:py-24">
48
+ <div class="text-center animate-fade-in">
49
+ <div class="inline-flex items-center gap-2 px-4 py-2 rounded-full bg-white/5 border border-white/10 mb-6">
50
+ <i data-feather="award" class="w-4 h-4 text-yellow-400"></i>
51
+ <span class="text-sm font-medium text-white/80">2025 Edition</span>
52
+ </div>
53
+
54
+ <h1 class="text-4xl sm:text-5xl lg:text-7xl font-bold mb-6 leading-tight">
55
+ <span class="bg-clip-text text-transparent bg-gradient-to-r from-primary via-secondary to-accent">Top 21 Game Dev</span>
56
+ <br>
57
+ <span class="text-white">Companies in GCC</span>
58
+ </h1>
59
+
60
+ <p class="text-lg sm:text-xl text-white/60 max-w-3xl mx-auto mb-8 leading-relaxed">
61
+ Discover the elite game development studios powering the Middle East's gaming revolution.
62
+ From Riyadh to Dubai, explore verified reviews, ratings, and expertise.
63
+ </p>
64
+
65
+ <!-- Stats Bar -->
66
+ <div class="flex flex-wrap justify-center gap-8 sm:gap-12 mt-12">
67
+ <div class="text-center">
68
+ <div class="text-3xl sm:text-4xl font-bold text-white mb-1">21</div>
69
+ <div class="text-sm text-white/50 uppercase tracking-wider">Companies</div>
70
+ </div>
71
+ <div class="text-center">
72
+ <div class="text-3xl sm:text-4xl font-bold text-white mb-1">6</div>
73
+ <div class="text-sm text-white/50 uppercase tracking-wider">Countries</div>
74
+ </div>
75
+ <div class="text-center">
76
+ <div class="text-3xl sm:text-4xl font-bold text-white mb-1">500+</div>
77
+ <div class="text-sm text-white/50 uppercase tracking-wider">Games Delivered</div>
78
+ </div>
79
+ <div class="text-center">
80
+ <div class="text-3xl sm:text-4xl font-bold text-white mb-1">4.6</div>
81
+ <div class="text-sm text-white/50 uppercase tracking-wider">Avg Rating</div>
82
+ </div>
83
+ </div>
84
+ </div>
85
+ </div>
86
+ </header>
87
+
88
+ <!-- Filter Section -->
89
+ <section class="sticky top-0 z-40 backdrop-blur-xl bg-dark/80 border-b border-white/5">
90
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
91
+ <div class="flex flex-wrap items-center justify-center gap-2">
92
+ <button class="filter-btn active px-4 py-2 rounded-full text-sm font-medium transition-all" data-filter="all">
93
+ All Countries
94
+ </button>
95
+ <button class="filter-btn px-4 py-2 rounded-full text-sm font-medium transition-all" data-filter="saudi">
96
+ ๐Ÿ‡ธ๐Ÿ‡ฆ Saudi Arabia
97
+ </button>
98
+ <button class="filter-btn px-4 py-2 rounded-full text-sm font-medium transition-all" data-filter="uae">
99
+ ๐Ÿ‡ฆ๐Ÿ‡ช UAE
100
+ </button>
101
+ <button class="filter-btn px-4 py-2 rounded-full text-sm font-medium transition-all" data-filter="qatar">
102
+ ๐Ÿ‡ถ๐Ÿ‡ฆ Qatar
103
+ </button>
104
+ <button class="filter-btn px-4 py-2 rounded-full text-sm font-medium transition-all" data-filter="kuwait">
105
+ ๐Ÿ‡ฐ๐Ÿ‡ผ Kuwait
106
+ </button>
107
+ <button class="filter-btn px-4 py-2 rounded-full text-sm font-medium transition-all" data-filter="bahrain">
108
+ ๐Ÿ‡ง๐Ÿ‡ญ Bahrain
109
+ </button>
110
+ <button class="filter-btn px-4 py-2 rounded-full text-sm font-medium transition-all" data-filter="oman">
111
+ ๐Ÿ‡ด๐Ÿ‡ฒ Oman
112
+ </button>
113
+ </div>
114
+ </div>
115
+ </section>
116
+
117
+ <!-- Companies Grid -->
118
+ <main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
119
+ <div id="companies-grid" class="space-y-6">
120
+ <!-- Companies will be rendered here by JavaScript -->
121
+ </div>
122
+ </main>
123
+
124
+ <!-- Footer -->
125
+ <footer class="border-t border-white/5 mt-20">
126
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
127
+ <div class="flex flex-col md:flex-row justify-between items-center gap-6">
128
+ <div class="text-center md:text-left">
129
+ <h3 class="text-lg font-semibold text-white mb-2">GCC Game Dev Directory</h3>
130
+ <p class="text-white/50 text-sm">Your trusted source for game development talent in the Middle East.</p>
131
+ </div>
132
+ <div class="flex items-center gap-6 text-white/50 text-sm">
133
+ <span>ยฉ 2025 GCC Game Dev Directory</span>
134
+ <span>โ€ข</span>
135
+ <span>Data updated January 2025</span>
136
+ </div>
137
+ </div>
138
+ </div>
139
+ </footer>
140
+
141
+ <script src="script.js"></script>
142
+ </body>
143
  </html>
script.js CHANGED
@@ -707,6 +707,43 @@ function initializeFilters() {
707
  });
708
  });
709
  }
710
-
711
  // Scroll Animations
712
- function initializeAnimations() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
707
  });
708
  });
709
  }
 
710
  // Scroll Animations
711
+ function initializeAnimations() {
712
+ // Intersection Observer for scroll animations
713
+ const observerOptions = {
714
+ root: null,
715
+ rootMargin: '0px',
716
+ threshold: 0.1
717
+ };
718
+
719
+ const observer = new IntersectionObserver((entries) => {
720
+ entries.forEach(entry => {
721
+ if (entry.isIntersecting) {
722
+ entry.target.classList.add('animate-fade-in-up');
723
+ observer.unobserve(entry.target);
724
+ }
725
+ });
726
+ }, observerOptions);
727
+
728
+ // Observe company cards
729
+ setTimeout(() => {
730
+ document.querySelectorAll('.company-card').forEach((card, index) => {
731
+ card.style.animationDelay = `${index * 0.1}s`;
732
+ observer.observe(card);
733
+ });
734
+ }, 100);
735
+ }
736
+
737
+ // Smooth scroll for anchor links
738
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
739
+ anchor.addEventListener('click', function (e) {
740
+ e.preventDefault();
741
+ const target = document.querySelector(this.getAttribute('href'));
742
+ if (target) {
743
+ target.scrollIntoView({
744
+ behavior: 'smooth',
745
+ block: 'start'
746
+ });
747
+ }
748
+ });
749
+ });