alterzick commited on
Commit
76dd5f1
·
verified ·
1 Parent(s): 9173a27

Microverse – MVP Description

Browse files

Goal: Build a platform where users of all ages can create, share, and enjoy micro-creations instantly. The focus is on fun, virality, and ease of use.

Users
Children, teenagers, adults

Creators who want to make mini-games, stories, music loops, comics, or interactive content

Core Features (MVP)
Creation Editor

Drag-and-drop interface

Users can create:

Mini-games (simple mechanics like memory games, quizzes, or puzzles)

Interactive stories

Micro-comics

Short animations or loops

Simple music loops

Optional: AI-assisted suggestions (effects, improvements, music, animations)

Sharing

Share creations instantly via link

Play, view, or interact with other users’ creations

Viral element: shared content spreads automatically

Gamification

Badges and achievements for creating, sharing, and playing content

Leaderboards for top creations or top users

User Accounts

Optional signup to save creations

Profiles showing badges, levels, and shared creations

Basic Monetization

Freemium: free to create/play, optional premium assets (templates, effects, sounds)

Technical Notes
Should work on web and mobile (responsive design)

Backend must store creations and allow instant sharing

AI module (optional for MVP) can suggest improvements or generate templates

MVP Scope (Minimum Required)
Single-page editor for creating 1 type of micro-creation (e.g., mini-game)

Ability to save and share via link

Simple leaderboard

Basic user accounts (optional login)

Everything else (animations, music, multiple types) can be added in later versions. And i dont know why is stucked thinking already over 10 min stuck with the part of code of javascript

Files changed (2) hide show
  1. editor.html +299 -0
  2. index.html +243 -264
