70pher703 commited on
Commit
6032013
·
verified ·
1 Parent(s): 1162541

Add 2 files

Browse files
Files changed (2) hide show
  1. index.html +228 -38
  2. prompts.txt +1 -0
index.html CHANGED
@@ -1,41 +1,231 @@
1
  <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>My app</title>
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <meta charset="utf-8">
 
 
7
  <style>
8
- body {
9
- display: flex;
10
- justify-content: center;
11
- align-items: center;
12
- overflow: hidden;
13
- height: 100dvh;
14
- font-family: "Arial", sans-serif;
15
- text-align: center;
16
- }
17
- .arrow {
18
- position: absolute;
19
- bottom: 32px;
20
- left: 0px;
21
- width: 100px;
22
- transform: rotate(30deg);
23
- }
24
- h1 {
25
- font-size: 50px;
26
- }
27
- h1 span {
28
- color: #acacac;
29
- font-size: 32px;
30
- }
 
 
 
 
 
 
31
  </style>
32
- </head>
33
- <body>
34
- <h1>
35
- <span>I'm ready to work,</span><br />
36
- Ask me anything.
37
- </h1>
38
- <img src="https://enzostvs-deepsite.hf.space/arrow.svg" class="arrow" />
39
- <script></script>
40
- <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=70pher703/app-build" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
41
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>Full-Stack App Builder</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
  <style>
