kritsanan commited on
Commit
9007ec7
·
verified ·
1 Parent(s): 58444dd

# Project Name: Advanced AI Social Media Manager ## Description A comprehensive web application leveraging AI to manage, schedule, and analyze social media posts, with enhanced features for content optimization and customizable analytics. ## Primary Goals Integrate AI-driven content suggestions and post optimization, support customizable dashboards, and utilize machine learning to enhance posting strategies, ensuring a user-friendly, scalable application. ---------------------------------------------------- ## Tech Stack & Environment **Frontend:** Vite + React + TypeScript + Tailwind CSS **Backend:** Supabase (PostgreSQL + Auth) **Target Platform:** Single-Page Application **Framework Versions & Config:** Latest stable versions ---------------------------------------------------- ## Requirements & Features ### Core Features: - AI-driven suggestions for content creation and optimization. - Automated post optimization using analytics insights. - Customizable dashboard for personalized metric displays. - Form for inputting post content, selecting platforms (Twitter, Facebook, Instagram, LinkedIn, TikTok, Pinterest, Snapchat), adding media URLs, and setting a schedule date. - Option to input a Profile Key for multi-user posting. - Display section for post history and analytics dashboard. - Collaborative tools for inviting team members and assigning roles. ### User Flows - User logs in and accesses the main page. - User inputs post details, selects platforms, and schedules the post. - User receives AI-driven content suggestions and optimization tips. - User optionally adds a Profile Key and invites team members for collaboration. - User customizes the analytics dashboard to focus on key metrics. - User submits the form, and the post is saved and scheduled via Ayrshare API. - User views post history and analytics dashboard for performance tracking. ### Business Rules - Posts should only be scheduled for future dates. - Each user and their invited team members should manage posts collaboratively without interference from other teams. - Analytics should be updated in real-time to reflect the latest performance metrics. - AI suggestions should be based on historical post data and current trends. ---------------------------------------------------- ## UI/UX Design ### Layout - Main page with a form on the left, post history and analytics dashboard on the right. - Separate section for team management and role assignments. ### Look & Feel - Modern, responsive design with a blue-white color palette. - Consistent button styling using #3B82F6. - Intuitive dashboard with easy-to-read metrics and graphs. ### Pages - Main page with form, post history, and analytics. - Team Management page for inviting members and assigning roles. - Customization page for dashboard settings. ### Components - Post Input Form - AI Suggestion Panel - Platform Selector - Date Scheduler - Post History Display - Analytics Dashboard - Team Management Tool - Dashboard Customization Tool ---------------------------------------------------- ## Data Model & Supabase Setup ### Database Schema - Posts: id, content, platforms, media_url, schedule_date, profile_key, user_id - History: id, post_id, status, response, created_at - Analytics: id, post_id, engagement_rate, reach, impressions, last_updated - Teams: id, user_id, team_member_id, role - AI_Suggestions: id, post_id, suggestion_type, suggestion_content, created_at ### Row-Level Security Enabled by default ### Auth Requirements - Secure user authentication and authorization using Supabase Auth. - Role-based access control for team management. - Follow Up Deployment

Browse files
Files changed (1) hide show
  1. index.html +310 -436
index.html CHANGED
@@ -3,7 +3,7 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Instructa Academy - Learn AI Software Development</title>
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
  <script>
@@ -11,490 +11,364 @@
11
  theme: {
12
  extend: {
13
  colors: {
14
- primary: '#6366f1',
15
- secondary: '#8b5cf6',
16
- accent: '#ec4899',
17
- dark: '#0f172a',
18
- light: '#f8fafc'
19
  }
20
  }
21
  }
22
  }
23
  </script>
24
  <style>
25
- @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
26
 
27
  body {
28
  font-family: 'Inter', sans-serif;
29
- background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
30
- color: #f8fafc;
31
  }
32
 
33
- .hero-gradient {
34
- background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
35
- }
36
-
37
- .card-gradient {
38
- background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
39
- border: 1px solid rgba(99, 102, 241, 0.2);
40
- box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.25);
41
- }
42
-
43
- .btn-primary {
44
- background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
45
  transition: all 0.3s ease;
46
  }
47
 
48
- .btn-primary:hover {
49
- transform: translateY(-3px);
50
- box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4), 0 8px 10px -6px rgba(99, 102, 241, 0.4);
51
- }
52
-
53
- .btn-secondary {
54
- background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
55
- border: 1px solid rgba(99, 102, 241, 0.3);
56
- }
57
-
58
- .btn-secondary:hover {
59
- background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
60
- }
61
-
62
- .feature-card:hover {
63
  transform: translateY(-5px);
64
- border-color: rgba(99, 102, 241, 0.5);
65
- }
66
-
67
- .lesson-card {
68
- transition: all 0.3s ease;
69
- }
70
-
71
- .lesson-card:hover {
72
- transform: translateY(-8px);
73
- box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -6px rgba(0, 0, 0, 0.25);
74
  }
75
 
76
- .instructor-card {
77
- background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
78
- border: 1px solid rgba(99, 102, 241, 0.2);
 
79
  }
80
 
81
- .newsletter-gradient {
82
- background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
83
- border: 1px solid rgba(99, 102, 241, 0.3);
84
- }
85
-
86
- .pulse {
87
- animation: pulse 2s infinite;
 
 
88
  }