editor.html ADDED
@@ -0,0 +1,299 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>MicroCreations Editor</title>
7
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <style>
10
+ .tool-btn {
11
+ transition: all 0.2s ease;
12
+ }
13
+ .tool-btn:hover {
14
+ transform: scale(1.05);
15
+ background-color: #e2e8f0;
16
+ }
17
+ .draggable {
18
+ position: absolute;
19
+ cursor: move;
20
+ user-select: none;
21
+ }
22
+ #creationCanvas {
23
+ background-color: #f8fafc;
24
+ min-height: 400px;
25
+ position: relative;
26
+ overflow: hidden;
27
+ }
28
+ </style>
29
+ </head>
30
+ <body class="bg-gray-100">
31
+ <!-- Editor Navigation -->
32
+ <nav class="bg-indigo-600 text-white shadow-lg">
33
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
34
+ <div class="flex justify-between h-16 items-center">
35
+ <div class="flex items-center">
36
+ <div class="flex-shrink-0 flex items-center">
37
+ <i class="fas fa-magic text-2xl mr-2"></i>
38
+ <span class="text-xl font-bold">MicroCreations Editor</span>
39
+ </div>
40
+ </div>
41
+ <div class="flex items-center space-x-4">
42
+ <button id="saveBtn" class="bg-indigo-700 hover:bg-indigo-800 px-4 py-2 rounded-lg text-sm font-medium">
43
+ <i class="fas fa-save mr-2"></i> Save
44
+ </button>
45
+ <button id="publishBtn" class="bg-white text-indigo-600 hover:bg-gray-100 px-4 py-2 rounded-lg text-sm font-medium">
46
+ <i class="fas fa-share-alt mr-2"></i> Publish
47
+ </button>
48
+ </div>
49
+ </div>
50
+ </div>
51
+ </nav>
52
+
53
+ <!-- Editor Main Area -->
54
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6">
55
+ <div class="grid grid-cols-1 lg:grid-cols-4 gap-6">
56
+ <!-- Tools Panel -->
57
+ <div class="lg:col-span-1 bg-white rounded-lg shadow-md p-4">
58
+ <h3 class="text-lg font-bold mb-4 text-gray-800">Create Your Mini Game</h3>
59
+
60
+ <div class="mb-6">
61
+ <h4 class="font-medium mb-2 text-gray-700">Elements</h4>
62
+ <div class="grid grid-cols-2 gap-2">
63
+ <button data-type="character" class="tool-btn bg-gray-100 p-3 rounded-lg flex flex-col items-center">
64
+ <i class="fas fa-user text-xl mb-1 text-blue-500"></i>
65
+ <span class="text-xs">Character</span>
66
+ </button>
67
+ <button data-type="enemy" class="tool-btn bg-gray-100 p-3 rounded-lg flex flex-col items-center">
68
+ <i class="fas fa-ghost text-xl mb-1 text-red-500"></i>
69
+ <span class="text-xs">Enemy</span>
70
+ </button>
71
+ <button data-type="platform" class="tool-btn bg-gray-100 p-3 rounded-lg flex flex-col items-center">
72
+ <i class="fas fa-square text-xl mb-1 text-green-500"></i>
73
+ <span class="text-xs">Platform</span>
74
+ </button>
75
+ <button data-type="collectible" class="tool-btn bg-gray-100 p-3 rounded-lg flex flex-col items-center">
76
+ <i class="fas fa-star text-xl mb-1 text-yellow-500"></i>
77
+ <span class="text-xs">Collectible</span>
78
+ </button>
79
+ <button data-type="text" class="tool-btn bg-gray-100 p-3 rounded-lg flex flex-col items-center">
80
+ <i class="fas fa-font text-xl mb-1 text-purple-500"></i>
81
+ <span class="text-xs">Text</span>
82
+ </button>
83
+ <button data-type="background" class="tool-btn bg-gray-100 p-3 rounded-lg flex flex-col items-center">
84
+ <i class="fas fa-image text-xl mb-1 text-pink-500"></i>
85
+ <span class="text-xs">Background</span>
86
+ </button>
87
+ </div>
88
+ </div>
89
+
90
+ <div class="mb-6">
91
+ <h4 class="font-medium mb-2 text-gray-700">Game Logic</h4>
92
+ <div class="space-y-2">
93
+ <button class="tool-btn bg-gray-100 p-2 rounded-lg w-full text-left">
94
+ <i class="fas fa-flag mr-2 text-green-500"></i> Win Condition
95
+ </button>
96
+ <button class="tool-btn bg-gray-100 p-2 rounded-lg w-full text-left">
97
+ <i class="fas fa-heart mr-2 text-red-500"></i> Lives System
98
+ </button>
99
+ <button class="tool-btn bg-gray-100 p-2 rounded-lg w-full text-left">
100
+ <i class="fas fa-stopwatch mr-2 text-yellow-500"></i> Timer
101
+ </button>
102
+ </div>
103
+ </div>
104
+
105
+ <div>
106
+ <h4 class="font-medium mb-2 text-gray-700">AI Assistant</h4>
107
+ <button id="aiHelpBtn" class="tool-btn bg-indigo-100 text-indigo-700 p-2 rounded-lg w-full">
108
+ <i class="fas fa-magic mr-2"></i> Get AI Suggestions
109
+ </button>
110
+ </div>
111
+ </div>
112
+
113
+ <!-- Canvas Area -->
114
+ <div class="lg:col-span-3">
115
+ <div class="bg-white rounded-lg shadow-md p-4">
116
+ <div id="creationCanvas" class="border-2 border-dashed border-gray-300 rounded-lg mb-4">
117
+ <!-- Elements will be added here by JavaScript -->
118
+ </div>
119
+
120
+ <div class="flex justify-between">
121
+ <button id="clearBtn" class="bg-gray-200 text-gray-700 hover:bg-gray-300 px-4 py-2 rounded-lg">
122
+ <i class="fas fa-trash-alt mr-2"></i> Clear Canvas
123
+ </button>
124
+ <div class="flex space-x-2">
125
+ <button id="testBtn" class="bg-blue-100 text-blue-700 hover:bg-blue-200 px-4 py-2 rounded-lg">
126
+ <i class="fas fa-play mr-2"></i> Test Game
127
+ </button>
128
+ <button id="previewBtn" class="bg-purple-100 text-purple-700 hover:bg-purple-200 px-4 py-2 rounded-lg">
129
+ <i class="fas fa-eye mr-2"></i> Preview
130
+ </button>
131
+ </div>
132
+ </div>
133
+ </div>
134
+
135
+ <!-- Game Settings -->
136
+ <div class="bg-white rounded-lg shadow-md p-4 mt-4">
137
+ <h3 class="text-lg font-bold mb-4 text-gray-800">Game Settings</h3>
138
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
139
+ <div>
140
+ <label class="block text-sm font-medium text-gray-700 mb-1">Title</label>
141
+ <input type="text" class="w-full border border-gray-300 rounded-lg px-3 py-2">
142
+ </div>
143
+ <div>
144
+ <label class="block text-sm font-medium text-gray-700 mb-1">Category</label>
145
+ <select class="w-full border border-gray-300 rounded-lg px-3 py-2">
146
+ <option>Mini Game</option>
147
+ <option>Interactive Story</option>
148
+ <option>Music Loop</option>
149
+ <option>Art Creation</option>
150
+ </select>
151
+ </div>
152
+ <div class="md:col-span-2">
153
+ <label class="block text-sm font-medium text-gray-700 mb-1">Description</label>
154
+ <textarea class="w-full border border-gray-300 rounded-lg px-3 py-2" rows="2"></textarea>
155
+ </div>
156
+ </div>
157
+ </div>
158
+ </div>
159
+ </div>
160
+ </div>
161
+
162
+ <script>
163
+ // Simple drag and drop functionality for the editor
164
+ document.addEventListener('DOMContentLoaded', function() {
165
+ const canvas = document.getElementById('creationCanvas');
166
+ const toolButtons = document.querySelectorAll('[data-type]');
167
+
168
+ // Add elements to canvas
169
+ toolButtons.forEach(button => {
170
+ button.addEventListener('click', function() {
171
+ const type = this.getAttribute('data-type');
172
+ let element;
173
+
174
+ switch(type) {
175
+ case 'character':
176
+ element = createElement('fa-user', 'bg-blue-500', 'Character');
177
+ break;
178
+ case 'enemy':
179
+ element = createElement('fa-ghost', 'bg-red-500', 'Enemy');
180
+ break;
181
+ case 'platform':
182
+ element = createElement('fa-square', 'bg-green-500', 'Platform');
183
+ break;
184
+ case 'collectible':
185
+ element = createElement('fa-star', 'bg-yellow-500', 'Collectible');
186
+ break;
187
+ case 'text':
188
+ element = document.createElement('div');
189
+ element.className = 'draggable bg-white p-2 rounded border border-gray-300';
190
+ element.textContent = 'Double click to edit';
191
+ element.style.width = '100px';
192
+ element.addEventListener('dblclick', function() {
193
+ const newText = prompt('Enter text:', this.textContent);
194
+ if (newText) this.textContent = newText;
195
+ });
196
+ break;
197
+ case 'background':
198
+ alert('Background selection would appear here');
199
+ return;
200
+ }
201
+
202
+ // Position randomly on canvas
203
+ const maxX = canvas.offsetWidth - 50;
204
+ const maxY = canvas.offsetHeight - 50;
205
+ const posX = Math.floor(Math.random() * maxX);
206
+ const posY = Math.floor(Math.random() * maxY);
207
+
208
+ element.style.left = posX + 'px';
209
+ element.style.top = posY + 'px';
210
+
211
+ canvas.appendChild(element);
212
+ makeDraggable(element);
213
+ });
214
+ });
215
+
216
+ // Clear canvas
217
+ document.getElementById('clearBtn').addEventListener('click', function() {
218
+ if (confirm('Are you sure you want to clear the canvas?')) {
219
+ canvas.innerHTML = '';
220
+ }
221
+ });
222
+
223
+ // Test game
224
+ document.getElementById('testBtn').addEventListener('click', function() {
225
+ alert('Game testing would start here');
226
+ });
227
+
228
+ // Preview
229
+ document.getElementById('previewBtn').addEventListener('click', function() {
230
+ alert('Preview mode would start here');
231
+ });
232
+
233
+ // Save
234
+ document.getElementById('saveBtn').addEventListener('click', function() {
235
+ alert('Creation saved to your account');
236
+ });
237
+
238
+ // Publish
239
+ document.getElementById('publishBtn').addEventListener('click', function() {
240
+ const link = 'https://microcreations.app/c/' + Math.random().toString(36).substring(7);
241
+ alert(`Your creation is published! Share this link: ${link}`);
242
+ });
243
+
244
+ // AI Help
245
+ document.getElementById('aiHelpBtn').addEventListener('click', function() {
246
+ const suggestions = [
247
+ "Try adding more collectibles for higher score",
248
+ "Your game needs a win condition",
249
+ "Consider adding moving platforms",
250
+ "Great start! Add some enemies for challenge"
251
+ ];
252
+ const randomSuggestion = suggestions[Math.floor(Math.random() * suggestions.length)];
253
+ alert(`AI Suggestion: ${randomSuggestion}`);
254
+ });
255
+
256
+ // Helper function to create draggable elements
257
+ function createElement(icon, color, label) {
258
+ const element = document.createElement('div');
259
+ element.className = `draggable ${color} rounded w-12 h-12 flex items-center justify-center text-white`;
260
+ element.innerHTML = `<i class="fas ${icon}"></i>`;
261
+ element.setAttribute('title', label);
262
+ return element;
263
+ }
264
+
265
+ // Make elements draggable
266
+ function makeDraggable(element) {
267
+ let pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0;
268
+
269
+ element.onmousedown = dragMouseDown;
270
+
271
+ function dragMouseDown(e) {
272
+ e = e || window.event;
273
+ e.preventDefault();
274
+ pos3 = e.clientX;
275
+ pos4 = e.clientY;
276
+ document.onmouseup = closeDragElement;
277
+ document.onmousemove = elementDrag;
278
+ }
279
+
280
+ function elementDrag(e) {
281
+ e = e || window.event;
282
+ e.preventDefault();
283
+ pos1 = pos3 - e.clientX;
284
+ pos2 = pos4 - e.clientY;
285
+ pos3 = e.clientX;
286
+ pos4 = e.clientY;
287
+ element.style.top = (element.offsetTop - pos2) + "px";
288
+ element.style.left = (element.offsetLeft - pos1) + "px";
289
+ }
290
+
291
+ function closeDragElement() {
292
+ document.onmouseup = null;
293
+ document.onmousemove = null;
294
+ }
295
+ }
296
+ });
297
+ </script>
298
+ </body>
299
+ </html>
index.html CHANGED
@@ -3,316 +3,295 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>CompletionFlow Pro | Engineering Control Center</title>
7
- <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
  <script src="https://cdn.tailwindcss.com"></script>
