agentcyone commited on
Commit
1954455
·
verified ·
1 Parent(s): 0e46c9c

show me your source code - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +325 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Tailui
3
- emoji: 🏆
4
- colorFrom: green
5
- colorTo: indigo
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: tailui
3
+ emoji: 🐳
4
+ colorFrom: yellow
5
+ colorTo: gray
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,325 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!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>Modern UI with TailwindCSS</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
+ /* Custom CSS for effects Tailwind doesn't cover */
11
+ .gradient-text {
12
+ background: linear-gradient(90deg, #3b82f6, #8b5cf6);
13
+ -webkit-background-clip: text;
14
+ background-clip: text;
15
+ color: transparent;
16
+ }
17
+
18
+ .card-hover {
19
+ transition: all 0.3s ease;
20
+ }
21
+
22
+ .card-hover:hover {
23
+ transform: translateY(-5px);
24
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
25
+ }
26
+
27
+ @keyframes float {
28
+ 0%, 100% {
29
+ transform: translateY(0);
30
+ }
31
+ 50% {
32
+ transform: translateY(-10px);
33
+ }
34
+ }
35
+
36
+ .floating {
37
+ animation: float 3s ease-in-out infinite;
38
+ }
39
+ </style>
40
+ </head>
41
+ <body class="font-sans bg-gray-50 text-gray-800">
42
+ <!-- Navigation -->
43
+ <nav class="bg-white shadow-sm sticky top-0 z-50">
44
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
45
+ <div class="flex justify-between h-16">
46
+ <div class="flex items-center">
47
+ <div class="flex-shrink-0 flex items-center">
48
+ <i class="fas fa-cube text-indigo-600 text-2xl mr-2"></i>
49
+ <span class="text-xl font-bold gradient-text">TailUI</span>
50
+ </div>
51
+ </div>
52
+ <div class="hidden md:flex items-center space-x-8">
53
+ <a href="#" class="text-indigo-600 font-medium">Home</a>
54
+ <a href="#" class="text-gray-600 hover:text-indigo-600 transition">Features</a>
55
+ <a href="#" class="text-gray-600 hover:text-indigo-600 transition">Pricing</a>
56
+ <a href="#" class="text-gray-600 hover:text-indigo-600 transition">About</a>
57
+ <button class="bg-indigo-600 text-white px-4 py-2 rounded-md hover:bg-indigo-700 transition">Get Started</button>
58
+ </div>
59
+ <div class="md:hidden flex items-center">
60
+ <button id="menu-btn" class="text-gray-600 hover:text-indigo-600">
61
+ <i class="fas fa-bars text-2xl"></i>
62
+ </button>
63
+ </div>
64
+ </div>
65
+ </div>
66
+
67
+ <!-- Mobile menu -->
68
+ <div id="mobile-menu" class="hidden md:hidden bg-white pb-4 px-4 shadow-lg">
69
+ <a href="#" class="block py-2 text-indigo-600 font-medium">Home</a>
70
+ <a href="#" class="block py-2 text-gray-600 hover:text-indigo-600 transition">Features</a>
71
+ <a href="#" class="block py-2 text-gray-600 hover:text-indigo-600 transition">Pricing</a>
72
+ <a href="#" class="block py-2 text-gray-600 hover:text-indigo-600 transition">About</a>
73
+ <button class="w-full mt-2 bg-indigo-600 text-white px-4 py-2 rounded-md hover:bg-indigo-700 transition">Get Started</button>
74
+ </div>
75
+ </nav>
76
+
77
+ <!-- Hero Section -->
78
+ <section class="py-16 md:py-24 bg-gradient-to-r from-indigo-50 to-purple-50">
79
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
80
+ <div class="flex flex-col md:flex-row items-center">
81
+ <div class="md:w-1/2 mb-10 md:mb-0">
82
+ <h1 class="text-4xl md:text-5xl font-bold leading-tight mb-6">
83
+ Build <span class="gradient-text">amazing</span> interfaces with TailwindCSS
84
+ </h1>
85
+ <p class="text-lg text-gray-600 mb-8">
86
+ Quickly design and customize responsive mobile-first sites with Tailwind CSS, featuring dark mode, animations, and more.
87
+ </p>
88
+ <div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
89
+ <button class="bg-indigo-600 text-white px-6 py-3 rounded-lg hover:bg-indigo-700 transition font-medium">
90
+ Get Started <i class="fas fa-arrow-right ml-2"></i>
91
+ </button>
92
+ <button class="border border-gray-300 bg-white px-6 py-3 rounded-lg hover:bg-gray-50 transition font-medium">
93
+ Learn More
94
+ </button>
95
+ </div>
96
+ </div>
97
+ <div class="md:w-1/2 flex justify-center">
98
+ <div class="relative w-full max-w-md">
99
+ <div class="absolute -top-10 -left-10 w-32 h-32 bg-purple-200 rounded-full opacity-50"></div>
100
+ <div class="absolute -bottom-10 -right-10 w-32 h-32 bg-indigo-200 rounded-full opacity-50"></div>
101
+ <div class="relative bg-white p-6 rounded-xl shadow-lg floating">
102
+ <div class="flex justify-between items-center mb-4">
103
+ <div class="flex space-x-2">
104
+ <div class="w-3 h-3 rounded-full bg-red-500"></div>
105
+ <div class="w-3 h-3 rounded-full bg-yellow-500"></div>
106
+ <div class="w-3 h-3 rounded-full bg-green-500"></div>
107
+ </div>
108
+ <div class="text-sm text-gray-500">tailwind.config.js</div>
109
+ </div>
110
+ <pre class="bg-gray-800 text-gray-100 p-4 rounded-lg overflow-x-auto text-sm">
111
+ <code>module.exports = {
112
+ theme: {
113
+ extend: {
114
+ colors: {
115
+ primary: '#3B82F6',
116
+ secondary: '#8B5CF6'
117
+ }
118
+ }
119
+ },
120
+ plugins: []
121
+ }</code>
122
+ </pre>
123
+ </div>
124
+ </div>
125
+ </div>
126
+ </div>
127
+ </div>
128
+ </section>
129
+
130
+ <!-- Features Section -->
131
+ <section class="py-16 md:py-24 bg-white">
132
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
133
+ <div class="text-center mb-16">
134
+ <h2 class="text-3xl md:text-4xl font-bold mb-4">Powerful Features</h2>
135
+ <p class="text-lg text-gray-600 max-w-2xl mx-auto">
136
+ Everything you need to build modern, responsive websites with TailwindCSS
137
+ </p>
138
+ </div>
139
+
140
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
141
+ <!-- Feature 1 -->
142
+ <div class="bg-white p-6 rounded-xl shadow-md card-hover">
143
+ <div class="w-12 h-12 bg-indigo-100 rounded-lg flex items-center justify-center mb-4">
144
+ <i class="fas fa-bolt text-indigo-600 text-xl"></i>
145
+ </div>
146
+ <h3 class="text-xl font-semibold mb-2">Rapid Development</h3>
147
+ <p class="text-gray-600">
148
+ Build your entire UI right in your HTML with utility classes that do exactly what you need.
149
+ </p>
150
+ </div>
151
+
152
+ <!-- Feature 2 -->
153
+ <div class="bg-white p-6 rounded-xl shadow-md card-hover">
154
+ <div class="w-12 h-12 bg-purple-100 rounded-lg flex items-center justify-center mb-4">
155
+ <i class="fas fa-mobile-alt text-purple-600 text-xl"></i>
156
+ </div>
157
+ <h3 class="text-xl font-semibold mb-2">Responsive Design</h3>
158
+ <p class="text-gray-600">
159
+ Every utility class can be applied conditionally at different breakpoints.
160
+ </p>
161
+ </div>
162
+
163
+ <!-- Feature 3 -->
164
+ <div class="bg-white p-6 rounded-xl shadow-md card-hover">
165
+ <div class="w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mb-4">
166
+ <i class="fas fa-palette text-blue-600 text-xl"></i>
167
+ </div>
168
+ <h3 class="text-xl font-semibold mb-2">Customizable</h3>
169
+ <p class="text-gray-600">
170
+ Tailwind is designed to be customized. Change colors, spacing, fonts, and more.
171
+ </p>
172
+ </div>
173
+
174
+ <!-- Feature 4 -->
175
+ <div class="bg-white p-6 rounded-xl shadow-md card-hover">
176
+ <div class="w-12 h-12 bg-green-100 rounded-lg flex items-center justify-center mb-4">
177
+ <i class="fas fa-code text-green-600 text-xl"></i>
178
+ </div>
179
+ <h3 class="text-xl font-semibold mb-2">Developer Friendly</h3>
180
+ <p class="text-gray-600">
181
+ Stop writing custom CSS and focus on building great user experiences.
182
+ </p>
183
+ </div>
184
+
185
+ <!-- Feature 5 -->
186
+ <div class="bg-white p-6 rounded-xl shadow-md card-hover">
187
+ <div class="w-12 h-12 bg-red-100 rounded-lg flex items-center justify-center mb-4">
188
+ <i class="fas fa-tachometer-alt text-red-600 text-xl"></i>
189
+ </div>
190
+ <h3 class="text-xl font-semibold mb-2">Performance</h3>
191
+ <p class="text-gray-600">
192
+ Tailwind automatically removes all unused CSS when building for production.
193
+ </p>
194
+ </div>
195
+
196
+ <!-- Feature 6 -->
197
+ <div class="bg-white p-6 rounded-xl shadow-md card-hover">
198
+ <div class="w-12 h-12 bg-yellow-100 rounded-lg flex items-center justify-center mb-4">
199
+ <i class="fas fa-users text-yellow-600 text-xl"></i>
200
+ </div>
201
+ <h3 class="text-xl font-semibold mb-2">Community</h3>
202
+ <p class="text-gray-600">
203
+ Join thousands of developers in the thriving Tailwind CSS community.
204
+ </p>
205
+ </div>
206
+ </div>
207
+ </div>
208
+ </section>
209
+
210
+ <!-- CTA Section -->
211
+ <section class="py-16 md:py-24 bg-indigo-600 text-white">
212
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
213
+ <div class="text-center">
214
+ <h2 class="text-3xl md:text-4xl font-bold mb-6">Ready to get started?</h2>
215
+ <p class="text-lg mb-8 max-w-2xl mx-auto opacity-90">
216
+ Join thousands of developers already building amazing interfaces with TailwindCSS.
217
+ </p>
218
+ <div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4">
219
+ <button class="bg-white text-indigo-600 px-8 py-3 rounded-lg hover:bg-gray-100 transition font-medium">
220
+ Get Started
221
+ </button>
222
+ <button class="border border-white text-white px-8 py-3 rounded-lg hover:bg-indigo-700 transition font-medium">
223
+ Learn More
224
+ </button>
225
+ </div>
226
+ </div>
227
+ </div>
228
+ </section>
229
+
230
+ <!-- Footer -->
231
+ <footer class="bg-gray-900 text-white py-12">
232
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
233
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
234
+ <div>
235
+ <div class="flex items-center mb-4">
236
+ <i class="fas fa-cube text-indigo-400 text-2xl mr-2"></i>
237
+ <span class="text-xl font-bold gradient-text">TailUI</span>
238
+ </div>
239
+ <p class="text-gray-400">
240
+ The most popular CSS framework for building responsive, mobile-first websites.
241
+ </p>
242
+ <div class="flex space-x-4 mt-6">
243
+ <a href="#" class="text-gray-400 hover:text-white transition">
244
+ <i class="fab fa-twitter text-xl"></i>
245
+ </a>
246
+ <a href="#" class="text-gray-400 hover:text-white transition">
247
+ <i class="fab fa-github text-xl"></i>
248
+ </a>
249
+ <a href="#" class="text-gray-400 hover:text-white transition">
250
+ <i class="fab fa-discord text-xl"></i>
251
+ </a>
252
+ </div>
253
+ </div>
254
+
255
+ <div>
256
+ <h3 class="text-lg font-semibold mb-4">Product</h3>
257
+ <ul class="space-y-2">
258
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Features</a></li>
259
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Pricing</a></li>
260
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Documentation</a></li>
261
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Releases</a></li>
262
+ </ul>
263
+ </div>
264
+
265
+ <div>
266
+ <h3 class="text-lg font-semibold mb-4">Company</h3>
267
+ <ul class="space-y-2">
268
+ <li><a href="#" class="text-gray-400 hover:text-white transition">About</a></li>
269
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Careers</a></li>
270
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li>
271
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Press</a></li>
272
+ </ul>
273
+ </div>
274
+
275
+ <div>
276
+ <h3 class="text-lg font-semibold mb-4">Legal</h3>
277
+ <ul class="space-y-2">
278
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Privacy</a></li>
279
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Terms</a></li>
280
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Cookie Policy</a></li>
281
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li>
282
+ </ul>
283
+ </div>
284
+ </div>
285
+
286
+ <div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
287
+ <p class="text-gray-400 mb-4 md:mb-0">
288
+ © 2023 TailUI. All rights reserved.
289
+ </p>
290
+ <div class="flex space-x-6">
291
+ <a href="#" class="text-gray-400 hover:text-white transition">Privacy Policy</a>
292
+ <a href="#" class="text-gray-400 hover:text-white transition">Terms of Service</a>
293
+ </div>
294
+ </div>
295
+ </div>
296
+ </footer>
297
+
298
+ <script>
299
+ // Mobile menu toggle
300
+ const menuBtn = document.getElementById('menu-btn');
301
+ const mobileMenu = document.getElementById('mobile-menu');
302
+
303
+ menuBtn.addEventListener('click', () => {
304
+ mobileMenu.classList.toggle('hidden');
305
+ });
306
+
307
+ // Smooth scrolling for anchor links
308
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
309
+ anchor.addEventListener('click', function (e) {
310
+ e.preventDefault();
311
+
312
+ const targetId = this.getAttribute('href');
313
+ if (targetId === '#') return;
314
+
315
+ const targetElement = document.querySelector(targetId);
316
+ if (targetElement) {
317
+ targetElement.scrollIntoView({
318
+ behavior: 'smooth'
319
+ });
320
+ }
321
+ });
322
+ });
323
+ </script>
324
+ <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=agentcyone/tailui" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
325
+ </html>