89
 
90
- @keyframes pulse {
91
- 0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
92
- 70% { box-shadow: 0 0 0 15px rgba(99, 102, 241, 0); }
93
- 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
94
  }
95
 
96
- .scroll-gradient {
97
- background: linear-gradient(90deg, transparent, #0f172a, transparent);
 
 
 
 
 
98
  }
99
  </style>
100
  </head>
101
- <body class="min-h-screen">
102
- <!-- Header -->
103
- <header class="py-6 px-4 sm:px-6 lg:px-8">
104
- <div class="max-w-7xl mx-auto flex justify-between items-center">
105
- <div class="flex items-center space-x-2">
106
- <div class="w-10 h-10 rounded-lg bg-gradient-to-br from-primary to-secondary flex items-center justify-center">
107
- <i class="fas fa-graduation-cap text-white text-xl"></i>
108
- </div>
109
- <span class="text-2xl font-bold">Instructa<span class="text-primary">.</span></span>
110
- </div>
111
-
112
- <nav class="hidden md:flex space-x-8">
113
- <a href="#" class="text-gray-300 hover:text-white transition">Courses</a>
114
- <a href="#" class="text-gray-300 hover:text-white transition">Prompts</a>
115
- <a href="#" class="text-gray-300 hover:text-white transition">Community</a>
116
- <a href="#" class="text-gray-300 hover:text-white transition">Blog</a>
117
- </nav>
118
-
119
- <div class="flex items-center space-x-4">
120
- <button class="hidden md:block text-gray-300 hover:text-white transition">Sign In</button>
121
- <button class="px-5 py-2 rounded-lg btn-primary text-white font-medium">Get Started</button>
122
- </div>
123
- </div>
124
- </header>
125
-
126
- <!-- Hero Section -->
127
- <section class="py-16 px-4 sm:px-6 lg:px-8">
128
- <div class="max-w-7xl mx-auto">
129
- <div class="text-center max-w-3xl mx-auto">
130
- <h1 class="text-4xl md:text-6xl font-extrabold leading-tight">
131
- Learn to build software with <span class="hero-gradient bg-clip-text text-transparent">AI</span>, ship fast and see real results
132
- </h1>
133
- <p class="mt-6 text-xl text-gray-300 max-w-2xl mx-auto">
134
- Join the Instructa Academy to master AI-powered development and build real-world applications faster than ever before.
135
- </p>
136
- <div class="mt-10 flex flex-col sm:flex-row justify-center gap-4">
137
- <button class="px-8 py-4 rounded-xl btn-primary text-white font-bold text-lg pulse">
138
- Enter the Academy
139
- </button>
140
- <button class="px-8 py-4 rounded-xl btn-secondary text-white font-bold text-lg">
141
- Get Instant Access
142
- </button>
143
- </div>
144
- </div>
145
- </div>
146
- </section>
147
-
148
- <!-- Features Section -->
149
- <section class="py-16 px-4 sm:px-6 lg:px-8">
150
- <div class="max-w-7xl mx-auto">
151
- <div class="text-center mb-16">
152
- <h2 class="text-3xl md:text-4xl font-bold">Ship projects faster with Instructa Academy</h2>
153
- <p class="mt-4 text-xl text-gray-300 max-w-3xl mx-auto">
154
- The Instructa Academy is for those who want to build real-world applications and games with AI. You'll find here courses, guides, and a helpful community.
155
- </p>
156
- </div>
157
-
158
- <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
159
- <!-- Feature 1 -->
160
- <div class="card-gradient rounded-2xl p-6 feature-card">
161
- <div class="w-14 h-14 rounded-xl bg-primary/20 flex items-center justify-center mb-6">
162
- <i class="fas fa-video text-primary text-2xl"></i>
163
- </div>
164
- <h3 class="text-2xl font-bold mb-3">More than 80 Video lessons</h3>
165
- <p class="text-gray-300">Learn what actually matters to work with AI and get results.</p>
166
- </div>
167
-
168
- <!-- Feature 2 -->
169
- <div class="card-gradient rounded-2xl p-6 feature-card">
170
- <div class="w-14 h-14 rounded-xl bg-secondary/20 flex items-center justify-center mb-6">
171
- <i class="fas fa-sync-alt text-secondary text-2xl"></i>
172
- </div>
173
- <h3 class="text-2xl font-bold mb-3">Ongoing Updates</h3>
174
- <p class="text-gray-300">New content delivered regularly to keep you current.</p>
175
- </div>
176
-
177
- <!-- Feature 3 -->
178
- <div class="card-gradient rounded-2xl p-6 feature-card">
179
- <div class="w-14 h-14 rounded-xl bg-accent/20 flex items-center justify-center mb-6">
180
- <i class="fas fa-tasks text-accent text-2xl"></i>
181
  </div>
182
- <h3 class="text-2xl font-bold mb-3">Pro Planning Prompts</h3>
183
- <p class="text-gray-300">From idea to roadmap with industry-tested prompts.</p>
184
- </div>
185
-
186
- <!-- Feature 4 -->
187
- <div class="card-gradient rounded-2xl p-6 feature-card">
188
- <div class="w-14 h-14 rounded-xl bg-indigo-500/20 flex items-center justify-center mb-6">
189
- <i class="fas fa-users text-indigo-500 text-2xl"></i>
 
190
  </div>
191
- <h3 class="text-2xl font-bold mb-3">Private Community Access</h3>
192
- <p class="text-gray-300">Connect, ask questions and swap ideas with members.</p>
193
  </div>
194
  </div>
195
- </div>
196
- </section>
197
 
198
- <!-- New Lessons Section -->
199
- <section class="py-16 px-4 sm:px-6 lg:px-8">
200
- <div class="max-w-7xl mx-auto">
201
- <div class="flex justify-between items-center mb-12">
202
- <h2 class="text-3xl md:text-4xl font-bold">New Video Lessons</h2>
203
- <button class="px-5 py-2 rounded-lg btn-secondary text-white font-medium">
204
- View All Courses
205
- </button>
206
- </div>
207
-
208
- <div class="relative">
209
- <div class="scroll-gradient absolute top-0 left-0 right-0 h-32 z-10 pointer-events-none"></div>
210
- <div class="scroll-gradient absolute bottom-0 left-0 right-0 h-32 z-10 pointer-events-none rotate-180"></div>
211
-
212
- <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8">
213
- <!-- Lesson 1 -->
214
- <div class="lesson-card card-gradient rounded-2xl overflow-hidden">
215
- <div class="h-48 bg-gradient-to-r from-blue-500 to-purple-600 relative">
216
- <div class="absolute top-4 right-4 bg-white/20 backdrop-blur-sm px-3 py-1 rounded-full text-sm">
217
- <i class="fas fa-play-circle mr-1"></i> New
218
- </div>
219
- </div>
220
- <div class="p-6">
221
- <h3 class="text-xl font-bold mb-2">Add Cursor Rules (Fast)</h3>
222
- <div class="flex items-center mt-4">
223
- <img src="https://a.storyblok.com/f/316774/320x320/e07f300c40/kevinkernegger.jpg" alt="Kevin Kern" class="w-10 h-10 rounded-full">
224
- <div class="ml-3">
225
- <p class="font-medium">Kevin Kern</p>
226
- <p class="text-sm text-gray-400">Ultimate Cursor AI Course</p>
227
  </div>
228
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
229
  </div>
230
  </div>
231
 
232
- <!-- Lesson 2 -->
233
- <div class="lesson-card card-gradient rounded-2xl overflow-hidden">
234
- <div class="h-48 bg-gradient-to-r from-purple-500 to-pink-600 relative">
235
- <div class="absolute top-4 right-4 bg-white/20 backdrop-blur-sm px-3 py-1 rounded-full text-sm">
236
- <i class="fas fa-sync-alt mr-1"></i> Updated
 
 
 
 
 
237
  </div>
238
- </div>
239
- <div class="p-6">
240
- <h3 class="text-xl font-bold mb-2">Learn how to work with latest docs and data in Cursor</h3>
241
- <div class="flex items-center mt-4">
242
- <img src="https://a.storyblok.com/f/316774/320x320/e07f300c40/kevinkernegger.jpg" alt="Kevin Kern" class="w-10 h-10 rounded-full">
243
- <div class="ml-3">
244
- <p class="font-medium">Kevin Kern</p>
245
- <p class="text-sm text-gray-400">Ultimate Cursor AI Course</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
246
  </div>
247
  </div>
248
- </div>
249
- </div>
250
-
251
- <!-- Lesson 3 -->
252
- <div class="lesson-card card-gradient rounded-2xl overflow-hidden">
253
- <div class="h-48 bg-gradient-to-r from-indigo-500 to-blue-600 relative">
254
- <div class="absolute top-4 right-4 bg-white/20 backdrop-blur-sm px-3 py-1 rounded-full text-sm">
255
- <i class="fas fa-star mr-1"></i> Popular
256
- </div>
257
- </div>
258
- <div class="p-6">
259
- <h3 class="text-xl font-bold mb-2">MCP (Model Context Protocol) Course</h3>
260
- <div class="flex items-center mt-4">
261
- <img src="https://a.storyblok.com/f/316774/320x320/e07f300c40/kevinkernegger.jpg" alt="Kevin Kern" class="w-10 h-10 rounded-full">
262
- <div class="ml-3">
263
- <p class="font-medium">Kevin Kern</p>
264
- <p class="text-sm text-gray-400">MCP Course</p>
265
  </div>
266
  </div>
267
  </div>
268
- </div>
269
-
270
- <!-- Lesson 4 -->
271
- <div class="lesson-card card-gradient rounded-2xl overflow-hidden">
272
- <div class="h-48 bg-gradient-to-r from-pink-500 to-rose-600 relative">
273
- <div class="absolute top-4 right-4 bg-white/20 backdrop-blur-sm px-3 py-1 rounded-full text-sm">
274
- <i class="fas fa-bolt mr-1"></i> Quick
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
275
  </div>
276
- </div>
277
- <div class="p-6">
278
- <h3 class="text-xl font-bold mb-2">Project Plans & Specs (PRD, Roadmap, API)</h3>
279
- <div class="flex items-center mt-4">
280
- <img src="https://a.storyblok.com/f/316774/320x320/e07f300c40/kevinkernegger.jpg" alt="Kevin Kern" class="w-10 h-10 rounded-full">
281
- <div class="ml-3">
282
- <p class="font-medium">Kevin Kern</p>
283
- <p class="text-sm text-gray-400">Ultimate Cursor AI Course</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
284
  </div>
 
 
 
 
 
285
  </div>
286
  </div>
287
  </div>
288
  </div>
289
  </div>
290
  </div>
291
- </section>
292
-
293
- <!-- AI Prompts Section -->
294
- <section class="py-16 px-4 sm:px-6 lg:px-8">
295
- <div class="max-w-7xl mx-auto">
296
- <div class="text-center mb-16">
297
- <h2 class="text-3xl md:text-4xl font-bold">AI Prompts</h2>
298
- <p class="mt-4 text-xl text-gray-300 max-w-3xl mx-auto">
299
- Improve your Coding Agent with powerful curated Prompts, Cursor Rules & Guidelines
300
- </p>
301
- <button class="mt-8 px-6 py-3 rounded-lg btn-primary text-white font-medium">
302
- Browse Prompts
303
- </button>
304
- </div>
305
-
306
- <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
307
- <!-- Top Prompt 1 -->
308
- <div class="card-gradient rounded-2xl p-6">
309
- <div class="flex items-start">
310
- <div class="w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center flex-shrink-0">
311
- <i class="fas fa-code text-primary text-xl"></i>
312
- </div>
313
- <div class="ml-4">
314
- <h3 class="text-xl font-bold mb-2">Code Generation Prompt</h3>
315
- <p class="text-gray-300">Generate clean, efficient code based on your requirements.</p>
316
- </div>
317
- </div>
318
- </div>
319
-
320
- <!-- Top Prompt 2 -->
321
- <div class="card-gradient rounded-2xl p-6">
322
- <div class="flex items-start">
323
- <div class="w-12 h-12 rounded-lg bg-secondary/20 flex items-center justify-center flex-shrink-0">
324
- <i class="fas fa-bug text-secondary text-xl"></i>
325
- </div>
326
- <div class="ml-4">
327
- <h3 class="text-xl font-bold mb-2">Debugging Assistant</h3>
328
- <p class="text-gray-300">Identify and fix errors in your code with detailed explanations.</p>
329
- </div>
330
- </div>
331
- </div>
332
-
333
- <!-- Top Prompt 3 -->
334
- <div class="card-gradient rounded-2xl p-6">
335
- <div class="flex items-start">
336
- <div class="w-12 h-12 rounded-lg bg-accent/20 flex items-center justify-center flex-shrink-0">
337
- <i class="fas fa-project-diagram text-accent text-xl"></i>
338
- </div>
339
- <div class="ml-4">
340
- <h3 class="text-xl font-bold mb-2">System Architecture</h3>
341
- <p class="text-gray-300">Design scalable system architectures for your applications.</p>
342
- </div>
343
- </div>
344
- </div>
345
- </div>
346
- </div>
347
- </section>
348
-
349
- <!-- Guides Section -->
350
- <section class="py-16 px-4 sm:px-6 lg:px-8">
351
- <div class="max-w-7xl mx-auto">
352
- <div class="text-center mb-16">
353
- <h2 class="text-3xl md:text-4xl font-bold">Top Guides</h2>
354
- <p class="mt-4 text-xl text-gray-300 max-w-3xl mx-auto">
355
- Proven AI Skills for Profitable Projects
356
- </p>
357
- </div>
358
-
359
- <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
360
- <!-- Guide 1 -->
361
- <div class="card-gradient rounded-2xl p-6">
362
- <div class="flex items-center mb-4">
363
- <div class="w-10 h-10 rounded-lg bg-blue-500/20 flex items-center justify-center">
364
- <i class="fas fa-robot text-blue-500"></i>
365
- </div>
366
- <h3 class="text-xl font-bold ml-3">AI Tool Mastery</h3>
367
- </div>
368
- <p class="text-gray-300">Master the latest AI tools and techniques to accelerate your development workflow.</p>
369
- </div>
370
-
371
- <!-- Guide 2 -->
372
- <div class="card-gradient rounded-2xl p-6">
373
- <div class="flex items-center mb-4">
374
- <div class="w-10 h-10 rounded-lg bg-purple-500/20 flex items-center justify-center">
375
- <i class="fas fa-brain text-purple-500"></i>
376
- </div>
377
- <h3 class="text-xl font-bold ml-3">Prompt Engineering</h3>
378
- </div>
379
- <p class="text-gray-300">Learn advanced prompt techniques to get better results from AI models.</p>
380
- </div>
381
-
382
- <!-- Guide 3 -->
383
- <div class="card-gradient rounded-2xl p-6">
384
- <div class="flex items-center mb-4">
385
- <div class="w-10 h-10 rounded-lg bg-pink-500/20 flex items-center justify-center">
386
- <i class="fas fa-chart-line text-pink-500"></i>
387
- </div>
388
- <h3 class="text-xl font-bold ml-3">AI Project Profitability</h3>
389
- </div>
390
- <p class="text-gray-300">Strategies for monetizing your AI projects and building profitable applications.</p>
391
- </div>
392
- </div>
393
- </div>
394
- </section>
395
-
396
- <!-- Newsletter Section -->
397
- <section class="py-16 px-4 sm:px-6 lg:px-8">
398
- <div class="max-w-7xl mx-auto">
399
- <div class="newsletter-gradient rounded-3xl p-8 md:p-12">
400
- <div class="flex flex-col md:flex-row items-center">
401
- <div class="md:w-1/2 mb-10 md:mb-0">
402
- <h2 class="text-3xl md:text-4xl font-bold mb-4">Learn to build software with AI, ship fast, and see real results.</h2>
403
- <p class="text-gray-300 text-lg">
404
- Every Friday, AI builders learn something new to keep their projects profitable and their skills in demand.
405
- </p>
406
- </div>
407
- <div class="md:w-1/2 md:pl-12">
408
- <div class="flex flex-col sm:flex-row gap-4">
409
- <input type="email" placeholder="Your email address" class="flex-grow px-5 py-4 rounded-xl bg-gray-800 border border-gray-700 focus:outline-none focus:ring-2 focus:ring-primary">
410
- <button class="px-6 py-4 rounded-xl btn-primary text-white font-bold whitespace-nowrap">
411
- Subscribe
412
- </button>
413
- </div>
414
- <p class="mt-4 text-gray-400 text-sm">Join 10,000+ developers learning AI skills every week</p>
415
- </div>
416
- </div>
417
- </div>
418
- </div>
419
- </section>
420
-
421
- <!-- CTA Section -->
422
- <section class="py-20 px-4 sm:px-6 lg:px-8">
423
- <div class="max-w-4xl mx-auto text-center">
424
- <div class="flex justify-center mb-8">
425
- <div class="w-32 h-32 rounded-full overflow-hidden border-4 border-primary/30">
426
- <img src="https://a.storyblok.com/f/316774/930x978/0c2893775d/kevin_kern.png" alt="Kevin Kern" class="w-full h-full object-cover">
427
- </div>
428
- </div>
429
- <h2 class="text-3xl md:text-4xl font-bold mb-6">Start Learning Today</h2>
430
- <p class="text-xl text-gray-300 mb-10 max-w-2xl mx-auto">
431
- Master Cursor AI and accelerate your development workflow
432
- </p>
433
- <button class="px-8 py-4 rounded-xl btn-primary text-white font-bold text-lg pulse">
434
- Get instant access
435
- </button>
436
- </div>
437
- </section>
438
 
439
- <!-- Footer -->
440
- <footer class="py-12 px-4 sm:px-6 lg:px-8 border-t border-gray-800">
441
- <div class="max-w-7xl mx-auto">
442
- <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
443
- <div>
444
- <div class="flex items-center space-x-2 mb-6">
445
- <div class="w-8 h-8 rounded-lg bg-gradient-to-br from-primary to-secondary flex items-center justify-center">
446
- <i class="fas fa-graduation-cap text-white text-lg"></i>
447
- </div>
448
- <span class="text-xl font-bold">Instructa<span class="text-primary">.</span></span>
449
- </div>
450
- <p class="text-gray-400">
451
- Learn to build software with AI, ship fast and see real results.
452
- </p>
453
- </div>
454
-
455
- <div>
456
- <h3 class="text-lg font-bold mb-4">Platform</h3>
457
- <ul class="space-y-3">
458
- <li><a href="#" class="text-gray-400 hover:text-white transition">Courses</a></li>
459
- <li><a href="#" class="text-gray-400 hover:text-white transition">Prompts</a></li>
460
- <li><a href="#" class="text-gray-400 hover:text-white transition">Community</a></li>
461
- <li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li>
462
- </ul>
463
- </div>
464
-
465
- <div>
466
- <h3 class="text-lg font-bold mb-4">Company</h3>
467
- <ul class="space-y-3">
468
- <li><a href="#" class="text-gray-400 hover:text-white transition">About</a></li>
469
- <li><a href="#" class="text-gray-400 hover:text-white transition">Careers</a></li>
470
- <li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li>
471
- <li><a href="#" class="text-gray-400 hover:text-white transition">Partners</a></li>
472
- </ul>
473
- </div>
474
-
475
- <div>
476
- <h3 class="text-lg font-bold mb-4">Connect</h3>
477
- <div class="flex space-x-4">
478
- <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-primary transition">
479
- <i class="fab fa-twitter"></i>
480
- </a>
481
- <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-primary transition">
482
- <i class="fab fa-discord"></i>
483
- </a>
484
- <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-primary transition">
485
- <i class="fab fa-youtube"></i>
486
- </a>
487
- <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-primary transition">
488
- <i class="fab fa-linkedin-in"></i>
489
- </a>
490
- </div>
491
- </div>
492
- </div>
493
-
494
- <div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-500">
495
- <p>© 2023 Instructa Academy. All rights reserved.</p>
496
- </div>
497
- </div>
498
- </footer>
499
  <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=kritsanan/instructa" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
500
  </html>
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Advanced AI Social Media Manager</title>
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
  <script>
 
11
  theme: {
12
  extend: {
13
  colors: {
14
+ primary: '#3B82F6',
15
+ primaryHover: '#2563EB',
16
+ secondary: '#10B981',
17
+ dark: '#1F2937'
 
18
  }
19
  }
20
  }
21
  }