9
- <script src="https://unpkg.com/feather-icons"></script>
10
- <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
11
- <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
12
- <script>
13
- tailwind.config = {
14
- theme: {
15
- extend: {
16
- colors: {
17
- primary: '#3b82f6',
18
- secondary: '#10b981',
19
- dark: '#1e293b'
20
- }
21
- }
22
- }
23
- }
24
- </script>
25
  <style>
26
- .vanta-bg {
27
- position: fixed;
28
- top: 0;
29
- left: 0;
30
- width: 100%;
31
- height: 100%;
32
- z-index: -1;
33
- opacity: 0.15;
34
- }
35
- .card-hover {
36
- transition: all 0.3s ease;
37
  }
38
- .card-hover:hover {
39
- transform: translateY(-5px);
40
- box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
41
  }
42
- .active-tab {
43
- border-bottom: 3px solid #3b82f6;
44
- color: #3b82f6;
45
- font-weight: 600;
46
  }
47
  </style>
48
  </head>
49
- <body class="bg-gray-50">
50
- <div id="vanta-bg" class="vanta-bg"></div>
51
-
52
  <!-- Navigation -->
53
- <nav class="bg-white shadow-sm">
54
  <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
55
- <div class="flex justify-between h-16">
56
  <div class="flex items-center">
