-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
318 lines (288 loc) · 13.2 KB
/
index.html
File metadata and controls
318 lines (288 loc) · 13.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>IncubatorOP - Project Progress Tracker</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
inter: ["Inter", "sans-serif"],
},
colors: {
"poppy-red": "#FF3366",
"poppy-yellow": "#FFDD00",
"poppy-blue": "#00A3FF",
"poppy-green": "#00FF7F",
},
},
},
};
</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-N241H6LN7N"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-N241H6LN7N');
</script>
<style>
.neubrutalism {
box-shadow: 5px 5px 0px #000000;
border: 3px solid #000000;
}
@keyframes subtle-pulse {
0%,
100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}
@keyframes subtle-color-shift {
0%,
100% {
color: #FF0000;
}
50% {
color: #FF3333;
}
}
.animate-op {
display: inline-block;
animation: subtle-pulse 2s infinite, subtle-color-shift 2s infinite;
color: #FF0000;
font-weight: 900;
letter-spacing: 2px;
text-transform: uppercase;
position: relative;
}
.animate-op::after {
content: 'OP';
position: absolute;
top: 0;
left: 0;
color: #FF0000;
filter: blur(4px);
opacity: 0.5;
animation: subtle-pulse 2s infinite reverse;
}
.loader-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.loader {
border: 8px solid #f3f3f3;
border-top: 8px solid #FF3366;
/* poppy-red */
border-radius: 50%;
width: 50px;
height: 50px;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
<script src="https://unpkg.com/@supabase/supabase-js@2"></script>
</head>
<body class="font-inter bg-poppy-yellow-10 text-black min-h-screen flex flex-col">
<div id="loader" class="loader-container">
<div class="loader"></div>
</div>
<main class="flex-grow container mx-auto px-4 py-12">
<div class="flex flex-col md:flex-row justify-between items-center mb-12 space-y-6 md:space-y-0">
<div class="animate__animated animate__fadeIn flex justify-between items-center w-full">
<div class="text-left">
<h1 class="text-4xl md:text-6xl font-bold">
<span class="text-black">Incubator</span><span class="animate-op">OP</span>
</h1>
</div>
<div class="flex space-x-4">
<a href="https://discord.gg/PZZEzDGWed" target="_blank" rel="noopener noreferrer"
class="neubrutalism bg-white text-black px-4 py-2 sm:px-6 sm:py-3 text-sm sm:text-base lg:text-lg font-bold rounded hover:bg-[#5865F2] hover:text-white transition-colors duration-300 text-center">
Join our Discord
</a>
<a href="https://github.com/daytimedrinkingclub" target="_blank" rel="noopener noreferrer"
class="neubrutalism bg-white text-black px-4 py-2 sm:px-6 sm:py-3 text-sm sm:text-base lg:text-lg font-bold rounded hover:bg-[#2da44e] hover:text-white transition-colors duration-300 text-center">
Star us on GitHub
</a>
</div>
</div>
</div>
<div class="flex flex-col md:flex-row justify-between items-start space-y-6 md:space-y-0 md:space-x-6">
<div class="w-full md:w-1/2 mb-6 px-4 md:px-0">
<p class="text-sm sm:text-base lg:text-lg max-w-2xl mx-auto md:mx-0 text-gray-700 mb-4">
IncubatorOP is one of first Value Capital firm where a group of 350+ talented developers, designers, product &
marketing folks invest their value in form of time as well as technology. We help people who want to build
and get started on their founder journey with minimal risk at record time to go live.
</p>
<p class="text-sm sm:text-base lg:text-lg max-w-2xl mx-auto md:mx-0 text-gray-700">
IncubatorOP keeps 10% equity as a team in all the companies & the founder/CEO gets to keep 90% of the equity.
</p>
</div>
<div class="w-full md:w-1/2 animate__animated animate__fadeInRight">
<div class="neubrutalism bg-white p-6 rounded-lg max-w-sm mx-auto md:ml-auto">
<h2 class="text-2xl font-bold mb-2">Hire IncubatorOP</h2>
<p class="text-gray-700 mb-4">Get expert help to accelerate your startup journey.</p>
<a href="https://calendly.com/admin-teacherop/" target="_blank" rel="noopener noreferrer"
class="neubrutalism bg-poppy-blue text-white px-4 py-2 rounded font-bold hover:bg-poppy-red transition-colors duration-300 inline-block">
Schedule a Call
</a>
</div>
</div>
</div>
<div class="flex flex-col items-center mb-8">
<div class="flex items-center">
<h2 class="text-3xl md:text-4xl font-bold mr-4">Portfolio</h2>
<span class="inline-flex items-center bg-poppy-red text-white text-sm px-3 py-1 rounded-full neubrutalism">
96 projects
</span>
</div>
</div>
<div id="project-list"
class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 animate__animated animate__fadeIn animate__delay-1s">
<!-- Project cards will be dynamically added here -->
</div>
</main>
<footer class="bg-black text-white py-4 text-center">
<p>© 2024 IncubatorOP. All rights reserved.</p>
</footer>
<script>
const SUPABASE_URL = 'https://supabasekong-incubatorop.badalhibadal.com'
const SUPABASE_ANON_KEY = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzdXBhYmFzZSIsImlhdCI6MTcyNjUwMTMyMCwiZXhwIjo0ODgyMTc0OTIwLCJyb2xlIjoiYW5vbiJ9.qibqaFXdZj2872GHvPJrbdy26RCSx2rOSvkq-X7LNfU'
const supabaseClient = supabase.createClient(SUPABASE_URL, SUPABASE_ANON_KEY)
async function loadProjects() {
const loader = document.getElementById('loader');
loader.style.display = 'flex'; // Show loader
const { data: projects, error } = await supabaseClient
.from('Products')
.select(`
id,
name,
url,
badge_text,
badge_url,
status,
github_url,
description,
cto_id,
People:ceo_id (id, name, linkedin_url, x_url)
`)
.order('position', { ascending: true })
if (error) {
console.error('Error fetching projects:', error)
loader.style.display = 'none'; // Hide loader on error
return
}
// Fetch CTO data separately
const ctoIds = projects.map(project => project.cto_id).filter(id => id !== null)
const { data: ctoData, error: ctoError } = await supabaseClient
.from('People')
.select('id, name, linkedin_url, x_url')
.in('id', ctoIds)
if (ctoError) {
console.error('Error fetching CTO data:', ctoError)
loader.style.display = 'none'; // Hide loader on error
return
}
// Create a map of CTO data for quick lookup
const ctoMap = new Map(ctoData.map(cto => [cto.id, cto]))
const projectList = document.getElementById("project-list");
projects.forEach((project) => {
const card = document.createElement("div");
card.className =
"bg-white rounded-lg p-6 neubrutalism transition-all duration-300 hover:translate-x-1 hover:translate-y-1 hover:shadow-none";
card.innerHTML = `
<div class="flex justify-between items-start mb-3">
<h2 class="text-2xl font-bold">
${project.url
? `<a href="${project.url}" target="_blank" class="text-poppy-blue hover:text-poppy-red transition-colors duration-300 inline-flex items-center">
${project.name}
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 ml-1" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14" />
</svg>
</a>`
: project.name
}
</h2>
${project.badge_text && project.badge_url
? `<a href="${project.badge_url}" target="_blank" class="inline-block">
<span class="bg-poppy-red text-white px-3 py-1 text-sm font-bold rounded hover:bg-poppy-blue transition-colors duration-300">
${project.badge_text}
</span>
</a>`
: ""
}
</div>
<div class="mb-4 flex items-center">
<span class="inline-flex items-center ${project.status === 'Live' ? 'bg-poppy-green' : 'bg-gray-100'} text-black px-3 py-1 text-sm font-bold rounded">
${project.status}
</span>
${project.github_url
? `<a href="${project.github_url}" target="_blank" rel="noopener noreferrer" class="inline-flex items-center ml-2">
<span class="bg-gray-800 text-white px-3 py-1 text-sm font-bold rounded hover:bg-gray-700 transition-colors duration-300 flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" fill="currentColor" viewBox="0 0 24 24">
<path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/>
</svg>
Star on GitHub
</span>
</a>`
: ''
}
</div>
</div>
<p class="mb-4">${project.description || ''}</p>
<div class="space-y-2">
${[project.People, ctoMap.get(project.cto_id)].map((member, index) => `
<div class="flex items-center justify-between border-t-2 border-black pt-2">
<span class="text-sm font-bold">${index === 0 ? 'CEO' : 'CTO'} - ${member ? member.name : 'N/A'}</span>
<div class="flex space-x-2">
${member && member.linkedin_url
? `<a href="${member.linkedin_url}" target="_blank" rel="noopener noreferrer" class="text-poppy-blue hover:text-poppy-red">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="currentColor" viewBox="0 0 24 24">
<path d="M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"/>
</svg>
</a>`
: ''
}
${member && member.x_url
? `<a href="${member.x_url}" target="_blank" rel="noopener noreferrer" class="text-poppy-blue hover:text-poppy-red">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="currentColor" viewBox="0 0 24 24">
<path d="M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.179 0-5.515 2.966-4.797 6.045-4.091-.205-7.719-2.165-10.148-5.144-1.29 2.213-.669 5.108 1.523 6.574-.806-.026-1.566-.247-2.229-.616-.054 2.281 1.581 4.415 3.949 4.89-.693.188-1.452.232-2.224.084.626 1.956 2.444 3.379 4.6 3.419-2.07 1.623-4.678 2.348-7.29 2.04 2.179 1.397 4.768 2.212 7.548 2.212 9.142 0 14.307-7.721 13.995-14.646.962-.695 1.797-1.562 2.457-2.549z"/>
</svg>
</a>`
: ''
}
</div>
</div>
`).join('')}
</div>
`;
projectList.appendChild(card);
});
loader.style.display = 'none'; // Hide loader when done
}
document.addEventListener("DOMContentLoaded", loadProjects);
</script>
</body>
</html>