22
  </script>
23
  <style>
24
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
25
 
26
  body {
27
  font-family: 'Inter', sans-serif;
28
+ background-color: #F3F4F6;
 
29
  }
30
 
31
+ .dashboard-card {
 
 
 
 
 
 
 
 
 
 
 
32
  transition: all 0.3s ease;
33
  }
34
 
35
+ .dashboard-card:hover {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  transform: translateY(-5px);
37
+ box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
 
 
 
 
 
 
 
 
 
38
  }
39
 
40
+ .ai-card {
41
+ background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
42
+ opacity: 0;
43
+ animation: slideIn 0.5s ease-out forwards;
44
  }
45
 
46
+ @keyframes slideIn {
47
+ from {
48
+ transform: translateX(20px);
49
+ opacity: 0;
50
+ }
51
+ to {
52
+ transform: translateX(0);
53
+ opacity: 1;
54
+ }
55
  }
56
 
57
+ .progress-ring__circle {
58
+ transition: stroke-dashoffset 0.5s;
59
+ transform: rotate(-90deg);
60
+ transform-origin: 50% 50%;
61
  }
62
 
63
+ .platform-icon {
64
+ width: 32px;
65
+ height: 32px;
66
+ display: flex;
67
+ align-items: center;
68
+ justify-content: center;
69
+ border-radius: 6px;
70
  }