57
  <div class="flex-shrink-0 flex items-center">
58
- <i data-feather="tool" class="h-8 w-8 text-primary"></i>
59
- <span class="ml-2 text-xl font-bold text-gray-800">CompletionFlow Pro</span>
60
  </div>
61
- <div class="hidden sm:ml-6 sm:flex sm:space-x-8">
62
- <a href="index.html" class="active-tab inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Dashboard</a>
63
- <a href="documents.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Documents</a>
64
- <a href="workflows.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Workflows</a>
65
- <a href="checklists.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Checklists</a>
66
- <a href="punchlists.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Punch Lists</a>
67
- <a href="assets.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Assets</a>
68
- <a href="reports.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Reports</a>
69
- <a href="collaboration.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Collaboration</a>
70
- </div>
71
  </div>
72
- <div class="hidden sm:ml-6 sm:flex sm:items-center">
73
- <button class="bg-white p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none">
74
- <i data-feather="bell" class="h-6 w-6"></i>
75
- </button>
76
- <div class="ml-3 relative">
77
- <div>
78
- <button class="flex text-sm rounded-full focus:outline-none">
79
- <img class="h-8 w-8 rounded-full" src="http://static.photos/technology/200x200/5" alt="">
80
- </button>
81
- </div>
82
  </div>
83
  </div>
84
- <div class="-mr-2 flex items-center sm:hidden">
85
- <button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none">
86
- <i data-feather="menu" class="h-6 w-6"></i>
87
- </button>
88
- </div>
89
  </div>
90
  </div>
91
  </nav>
92
 
93
- <!-- Main Content -->
94
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
95
- <div class="mb-8">
96
- <h1 class="text-3xl font-bold text-gray-800">Project Dashboard</h1>
97
- <p class="mt-2 text-gray-600">Monitor all engineering completion activities in real-time</p>
 
 
 
 
98
  </div>
99
- <!-- Stats Cards -->
100
- <div class="grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4 mb-8">
101
- <div class="bg-white overflow-hidden shadow rounded-lg card-hover">
102
- <div class="px-4 py-5 sm:p-6">
103
- <div class="flex items-center">
104
- <div class="flex-shrink-0 bg-primary-100 rounded-md p-3">
105
- <i data-feather="file-text" class="h-6 w-6 text-primary"></i>
106
- </div>
107
- <div class="ml-5 w-0 flex-1">
108
- <dl>
109
- <dt class="text-sm font-medium text-gray-500 truncate">Total Documents</dt>
110
- <dd>
111
- <div class="text-lg font-medium text-gray-900">1,248</div>
112
- <div class="text-xs text-green-500">+12% from last week</div>
113
- </dd>
114
- </dl>
115
- </div>
116
  </div>
117
  </div>
118
  </div>
119
 
120
- <div class="bg-white overflow-hidden shadow rounded-lg card-hover">
121
- <div class="px-4 py-5 sm:p-6">
122
- <div class="flex items-center">
123
- <div class="flex-shrink-0 bg-secondary-100 rounded-md p-3">
124
- <i data-feather="check-circle" class="h-6 w-6 text-secondary"></i>
125
- </div>
126
- <div class="ml-5 w-0 flex-1">
127
- <dl>
128
- <dt class="text-sm font-medium text-gray-500 truncate">Completed Tasks</dt>
129
- <dd>
130
- <div class="text-lg font-medium text-gray-900">876</div>
131
- <div class="text-xs text-green-500">78% completion rate</div>
132
- </dd>
133
- </dl>
134
- </div>
135
  </div>
136
  </div>
137
  </div>
138
 
139
- <div class="bg-white overflow-hidden shadow rounded-lg card-hover">
140
- <div class="px-4 py-5 sm:p-6">
141
- <div class="flex items-center">
142
- <div class="flex-shrink-0 bg-yellow-100 rounded-md p-3">
143
- <i data-feather="alert-circle" class="h-6 w-6 text-yellow-500"></i>
144
- </div>
145
- <div class="ml-5 w-0 flex-1">
146
- <dl>
147
- <dt class="text-sm font-medium text-gray-500 truncate">Open Punch Items</dt>
148
- <dd>
149
- <div class="text-lg font-medium text-gray-900">124</div>
150
- <div class="text-xs text-red-500">32 overdue</div>
151
- </dd>
152
- </dl>
153
- </div>
154
  </div>
155
  </div>
156
  </div>
 
 
157
 
158
- <div class="bg-white overflow-hidden shadow rounded-lg card-hover">
159
- <div class="px-4 py-5 sm:p-6">
160
- <div class="flex items-center">
161
- <div class="flex-shrink-0 bg-purple-100 rounded-md p-3">
162
- <i data-feather="users" class="h-6 w-6 text-purple-500"></i>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
163
  </div>
164
- <div class="ml-5 w-0 flex-1">
165
- <dl>
166
- <dt class="text-sm font-medium text-gray-500 truncate">Active Team Members</dt>
167
- <dd>
168
- <div class="text-lg font-medium text-gray-900">48</div>
169
- <div class="text-xs text-blue-500">12 in field today</div>
170
- </dd>
171
- </dl>
 
 
 
 
 