10
+ .gradient-bg {
11
+ background: linear-gradient(135deg, #6e8efb, #a777e3);
12
+ }
13
+ .backend-node {
14
+ background: linear-gradient(135deg, #f093fb, #f5576c);
15
+ }
16
+ .frontend-node {
17
+ background: linear-gradient(135deg, #4facfe, #00f2fe);
18
+ }
19
+ .database-node {
20
+ background: linear-gradient(135deg, #43e97b, #38f9d7);
21
+ }
22
+ .flow-line {
23
+ position: absolute;
24
+ height: 2px;
25
+ background: rgba(255,255,255,0.3);
26
+ transform-origin: left center;
27
+ }
28
+ .card-hover:hover {
29
+ transform: translateY(-5px);
30
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
31
+ }
32
+ @keyframes pulse {
33
+ 0%, 100% { opacity: 1; }
34
+ 50% { opacity: 0.5; }
35
+ }
36
+ .animate-pulse {
37
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
38
+ }
39
  </style>
40
+ </head>
41
+ <body class="bg-gray-100 font-sans">
42
+ <div class="min-h-screen flex flex-col">
43
+ <!-- Header -->
44
+ <header class="gradient-bg text-white shadow-lg">
45
+ <div class="container mx-auto px-4 py-6 flex justify-between items-center">
46
+ <div class="flex items-center space-x-2">
47
+ <i class="fas fa-code text-2xl"></i>
48
+ <h1 class="text-2xl font-bold">FullStack Builder</h1>
49
+ </div>
50
+ <div class="flex space-x-4">
51
+ <button class="px-4 py-2 bg-white text-purple-600 rounded-lg font-semibold hover:bg-gray-100 transition">
52
+ <i class="fas fa-play mr-2"></i>Run Project
53
+ </button>
54
+ <button class="px-4 py-2 bg-purple-700 text-white rounded-lg font-semibold hover:bg-purple-800 transition">
55
+ <i class="fas fa-cloud-upload-alt mr-2"></i>Deploy
56
+ </button>
57
+ </div>
58
+ </div>
59
+ </header>
60
+
61
+ <!-- Main Content -->
62
+ <main class="flex-1 container mx-auto px-4 py-8">
63
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
64
+ <!-- Left Panel - Components -->
65
+ <div class="lg:col-span-1 bg-white rounded-xl shadow-md p-6">
66
+ <h2 class="text-xl font-bold mb-6 text-gray-800 flex items-center">
67
+ <i class="fas fa-cubes mr-2 text-purple-500"></i> Components
68
+ </h2>
69
+
70
+ <div class="space-y-4">
71
+ <div class="p-4 border border-gray-200 rounded-lg hover:border-purple-300 transition cursor-pointer">
72
+ <h3 class="font-semibold text-gray-700 flex items-center">
73
+ <i class="fas fa-server mr-2 text-pink-500"></i> Backend Services
74
+ </h3>
75
+ <div class="mt-2 grid grid-cols-2 gap-2">
76
+ <span class="text-xs bg-pink-100 text-pink-800 px-2 py-1 rounded">API Routes</span>
77
+ <span class="text-xs bg-pink-100 text-pink-800 px-2 py-1 rounded">Authentication</span>
78
+ <span class="text-xs bg-pink-100 text-pink-800 px-2 py-1 rounded">Database</span>
79
+ <span class="text-xs bg-pink-100 text-pink-800 px-2 py-1 rounded">Middleware</span>
80
+ </div>
81
+ </div>
82
+
83
+ <div class="p-4 border border-gray-200 rounded-lg hover:border-blue-300 transition cursor-pointer">
84
+ <h3 class="font-semibold text-gray-700 flex items-center">
85
+ <i class="fas fa-desktop mr-2 text-blue-500"></i> Frontend Elements
86
+ </h3>
87
+ <div class="mt-2 grid grid-cols-2 gap-2">
88
+ <span class="text-xs bg-blue-100 text-blue-800 px-2 py-1 rounded">Pages</span>
89
+ <span class="text-xs bg-blue-100 text-blue-800 px-2 py-1 rounded">Components</span>
90
+ <span class="text-xs bg-blue-100 text-blue-800 px-2 py-1 rounded">Forms</span>
91
+ <span class="text-xs bg-blue-100 text-blue-800 px-2 py-1 rounded">Navigation</span>
92
+ </div>
93
+ </div>
94
+
95
+ <div class="p-4 border border-gray-200 rounded-lg hover:border-green-300 transition cursor-pointer">
96
+ <h3 class="font-semibold text-gray-700 flex items-center">
97
+ <i class="fas fa-database mr-2 text-green-500"></i> Database Models
98
+ </h3>
99
+ <div class="mt-2 grid grid-cols-2 gap-2">
100
+ <span class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded">Users</span>
101
+ <span class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded">Products</span>
102
+ <span class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded">Orders</span>
103
+ <span class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded">Settings</span>
104
+ </div>
105
+ </div>
106
+ </div>
107
+ </div>
108
+
109
+ <!-- Center Panel - Builder Canvas -->
110
+ <div class="lg:col-span-2">
111
+ <div class="bg-white rounded-xl shadow-md p-6 h-full">
112
+ <div class="flex justify-between items-center mb-6">
113
+ <h2 class="text-xl font-bold text-gray-800 flex items-center">
114
+ <i class="fas fa-project-diagram mr-2 text-purple-500"></i> App Architecture
115
+ </h2>
116
+ <div class="flex space-x-2">
117
+ <button class="p-2 bg-gray-100 rounded-lg hover:bg-gray-200">
118
+ <i class="fas fa-redo text-gray-600"></i>
119
+ </button>
120
+ <button class="p-2 bg-gray-100 rounded-lg hover:bg-gray-200">
121
+ <i class="fas fa-undo text-gray-600"></i>
122
+ </button>
123
+ <button class="p-2 bg-purple-100 text-purple-600 rounded-lg hover:bg-purple-200">
124
+ <i class="fas fa-save"></i>
125
+ </button>
126
+ </div>
127
+ </div>
128
+
129
+ <div class="relative h-96 bg-gray-50 rounded-lg border-2 border-dashed border-gray-300 overflow-hidden">
130
+ <!-- Flow lines -->
131
+ <div class="flow-line" style="width: 100px; top: 120px; left: 120px; transform: rotate(0deg);"></div>
132
+ <div class="flow-line" style="width: 100px; top: 120px; left: 320px; transform: rotate(0deg);"></div>
133
+
134
+ <!-- Backend Node -->
135
+ <div class="absolute backend-node w-24 h-24 rounded-full shadow-lg flex flex-col items-center justify-center text-white cursor-move top-20 left-20 card-hover transition">
136
+ <i class="fas fa-server text-2xl"></i>
137
+ <span class="text-xs mt-1 font-semibold">Backend</span>
138
+ <div class="absolute -bottom-2 bg-pink-500 text-white text-xs px-2 py-1 rounded-full">
139
+ Node.js
140
+ </div>
141
+ </div>
142
+
143
+ <!-- Frontend Node -->
144
+ <div class="absolute frontend-node w-24 h-24 rounded-full shadow-lg flex flex-col items-center justify-center text-white cursor-move top-20 left-80 card-hover transition">
145
+ <i class="fas fa-desktop text-2xl"></i>
146
+ <span class="text-xs mt-1 font-semibold">Frontend</span>
147
+ <div class="absolute -bottom-2 bg-blue-500 text-white text-xs px-2 py-1 rounded-full">
148
+ React
149
+ </div>
150
+ </div>
151
+
152
+ <!-- Database Node -->
153
+ <div class="absolute database-node w-24 h-24 rounded-full shadow-lg flex flex-col items-center justify-center text-white cursor-move top-60 left-48 card-hover transition">
154
+ <i class="fas fa-database text-2xl"></i>
155
+ <span class="text-xs mt-1 font-semibold">Database</span>
156
+ <div class="absolute -bottom-2 bg-green-500 text-white text-xs px-2 py-1 rounded-full">
157
+ MongoDB
158
+ </div>
159
+ </div>
160
+
161
+ <!-- API Connection Indicator -->
162
+ <div class="absolute flex items-center justify-center top-40 left-72">
163
+ <div class="relative">
164
+ <div class="w-16 h-8 bg-purple-100 rounded-full flex items-center justify-center">
165
+ <span class="text-xs font-bold text-purple-800">API</span>
166
+ </div>
167
+ <div class="absolute inset-0 rounded-full bg-purple-200 animate-pulse"></div>
168
+ </div>
169
+ </div>
170
+ </div>
171
+
172
+ <div class="mt-6 grid grid-cols-3 gap-4">
173
+ <div class="bg-blue-50 p-4 rounded-lg border border-blue-100">
174
+ <div class="flex items-center">
175
+ <div class="bg-blue-100 p-2 rounded-full mr-3">
176
+ <i class="fas fa-code text-blue-600"></i>
177
+ </div>
178
+ <div>
179
+ <h4 class="font-semibold text-gray-700">Frontend</h4>
180
+ <p class="text-xs text-gray-500">React, TailwindCSS</p>
181
+ </div>
182
+ </div>
183
+ </div>
184
+ <div class="bg-pink-50 p-4 rounded-lg border border-pink-100">
185
+ <div class="flex items-center">
186
+ <div class="bg-pink-100 p-2 rounded-full mr-3">
187
+ <i class="fas fa-server text-pink-600"></i>
188
+ </div>
189
+ <div>
190
+ <h4 class="font-semibold text-gray-700">Backend</h4>
191
+ <p class="text-xs text-gray-500">Node.js, Express</p>
192
+ </div>
193
+ </div>
194
+ </div>
195
+ <div class="bg-green-50 p-4 rounded-lg border border-green-100">
196
+ <div class="flex items-center">
197
+ <div class="bg-green-100 p-2 rounded-full mr-3">
198
+ <i class="fas fa-database text-green-600"></i>
199
+ </div>
200
+ <div>
201
+ <h4 class="font-semibold text-gray-700">Database</h4>
202
+ <p class="text-xs text-gray-500">MongoDB Atlas</p>
203
+ </div>
204
+ </div>
205
+ </div>
206
+ </div>
207
+ </div>
208
+ </div>
209
+ </div>
210
+
211
+ <!-- Terminal Section -->
212
+ <div class="mt-8 bg-gray-800 rounded-xl shadow-lg overflow-hidden">
213
+ <div class="bg-gray-900 px-4 py-2 flex items-center">
214
+ <div class="flex space-x-2 mr-4">
215
+ <div class="w-3 h-3 rounded-full bg-red-500"></div>
216
+ <div class="w-3 h-3 rounded-full bg-yellow-500"></div>
217
+ <div class="w-3 h-3 rounded-full bg-green-500"></div>
218
+ </div>
219
+ <span class="text-gray-300 text-sm font-mono">Terminal - Server Logs</span>
220
+ </div>
221
+ <div class="p-4 font-mono text-sm text-green-400 h-40 overflow-y-auto">
222
+ <div class="mb-2">
223
+ <span class="text-purple-400">$</span> npm start
224
+ </div>
225
+ <div class="mb-1 text-gray-400">Starting development server...</div>
226
+ <div class="mb-1">Backend server running on <span class="text-blue-400">http://localhost:3000</span></div>
227
+ <div class="mb-1">Connected to MongoDB Atlas cluster</div>
228
+ <div class="mb-1">Webpack compiled successfully</div>
229
+ <div class="mb-1">Frontend running on <span class="text-blue-400">http://localhost:3001</span></div>
230
+ <div class="text
231
+ </html>
prompts.txt CHANGED
@@ -0,0 +1 @@
 
 
1
+ Does this app builder have backend aswell as front end