71
  </style>
72
  </head>
73
+ <body class="bg-gray-100">
74
+ <div class="min-h-screen flex flex-col">
75
+ <!-- Header -->
76
+ <header class="bg-white shadow-sm">
77
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
78
+ <div class="flex justify-between items-center py-4">
79
+ <div class="flex items-center">
80
+ <div class="bg-primary w-10 h-10 rounded-lg flex items-center justify-center">
81
+ <i class="fas fa-brain text-white text-xl"></i>
82
+ </div>
83
+ <div class="ml-3">
84
+ <h1 class="text-xl font-bold text-gray-900">SocialSync AI</h1>
85
+ <p class="text-xs text-gray-500">AI-Powered Social Media Manager</p>
86
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  </div>
88
+
89
+ <div class="flex items-center space-x-4">
90
+ <button class="p-2 rounded-full text-gray-500 hover:bg-gray-100">
91
+ <i class="fas fa-bell"></i>
92
+ </button>
93
+ <div class="flex items-center space-x-2">
94
+ <div class="w-8 h-8 bg-gray-200 border-2 border-dashed rounded-xl"></div>
95
+ <span class="text-sm font-medium text-gray-700">Jane Cooper</span>
96
+ </div>
97
  </div>
 
 
98
  </div>
99
  </div>