172
  </div>
173
  </div>
174
  </div>
175
  </div>
176
  </div>
 
177
 
178
- <!-- Recent Activity Section -->
179
- <div class="bg-white shadow rounded-lg mb-8">
180
- <div class="px-4 py-5 sm:px-6 border-b border-gray-200">
181
- <h3 class="text-lg leading-6 font-medium text-gray-900">Recent Activity</h3>
182
- <p class="mt-1 text-sm text-gray-500">Latest updates from your team</p>
183
- </div>
184
- <div class="px-4 py-5 sm:p-6">
185
- <div class="flow-root">
186
- <ul class="-mb-8">
187
- <li>
188
- <div class="relative pb-8">
189
- <div class="relative flex items-start space-x-3">
190
- <div class="relative">
191
- <img class="h-10 w-10 rounded-full bg-gray-400 flex items-center justify-center ring-8 ring-white" src="http://static.photos/people/200x200/1" alt="">
192
- </div>
193
- <div class="min-w-0 flex-1">
194
- <div>
195
- <div class="text-sm">
196
- <a href="#" class="font-medium text-gray-900">John Smith</a>
197
- </div>
198
- <p class="mt-0.5 text-sm text-gray-500">Uploaded FAT checklist for Pump P-101</p>
199
- </div>
200
- <div class="mt-2 text-sm text-gray-700">
201
- <p>Completed all mechanical checks and signed off by QC team.</p>
202
- </div>
203
- <div class="mt-2 text-xs text-gray-500">2 hours ago</div>
204
- </div>
205
- </div>
206
- </div>
207
- </li>
208
- <li>
209
- <div class="relative pb-8">
210
- <div class="relative flex items-start space-x-3">
211
- <div class="relative">
212
- <img class="h-10 w-10 rounded-full bg-gray-400 flex items-center justify-center ring-8 ring-white" src="http://static.photos/people/200x200/2" alt="">
213
- </div>
214
- <div class="min-w-0 flex-1">
215
- <div>
216
- <div class="text-sm">
217
- <a href="#" class="font-medium text-gray-900">Sarah Johnson</a>
218
- </div>
219
- <p class="mt-0.5 text-sm text-gray-500">Resolved punch item #PL-2047</p>
220
- </div>
221
- <div class="mt-2 text-sm text-gray-700">
222
- <p>Replaced faulty pressure gauge on vessel V-203, verified by inspection team.</p>
223
- </div>
224
- <div class="mt-2 text-xs text-gray-500">4 hours ago</div>
225
- </div>
226
- </div>
227
- </div>
228
- </li>
229
- <li>
230
- <div class="relative pb-8">
231
- <div class="relative flex items-start space-x-3">
232
- <div class="relative">
233
- <img class="h-10 w-10 rounded-full bg-gray-400 flex items-center justify-center ring-8 ring-white" src="http://static.photos/people/200x200/3" alt="">
234
- </div>
235
- <div class="min-w-0 flex-1">
236
- <div>
237
- <div class="text-sm">
238
- <a href="#" class="font-medium text-gray-900">Michael Chen</a>
239
- </div>
240
- <p class="mt-0.5 text-sm text-gray-500">Started commissioning of Compressor C-501</p>
241
- </div>
242
- <div class="mt-2 text-sm text-gray-700">
243
- <p>Completed pre-commissioning checks, moving to functional tests.</p>
244
- </div>
245
- <div class="mt-2 text-xs text-gray-500">1 day ago</div>
246
- </div>
247
- </div>
248
- </div>
249
- </li>
250
  </ul>
251
  </div>
252
- </div>
253
- </div>
254
-
255
- <!-- Quick Actions Section -->
256
- <div class="grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-3 mb-8">
257
- <div class="bg-white overflow-hidden shadow rounded-lg card-hover">
258
- <div class="px-4 py-5 sm:p-6">
259
- <h3 class="text-lg font-medium text-gray-900 mb-4">Document Management</h3>
260
- <div class="space-y-4">
261
- <a href="documents.html" class="flex items-center text-primary hover:text-primary-700">
262
- <i data-feather="upload" class="h-5 w-5 mr-2"></i>
263
- <span>Upload New Document</span>
264
- </a>
265
- <a href="documents.html" class="flex items-center text-primary hover:text-primary-700">
266
- <i data-feather="search" class="h-5 w-5 mr-2"></i>
267
- <span>Search Documents</span>
268
- </a>
269
- <a href="documents.html" class="flex items-center text-primary hover:text-primary-700">
270
- <i data-feather="folder" class="h-5 w-5 mr-2"></i>
271
- <span>View Document Categories</span>
272
- </a>
273
- </div>
274
  </div>
275
- </div>
276
-
277
- <div class="bg-white overflow-hidden shadow rounded-lg card-hover">
278
- <div class="px-4 py-5 sm:p-6">
279
- <h3 class="text-lg font-medium text-gray-900 mb-4">Workflows</h3>
280
- <div class="space-y-4">
281
- <a href="workflows.html" class="flex items-center text-primary hover:text-primary-700">
282
- <i data-feather="activity" class="h-5 w-5 mr-2"></i>
283
- <span>View Active Workflows</span>
284
- </a>
285
- <a href="workflows.html" class="flex items-center text-primary hover:text-primary-700">
286
- <i data-feather="plus" class="h-5 w-5 mr-2"></i>
287
- <span>Create New Workflow</span>
288
- </a>
289
- <a href="workflows.html" class="flex items-center text-primary hover:text-primary-700">
290
- <i data-feather="bar-chart-2" class="h-5 w-5 mr-2"></i>
291
- <span>Workflow Analytics</span>
292
- </a>
293
- </div>
294
  </div>
