Guillelfo commited on
Commit
82bd6ab
·
verified ·
1 Parent(s): a12586b

<!DOCTYPE html>

Browse files

<html>
<head>
<title>My app</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="utf-8">
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="flex justify-center items-center h-screen overflow-hidden bg-white font-sans text-center px-6">
<div class="w-full">
<span class="text-xs rounded-full mb-2 inline-block px-2 py-1 border border-amber-500/15 bg-amber-500/15 text-amber-500">🔥 New version dropped!</span>
<h1 class="text-4xl lg:text-6xl font-bold font-sans">
<span class="text-2xl lg:text-4xl text-gray-400 block font-medium">I'm ready to work,</span>
Ask me anything.
</h1>
</div>
<img src="https://huggingface.co/deepsite/arrow.svg" class="absolute bottom-8 left-0 w-[100px] transform rotate-[30deg]" />
<script></script>
</body>
</html>

Files changed (6) hide show
  1. README.md +8 -5
  2. components/footer.js +68 -0
  3. components/navbar.js +55 -0
  4. index.html +79 -19
  5. script.js +14 -0
  6. style.css +30 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Readysetcode Wizardry
3
- emoji: 😻
4
- colorFrom: indigo
5
- colorTo: gray
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: ReadySetCode Wizardry 🧙
3
+ colorFrom: red
4
+ colorTo: green
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://huggingface.co/deepsite).
components/footer.js ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomFooter extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ .social-icon {
7
+ transition: all 0.2s ease;
8
+ }
9
+ .social-icon:hover {
10
+ transform: translateY(-2px);
11
+ color: #6366f1;
12
+ }
13
+ </style>
14
+ <footer class="bg-gray-900 text-white py-12">
15
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
16
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
17
+ <div>
18
+ <h3 class="text-lg font-semibold mb-4">ReadySetCode</h3>
19
+ <p class="text-gray-400">Your AI-powered development assistant for creating beautiful, responsive websites.</p>
20
+ </div>
21
+
22
+ <div>
23
+ <h3 class="text-lg font-semibold mb-4">Quick Links</h3>
24
+ <ul class="space-y-2">
25
+ <li><a href="/" class="text-gray-400 hover:text-white">Home</a></li>
26
+ <li><a href="#features" class="text-gray-400 hover:text-white">Features</a></li>
27
+ <li><a href="#about" class="text-gray-400 hover:text-white">About</a></li>
28
+ <li><a href="#contact" class="text-gray-400 hover:text-white">Contact</a></li>
29
+ </ul>
30
+ </div>
31
+
32
+ <div>
33
+ <h3 class="text-lg font-semibold mb-4">Resources</h3>
34
+ <ul class="space-y-2">
35
+ <li><a href="#" class="text-gray-400 hover:text-white">Documentation</a></li>
36
+ <li><a href="#" class="text-gray-400 hover:text-white">Examples</a></li>
37
+ <li><a href="#" class="text-gray-400 hover:text-white">Tutorials</a></li>
38
+ </ul>
39
+ </div>
40
+
41
+ <div>
42
+ <h3 class="text-lg font-semibold mb-4">Connect</h3>
43
+ <div class="flex space-x-4">
44
+ <a href="#" class="social-icon text-gray-400">
45
+ <i data-feather="twitter"></i>
46
+ </a>
47
+ <a href="#" class="social-icon text-gray-400">
48
+ <i data-feather="github"></i>
49
+ </a>
50
+ <a href="#" class="social-icon text-gray-400">
51
+ <i data-feather="linkedin"></i>
52
+ </a>
53
+ <a href="#" class="social-icon text-gray-400">
54
+ <i data-feather="mail"></i>
55
+ </a>
56
+ </div>
57
+ </div>
58
+ </div>
59
+
60
+ <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
61
+ <p>© ${new Date().getFullYear()} ReadySetCode Wizardry. All rights reserved.</p>
62
+ </div>
63
+ </div>
64
+ </footer>
65
+ `;
66
+ }
67
+ }
68
+ customElements.define('custom-footer', CustomFooter);
components/navbar.js ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomNavbar extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ nav {
7
+ backdrop-filter: blur(10px);
8
+ -webkit-backdrop-filter: blur(10px);
9
+ }
10
+ .nav-link {
11
+ transition: all 0.2s ease;
12
+ position: relative;
13
+ }
14
+ .nav-link:hover {
15
+ color: #6366f1;
16
+ }
17
+ .nav-link::after {
18
+ content: '';
19
+ position: absolute;
20
+ width: 0;
21
+ height: 2px;
22
+ bottom: -2px;
23
+ left: 0;
24
+ background-color: #6366f1;
25
+ transition: width 0.3s ease;
26
+ }
27
+ .nav-link:hover::after {
28
+ width: 100%;
29
+ }
30
+ </style>
31
+ <nav class="fixed w-full bg-white/80 border-b border-gray-200 z-50">
32
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
33
+ <div class="flex justify-between h-16 items-center">
34
+ <a href="/" class="flex items-center space-x-2">
35
+ <i data-feather="code" class="text-primary-500"></i>
36
+ <span class="font-bold text-gray-900">ReadySetCode</span>
37
+ </a>
38
+
39
+ <div class="hidden md:flex items-center space-x-8">
40
+ <a href="/" class="nav-link text-gray-600 hover:text-primary-500">Home</a>
41
+ <a href="#features" class="nav-link text-gray-600 hover:text-primary-500">Features</a>
42
+ <a href="#about" class="nav-link text-gray-600 hover:text-primary-500">About</a>
43
+ <a href="#contact" class="nav-link text-gray-600 hover:text-primary-500">Contact</a>
44
+ </div>
45
+
46
+ <button class="md:hidden text-gray-600">
47
+ <i data-feather="menu"></i>
48
+ </button>
49
+ </div>
50
+ </div>
51
+ </nav>
52
+ `;
53
+ }
54
+ }
55
+ customElements.define('custom-navbar', CustomNavbar);
index.html CHANGED
@@ -1,19 +1,79 @@
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>ReadySetCode | AI-Powered Development</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://unpkg.com/feather-icons"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <link rel="stylesheet" href="style.css">
11
+ <script>
12
+ tailwind.config = {
13
+ theme: {
14
+ extend: {
15
+ colors: {
16
+ primary: {
17
+ 500: '#6366f1',
18
+ },
19
+ secondary: {
20
+ 500: '#f59e0b',
21
+ }
22
+ }
23
+ }
24
+ }
25
+ }
26
+ </script>
27
+ </head>
28
+ <body class="bg-gray-50 min-h-screen">
29
+ <custom-navbar></custom-navbar>
30
+
31
+ <main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
32
+ <div class="text-center">
33
+ <h1 class="text-4xl md:text-6xl font-bold text-gray-900 mb-6">
34
+ <span class="block text-xl md:text-2xl text-primary-500 mb-2">Welcome to</span>
35
+ ReadySetCode Wizardry
36
+ </h1>
37
+ <p class="text-lg md:text-xl text-gray-600 max-w-3xl mx-auto">
38
+ Your AI-powered development assistant for creating beautiful, responsive websites with magical ease.
39
+ </p>
40
+
41
+ <div class="mt-10 grid grid-cols-1 md:grid-cols-3 gap-8">
42
+ <div class="bg-white p-6 rounded-xl shadow-lg hover:shadow-xl transition-shadow">
43
+ <div class="text-primary-500 mb-4">
44
+ <i data-feather="code" class="w-10 h-10"></i>
45
+ </div>
46
+ <h3 class="text-xl font-semibold text-gray-900 mb-2">Code Generation</h3>
47
+ <p class="text-gray-600">Instant HTML, CSS and JavaScript tailored to your needs.</p>
48
+ </div>
49
+
50
+ <div class="bg-white p-6 rounded-xl shadow-lg hover:shadow-xl transition-shadow">
51
+ <div class="text-primary-500 mb-4">
52
+ <i data-feather="layout" class="w-10 h-10"></i>
53
+ </div>
54
+ <h3 class="text-xl font-semibold text-gray-900 mb-2">UI/UX Design</h3>
55
+ <p class="text-gray-600">Beautiful, responsive interfaces with TailwindCSS.</p>
56
+ </div>
57
+
58
+ <div class="bg-white p-6 rounded-xl shadow-lg hover:shadow-xl transition-shadow">
59
+ <div class="text-primary-500 mb-4">
60
+ <i data-feather="zap" class="w-10 h-10"></i>
61
+ </div>
62
+ <h3 class="text-xl font-semibold text-gray-900 mb-2">Fast Results</h3>
63
+ <p class="text-gray-600">Get complete solutions in seconds, not hours.</p>
64
+ </div>
65
+ </div>
66
+ </div>
67
+ </main>
68
+
69
+ <custom-footer></custom-footer>
70
+
71
+ <script src="components/navbar.js"></script>
72
+ <script src="components/footer.js"></script>
73
+ <script src="script.js"></script>
74
+ <script>
75
+ feather.replace();
76
+ </script>
77
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
78
+ </body>
79
+ </html>
script.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ document.addEventListener('DOMContentLoaded', () => {
2
+ // Initialize any global functionality here
3
+ console.log('ReadySetCode Wizardry initialized!');
4
+
5
+ // Example: Smooth scrolling for anchor links
6
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
7
+ anchor.addEventListener('click', function (e) {
8
+ e.preventDefault();
9
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
10
+ behavior: 'smooth'
11
+ });
12
+ });
13
+ });
14
+ });
style.css CHANGED
@@ -1,28 +1,40 @@
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
28
  }
 
 
 
 
 
 
 
 
 
 
1
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
2
+
3
  body {
4
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
5
+ line-height: 1.5;
6
+ }
7
+
8
+ /* Smooth scroll behavior */
9
+ html {
10
+ scroll-behavior: smooth;
11
  }
12
 
13
+ /* Custom animations */
14
+ @keyframes fadeIn {
15
+ from { opacity: 0; }
16
+ to { opacity: 1; }
17
  }
18
 
19
+ .animate-fade-in {
20
+ animation: fadeIn 0.5s ease-out forwards;
 
 
 
21
  }
22
 
23
+ /* Custom scrollbar */
24
+ ::-webkit-scrollbar {
25
+ width: 8px;
26
+ height: 8px;
 
 
27
  }
28
 
29
+ ::-webkit-scrollbar-track {
30
+ background: #f1f1f1;
31
  }
32
+
33
+ ::-webkit-scrollbar-thumb {
34
+ background: #888;
35
+ border-radius: 4px;
36
+ }
37
+
38
+ ::-webkit-scrollbar-thumb:hover {
39
+ background: #555;
40
+ }