100
+ </header>
 
101
 
102
+ <!-- Main Content -->
103
+ <div class="flex-1">
104
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6">
105
+ <div class="flex flex-col lg:flex-row gap-6">
106
+ <!-- Left Panel - Form -->
107
+ <div class="lg:w-1/2">
108
+ <div class="bg-white rounded-xl shadow-sm p-6">
109
+ <h2 class="text-xl font-bold text-gray-900 mb-6">Create New Post</h2>
110
+
111
+ <form id="postForm">
112
+ <div class="mb-6">
113
+ <label class="block text-sm font-medium text-gray-700 mb-2">Post Content</label>
114
+ <textarea class="w-full p-3 border border-gray-300 rounded-lg h-40 focus:ring-2 focus:ring-primary focus:border-transparent" placeholder="What would you like to post? (AI will provide content suggestions below)"></textarea>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  </div>
116
+
117
+ <div class="grid grid-cols-2 gap-6 mb-6">
118
+ <div>
119
+ <label class="block text-sm font-medium text-gray-700 mb-2">Schedule Date</label>
120
+ <input type="date" class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent" min="">
121
+ </div>
122
+ <div>
123
+ <label class="block text-sm font-medium text-gray-700 mb-2">Profile Key</label>
124
+ <input type="text" class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent" placeholder="Optional team identifier">
125
+ </div>
126
+ </div>
127
+
128
+ <div class="mb-6">
129
+ <label class="block text-sm font-medium text-gray-700 mb-3">Media URL</label>
130
+ <input type="url" class="w-full p-3 border border-gray-300 rounded-lg mb-2 focus:ring-2 focus:ring-primary focus:border-transparent" placeholder="https://example.com/image.jpg">
131
+ <p class="text-xs text-gray-500">Max 5 images, videos up to 60 seconds</p>
132
+ </div>
133
+
134
+ <div class="mb-6">
135
+ <label class="block text-sm font-medium text-gray-700 mb-3">Select Platforms</label>
136
+ <div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-3" id="platformSelector">
137
+ <!-- Platform selectors will be added dynamically -->
138
+ </div>
139
+ </div>
140
+
141
+ <div class="mb-8 ai-card rounded-xl p-4 text-white">
142
+ <div class="flex items-start mb-3">
143
+ <div class="w-10 h-10 rounded-full bg-white bg-opacity-20 flex items-center justify-center mr-3">
144
+ <i class="fas fa-robot"></i>
145
+ </div>
146
+ <div>
147
+ <h3 class="font-bold">AI Suggestions</h3>
148
+ <p class="text-white text-opacity-80">Powered by GPT-4 model</p>
149
+ </div>
150
+ </div>
151
+ <div class="bg-white bg-opacity-20 p-3 rounded-lg text-sm">
152
+ <p>Based on your audience and historical data, we suggest:</p>
153
+ <ul class="list-disc pl-5 mt-2">
154
+ <li>Consider adding relevant hashtags like #SocialMedia and #AITools</li>
155
+ <li>Post with an image increases engagement by 75% on average</li>
156
+ <li>Optimal posting time: Today at 3:45 PM</li>
157
+ </ul>
158
+ </div>
159
+ </div>
160
+
161
+ <div class="flex justify-between">
162
+ <button type="button" class="flex items-center text-primary hover:text-primaryHover">
163
+ <i class="fas fa-users mr-2"></i>
164
+ Invite Team Members
165
+ </button>
166
+ <button type="submit" class="bg-primary hover:bg-primaryHover text-white px-6 py-3 rounded-lg font-medium transition">
167
+ Schedule Post <i class="fas fa-arrow-right ml-2"></i>
168
+ </button>
169
+ </div>
170
+ </form>
171
  </div>