295
  </div>
296
-
297
- <div class="bg-white overflow-hidden shadow rounded-lg card-hover">
298
- <div class="px-4 py-5 sm:p-6">
299
- <h3 class="text-lg font-medium text-gray-900 mb-4">Quick Actions</h3>
300
- <div class="space-y-4">
301
- <a href="checklists.html" class="flex items-center text-primary hover:text-primary-700">
302
- <i data-feather="list" class="h-5 w-5 mr-2"></i>
303
- <span>Create Checklist</span>
304
- </a>
305
- <a href="punchlists.html" class="flex items-center text-primary hover:text-primary-700">
306
- <i data-feather="alert-octagon" class="h-5 w-5 mr-2"></i>
307
- <span>Add Punch Item</span>
308
- </a>
309
- <a href="collaboration.html" class="flex items-center text-primary hover:text-primary-700">
310
- <i data-feather="message-square" class="h-5 w-5 mr-2"></i>
311
- <span>Team Messages</span>
312
- </a>
313
- </div>
314
  </div>
315
  </div>
316
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
317
  </body>
318
  </html>
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>MicroCreations - Make & Share Mini Creations</title>
7
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
8
  <script src="https://cdn.tailwindcss.com"></script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  <style>
10
+ .creation-card:hover {
11
+ transform: scale(1.03);
12
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
 
 
 
 
 
 
 
 
13
  }
14
+ .editor-tool {
15
+ transition: all 0.2s ease;
 
16
  }
17
+ .editor-tool:hover {
18
+ transform: scale(1.1);
19
+ background-color: #e2e8f0;
 
20
  }
21
  </style>
22
  </head>
23
+ <body class="bg-gray-100">
 
 
24
  <!-- Navigation -->
25
+ <nav class="bg-indigo-600 text-white shadow-lg">
26
  <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
27
+ <div class="flex justify-between h-16 items-center">
28
  <div class="flex items-center">
29
  <div class="flex-shrink-0 flex items-center">
30
+ <i class="fas fa-magic text-2xl mr-2"></i>
31
+ <span class="text-xl font-bold">MicroCreations</span>
32
  </div>
 
 
 
 
 
 
 
 
 
 
33
  </div>
34
+ <div class="hidden md:block">
35
+ <div class="ml-10 flex items-center space-x-4">
36
+ <a href="#" class="px-3 py-2 rounded-md text-sm font-medium bg-indigo-700">Explore</a>
37
+ <a href="#" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-indigo-500">Create</a>
38
+ <a href="#" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-indigo-500">Leaderboard</a>
39
+ <a href="#" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-indigo-500">Sign In</a>
 
 
 
 
40
  </div>
41
  </div>
 
 
 
 
 
42
  </div>
43
  </div>
44
  </nav>
45
 
46
+ <!-- Hero Section -->
47
+ <div class="bg-gradient-to-r from-indigo-500 to-purple-600 text-white py-16">
48
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
49
+ <h1 class="text-4xl md:text-6xl font-bold mb-6">Create & Share Mini Worlds</h1>
50
+ <p class="text-xl mb-8 max-w-3xl mx-auto">Make tiny games, stories, and art in seconds. Share with anyone instantly!</p>
51
+ <div class="flex justify-center space-x-4">
52
+ <a href="#create" class="bg-white text-indigo-600 px-6 py-3 rounded-lg font-bold text-lg hover:bg-gray-100">Start Creating</a>
53
+ <a href="#explore" class="bg-indigo-800 text-white px-6 py-3 rounded-lg font-bold text-lg hover:bg-indigo-700">Explore Creations</a>
54
+ </div>
55
  </div>
56
+ </div>
57
+
58
+ <!-- Popular Creations -->
59
+ <div id="explore" class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
60
+ <h2 class="text-3xl font-bold text-gray-800 mb-8">Popular Right Now</h2>
61
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
62
+ <!-- Creation Card 1 -->
63
+ <div class="bg-white rounded-xl shadow-md overflow-hidden creation-card transition-all duration-300">
64
+ <div class="h-48 bg-gradient-to-r from-blue-400 to-indigo-500 flex items-center justify-center">
65
+ <i class="fas fa-gamepad text-6xl text-white"></i>
66
+ </div>
67
+ <div class="p-6">
68
+ <h3 class="text-xl font-bold mb-2">Space Adventure</h3>
69
+ <p class="text-gray-600 mb-4">A mini platformer game by @stargazer</p>
70
+ <div class="flex justify-between items-center">
71
+ <span class="text-sm text-gray-500">32.4k plays</span>
72
+ <button class="bg-indigo-600 text-white px-4 py-1 rounded-lg text-sm hover:bg-indigo-700">Play</button>
73
  </div>
74
  </div>
75
  </div>
76
 
77
+ <!-- Creation Card 2 -->
78
+ <div class="bg-white rounded-xl shadow-md overflow-hidden creation-card transition-all duration-300">
79
+ <div class="h-48 bg-gradient-to-r from-purple-400 to-pink-500 flex items-center justify-center">
80
+ <i class="fas fa-book-open text-6xl text-white"></i>
81
+ </div>
82
+ <div class="p-6">
83
+ <h3 class="text-xl font-bold mb-2">The Lost Treasure</h3>
84
+ <p class="text-gray-600 mb-4">Interactive story by @storyteller</p>
85
+ <div class="flex justify-between items-center">
86
+ <span class="text-sm text-gray-500">18.7k plays</span>
87
+ <button class="bg-indigo-600 text-white px-4 py-1 rounded-lg text-sm hover:bg-indigo-700">Read</button>
 
 
 
 
88
  </div>
89
  </div>
90
  </div>
91
 
92
+ <!-- Creation Card 3 -->
93
+ <div class="bg-white rounded-xl shadow-md overflow-hidden creation-card transition-all duration-300">
94
+ <div class="h-48 bg-gradient-to-r from-green-400 to-teal-500 flex items-center justify-center">
95
+ <i class="fas fa-music text-6xl text-white"></i>
96
+ </div>
97
+ <div class="p-6">
98
+ <h3 class="text-xl font-bold mb-2">Chill Beats</h3>
99
+ <p class="text-gray-600 mb-4">Music loop by @beatmaster</p>
100
+ <div class="flex justify-between items-center">
101
+ <span class="text-sm text-gray-500">45.1k plays</span>
102
+ <button class="bg-indigo-600 text-white px-4 py-1 rounded-lg text-sm hover:bg-indigo-700">Listen</button>
 
 
 
 
103
  </div>
104
  </div>
105
  </div>
106
+ </div>
107
+ </div>
108
 
109
+ <!-- Editor Section -->
110
+ <div id="create" class="bg-gray-50 py-16">
111
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
112
+ <h2 class="text-3xl font-bold text-gray-800 mb-8 text-center">Create in Seconds</h2>
113
+
114
+ <div class="bg-white rounded-xl shadow-lg overflow-hidden">
115
+ <div class="grid grid-cols-1 lg:grid-cols-3">
116
+ <!-- Tools Panel -->
117
+ <div class="bg-gray-100 p-6 border-r border-gray-200">
118
+ <h3 class="text-xl font-bold mb-4">Tools</h3>
119
+ <div class="grid grid-cols-2 gap-3">
120
+ <button class="editor-tool bg-white p-4 rounded-lg shadow-sm flex flex-col items-center">
121
+ <i class="fas fa-square text-2xl mb-2 text-blue-500"></i>
122
+ <span>Shape</span>
123
+ </button>
124
+ <button class="editor-tool bg-white p-4 rounded-lg shadow-sm flex flex-col items-center">
125
+ <i class="fas fa-font text-2xl mb-2 text-green-500"></i>
126
+ <span>Text</span>
127
+ </button>
128
+ <button class="editor-tool bg-white p-4 rounded-lg shadow-sm flex flex-col items-center">
129
+ <i class="fas fa-image text-2xl mb-2 text-purple-500"></i>
130
+ <span>Image</span>
131
+ </button>
132
+ <button class="editor-tool bg-white p-4 rounded-lg shadow-sm flex flex-col items-center">
133
+ <i class="fas fa-music text-2xl mb-2 text-yellow-500"></i>
134
+ <span>Sound</span>
135
+ </button>
136
+ <button class="editor-tool bg-white p-4 rounded-lg shadow-sm flex flex-col items-center">
137
+ <i class="fas fa-play text-2xl mb-2 text-red-500"></i>
138
+ <span>Action</span>
139
+ </button>
140
+ <button class="editor-tool bg-white p-4 rounded-lg shadow-sm flex flex-col items-center">
141
+ <i class="fas fa-magic text-2xl mb-2 text-indigo-500"></i>
142
+ <span>AI Help</span>
143
+ </button>
144
+ </div>
145
+ </div>
146
+
147
+ <!-- Canvas -->
148
+ <div class="lg:col-span-2 p-6">
149
+ <div class="border-2 border-dashed border-gray-300 rounded-lg h-96 flex items-center justify-center bg-gray-50">
150
+ <div class="text-center p-6">
151
+ <i class="fas fa-plus-circle text-4xl text-gray-400 mb-3"></i>
152
+ <h3 class="text-lg font-medium text-gray-700">Start creating!</h3>
153
+ <p class="text-gray-500 mt-1">Drag elements here or click the tools</p>
154
+ </div>
155
  </div>
156
+
157
+ <div class="mt-6 flex justify-between">
158
+ <button class="bg-gray-200 text-gray-700 px-4 py-2 rounded-lg hover:bg-gray-300">
159
+ <i class="fas fa-trash-alt mr-2"></i> Clear
160
+ </button>
161
+ <div>
162
+ <button class="bg-indigo-100 text-indigo-700 px-4 py-2 rounded-lg hover:bg-indigo-200 mr-3">
163
+ <i class="fas fa-save mr-2"></i> Save Draft
164
+ </button>
165
+ <button class="bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700">
166
+ <i class="fas fa-share-alt mr-2"></i> Publish & Share
167
+ </button>
168
+ </div>
169
  </div>
170
  </div>
171
  </div>
172
  </div>
173
  </div>
174
+ </div>
175
 