172
  </div>
173
 
174
+ <!-- Right Panel -->
175
+ <div class="lg:w-1/2">
176
+ <!-- Analytics Dashboard -->
177
+ <div class="bg-white rounded-xl shadow-sm p-6 mb-6">
178
+ <div class="flex justify-between items-center mb-6">
179
+ <h2 class="text-xl font-bold text-gray-900">Performance Dashboard</h2>
180
+ <button class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-3 py-1 rounded-lg text-sm flex items-center">
181
+ <i class="fas fa-sliders-h mr-2"></i>
182
+ Customize
183
+ </button>
184
  </div>
185
+
186
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4">
187
+ <!-- Engagement Rate -->
188
+ <div class="dashboard-card bg-white border border-gray-200 rounded-xl p-4">
189
+ <div class="flex justify-between items-start">
190
+ <div>
191
+ <p class="text-sm text-gray-500 font-medium">Engagement Rate</p>
192
+ <p class="text-2xl font-bold mt-1">24.8% <span class="text-xs text-green-500">↑12.4%</span></p>
193
+ </div>
194
+ <div class="w-10 h-10 bg-blue-100 rounded-lg flex items-center justify-center">
195
+ <i class="fas fa-hand-holding-heart text-primary text-lg"></i>
196
+ </div>
197
+ </div>
198
+ <div class="mt-4">
199
+ <div class="w-full bg-gray-200 rounded-full h-2">
200
+ <div class="bg-primary h-2 rounded-full" style="width: 60%"></div>
201
+ </div>
202
+ </div>
203
+ </div>
204
+
205
+ <!-- Impressions -->
206
+ <div class="dashboard-card bg-white border border-gray-200 rounded-xl p-4">
207
+ <div class="flex justify-between items-start">
208
+ <div>
209
+ <p class="text-sm text-gray-500 font-medium">Impressions</p>
210
+ <p class="text-2xl font-bold mt-1">45.2K <span class="text-xs text-green-500">↑8.3%</span></p>
211
+ </div>
212
+ <div class="w-10 h-10 bg-blue-100 rounded-lg flex items-center justify-center">
213
+ <i class="fas fa-eye text-primary text-lg"></i>
214
+ </div>
215
+ </div>
216
+ <div class="mt-4">
217
+ <div class="w-full bg-gray-200 rounded-full h-2">
218
+ <div class="bg-green-400 h-2 rounded-full" style="width: 75%"></div>
219
+ </div>
220
+ </div>
221
+ </div>
222
+
223
+ <!-- Recent Activity -->
224
+ <div class="dashboard-card bg-white border border-gray-200 rounded-xl p-4">
225
+ <div class="flex justify-between items-start">
226
+ <div>
227
+ <p class="text-sm text-gray-500 font-medium">Recent Activity</p>
228
+ <div class="mt-1">
229
+ <div class="flex items-center">
230
+ <span class="w-2 h-2 bg-blue-500 rounded-full mr-2"></span>
231
+ <p class="text-sm">Post scheduled</p>
232
+ </div>
233
+ <p class="text-xs text-gray-400">Today, 10:30 AM</p>
234
+ <div class="flex items-center mt-2">
235
+ <span class="w-2 h-2 bg-green-500 rounded-full mr-2"></span>
236
+ <p class="text-sm">Post published</p>
237
+ </div>
238
+ <p class="text-xs text-gray-400">Yesterday, 2:45 PM</p>
239
+ </div>
240
+ </div>
241
+ <div class="w-10 h-10 bg-blue-100 rounded-lg flex items-center justify-center">
242
+ <i class="fas fa-history text-primary text-lg"></i>
243
+ </div>
244
+ </div>
245
  </div>