176
+ <!-- Footer -->
177
+ <footer class="bg-gray-800 text-white py-12">
178
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
179
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
180
+ <div>
181
+ <h3 class="text-xl font-bold mb-4">MicroCreations</h3>
182
+ <p class="text-gray-400">Make tiny worlds, share big joy.</p>
183
+ </div>
184
+ <div>
185
+ <h4 class="text-lg font-semibold mb-4">Create</h4>
186
+ <ul class="space-y-2">
187
+ <li><a href="#" class="text-gray-400 hover:text-white">Mini Games</a></li>
188
+ <li><a href="#" class="text-gray-400 hover:text-white">Stories</a></li>
189
+ <li><a href="#" class="text-gray-400 hover:text-white">Music</a></li>
190
+ <li><a href="#" class="text-gray-400 hover:text-white">Art</a></li>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
191
  </ul>
192
  </div>
193
+ <div>
194
+ <h4 class="text-lg font-semibold mb-4">Explore</h4>
195
+ <ul class="space-y-2">
196
+ <li><a href="#" class="text-gray-400 hover:text-white">Popular</a></li>
197
+ <li><a href="#" class="text-gray-400 hover:text-white">New</a></li>
198
+ <li><a href="#" class="text-gray-400 hover:text-white">Categories</a></li>
199
+ <li><a href="#" class="text-gray-400 hover:text-white">Leaderboard</a></li>
200
+ </ul>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
201
  </div>
202
+ <div>
203
+ <h4 class="text-lg font-semibold mb-4">Company</h4>
204
+ <ul class="space-y-2">
205
+ <li><a href="#" class="text-gray-400 hover:text-white">About</a></li>
206
+ <li><a href="#" class="text-gray-400 hover:text-white">Blog</a></li>
207
+ <li><a href="#" class="text-gray-400 hover:text-white">Careers</a></li>
208
+ <li><a href="#" class="text-gray-400 hover:text-white">Contact</a></li>
209
+ </ul>
 
 
 
 
 
 
 
 
 
 
 
210
  </div>
211
  </div>
212
+ <div class="border-t border-gray-700 mt-8 pt-8 flex justify-between">
213
+ <p class="text-gray-400">© 2023 MicroCreations. All rights reserved.</p>
214
+ <div class="flex space-x-6">
215
+ <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter"></i></a>
216
+ <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-instagram"></i></a>
217
+ <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-tiktok"></i></a>
218
+ <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-discord"></i></a>
 
 
 
 
 
 
 
 
 
 
 
219
  </div>
220
  </div>
221
  </div>
222
+ </footer>
223
+
224
+ <script>
225
+ // Simple creation editor functionality
226
+ document.querySelectorAll('.editor-tool').forEach(tool => {
227
+ tool.addEventListener('click', function() {
228
+ const icon = this.querySelector('i').className.split(' ')[1];
229
+ let element;
230
+
231
+ switch(icon) {
232
+ case 'fa-square':
233
+ element = '<div class="w-16 h-16 bg-blue-500 rounded cursor-move absolute"></div>';
234
+ break;
235
+ case 'fa-font':
236
+ element = '<div class="bg-white p-2 rounded cursor-move absolute">Edit me!</div>';
237
+ break;
238
+ case 'fa-image':
239
+ element = '<div class="w-16 h-16 bg-gray-300 flex items-center justify-center cursor-move absolute"><i class="fas fa-image text-gray-500"></i></div>';
240
+ break;
241
+ case 'fa-music':
242
+ // Would trigger sound upload in real implementation
243
+ alert('Sound upload would appear here');
244
+ return;
245
+ case 'fa-play':
246
+ // Would add interaction in real implementation
247
+ alert('Interaction editor would appear here');
248
+ return;
249
+ case 'fa-magic':
250
+ // AI suggestions
251
+ alert('AI would suggest improvements here');
252
+ return;
253
+ }
254
+
255
+ const canvas = document.querySelector('.border-dashed');
256
+ canvas.innerHTML = canvas.innerHTML.replace('Start creating!', '') + element;
257
+
258
+ // Make elements draggable (simplified for demo)
259
+ const newElement = canvas.lastElementChild;
260
+ newElement.addEventListener('mousedown', initDrag);
261
+ });
262
+ });
263
+
264
+ function initDrag(e) {
265
+ const element = e.target;
266
+ let pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0;
267
+
268
+ element.onmousedown = dragMouseDown;
269
+
270
+ function dragMouseDown(e) {
271
+ e = e || window.event;
272
+ e.preventDefault();
273
+ pos3 = e.clientX;
274
+ pos4 = e.clientY;
275
+ document.onmouseup = closeDragElement;
276
+ document.onmousemove = elementDrag;
277
+ }
278
+
279
+ function elementDrag(e) {
280
+ e = e || window.event;
281
+ e.preventDefault();
282
+ pos1 = pos3 - e.clientX;
283
+ pos2 = pos4 - e.clientY;
284
+ pos3 = e.clientX;
285
+ pos4 = e.clientY;
286
+ element.style.top = (element.offsetTop - pos2) + "px";
287
+ element.style.left = (element.offsetLeft - pos1) + "px";
288
+ }
289
+
290
+ function closeDragElement() {
291
+ document.onmouseup = null;
292
+ document.onmousemove = null;
293
+ }
294
+ }
295
+ </script>
296
  </body>
297
  </html>