246
  </div>
247
+
248
+ <!-- Mini Graph -->
249
+ <div class="mt-6 p-4 bg-gray-50 rounded-xl">
250
+ <div class="flex justify-between mb-3">
251
+ <p class="font-medium text-gray-700">Engagement Growth (14 days)</p>
252
+ <div class="text-xs">
253
+ <span class="bg-green-100 text-green-800 px-2 py-1 rounded">Organic +11.2%</span>
254
+ </div>
255
+ </div>
256
+ <div class="h-32">
257
+ <svg width="100%" height="100%" class="min-w-[800px]">
258
+ <!-- Simplified graph for demo -->
259
+ <polyline points="0,110 40,75 80,90 120,60 160,85 200,50 240,70 280,40 320,80 360,60 400,50 440,40 480,60" style="fill:none;stroke:#3B82F6;stroke-width:3" />
260
+ </svg>
 
 
 
261
  </div>
262
  </div>
263
  </div>
264
+
265
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
266
+ <!-- Post History -->
267
+ <div class="bg-white rounded-xl shadow-sm p-6">
268
+ <h3 class="font-bold text-lg text-gray-900 mb-4">Recent Posts</h3>
269
+ <div class="space-y-4">
270
+ <!-- Post Item -->
271
+ <div class="border-b pb-4">
272
+ <div class="flex justify-between">
273
+ <p class="font-medium">Just launched our new AI features!</p>
274
+ <span class="text-sm bg-green-100 text-green-800 px-2 py-1 rounded-full">Published</span>
275
+ </div>
276
+ <div class="flex items-center text-gray-500 text-xs mt-2">
277
+ <div class="flex items-center mr-4">
278
+ <i class="fas fa-calendar mr-1"></i>
279
+ <span>Today, 9:15 AM</span>
280
+ </div>
281
+ <div class="flex items-center">
282
+ <i class="fas fa-chart-line mr-1"></i>
283
+ <span>1,294 engagements</span>
284
+ </div>
285
+ </div>
286
+ </div>
287
+
288
+ <!-- Post Item -->
289
+ <div class="border-b pb-4">
290
+ <div class="flex justify-between">
291
+ <p class="font-medium">How are you using AI in marketing?</p>
292
+ <span class="text-sm bg-yellow-100 text-yellow-800 px-2 py-1 rounded-full">Scheduled</span>
293
+ </div>
294
+ <div class="flex items-center text-gray-500 text-xs mt-2">
295
+ <div class="flex items-center mr-4">
296
+ <i class="fas fa-calendar mr-1"></i>
297
+ <span>Tomorrow, 3:00 PM</span>
298
+ </div>
299
+ </div>
300
+ </div>
301
+
302
+ <!-- Post Item -->
303
+ <div>
304
+ <div class="flex justify-between">
305
+ <p class="font-medium">Join our team! We're hiring...</p>
306
+ <span class="text-sm bg-blue-100 text-blue-800 px-2 py-1 rounded-full">Draft</span>
307
+ </div>
308
+ <div class="flex items-center text-gray-500 text-xs mt-2">
309
+ <div class="flex items-center">
310
+ <i class="fas fa-clock mr-1"></i>
311
+ <span>Created 2 days ago</span>
312
+ </div>
313
+ </div>
314
+ </div>
315
+ </div>
316
+ <button class="mt-4 w-full bg-gray-100 hover:bg-gray-200 text-gray-800 py-2 rounded-lg text-sm flex items-center justify-center">
317
+ View All Posts
318
+ <i class="fas fa-arrow-right ml-2 text-xs"></i>
319
+ </button>
320
  </div>
321
+
322
+ <!-- Team Management -->
323
+ <div class="bg-white rounded-xl shadow-sm p-6">
324
+ <h3 class="font-bold text-lg text-gray-900 mb-4">Team Members</h3>
325
+ <div class="space-y-4">
326
+ <!-- Team Member -->
327
+ <div class="flex items-center">
328
+ <div class="w-10 h-10 rounded-full bg-gray-200 border-2 border-dashed flex items-center justify-center text-gray-500 mr-3">
329
+ <i class="fas fa-user"></i>
330
+ </div>
331
+ <div class="flex-1">
332
+ <p class="font-medium">John Doe</p>
333
+ <p class="text-xs text-gray-500">Content Manager</p>
334
+ </div>
335
+ <div class="text-xs bg-gray-100 px-2 py-1 rounded">Edit</div>
336
+ </div>
337
+
338
+ <!-- Team Member -->
339
+ <div class="flex items-center">
340
+ <div class="w-10 h-10 rounded-full bg-gray-200 border-2 border-dashed flex items-center justify-center text-gray-500 mr-3">
341
+ <i class="fas fa-user"></i>
342
+ </div>
343
+ <div class="flex-1">
344
+ <p class="font-medium">Jane Smith</p>
345
+ <p class="text-xs text-gray-500">Analytics Specialist</p>
346
+ </div>
347
+ <div class="text-xs bg-gray-100 px-2 py-1 rounded">Edit</div>
348
+ </div>
349
  </div>
350
+
351
+ <button class="mt-4 w-full bg-secondary hover:bg-green-500 text-white py-2 rounded-lg font-medium transition flex items-center justify-center">
352
+ <i class="fas fa-plus mr-2"></i>
353
+ Invite Team Member
354
+ </button>
355
  </div>
356
  </div>
357
  </div>
358
  </div>
359
  </div>
360
  </div>
361
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
362
 
363
+ <script>
364
+ // Set min date for schedule
365
+ const today = new Date();
366
+ const formattedDate = today.toISOString().split('T')[0];
367
+ document.querySelector('input[type="date"]').min = formattedDate;
368
+
369
+ // Platform data
370
+ const platforms = [
371
+ { name: 'Twitter', color: 'bg-blue-400', icon: 'fab fa-twitter' },
372
+ {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
373
  <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=kritsanan/instructa" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
374
  </html>