kantaphat commited on
Commit
3921ae8
Β·
verified Β·
1 Parent(s): 306fb13
Files changed (4) hide show
  1. README.md +8 -5
  2. index.html +20 -17
  3. script.js +27 -0
  4. style.css +13 -20
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Codewhisper Wizard
3
- emoji: πŸ“š
4
- colorFrom: gray
5
- colorTo: red
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: CodeWhisper Wizard πŸ§™β€β™‚οΈ
3
+ colorFrom: pink
4
+ colorTo: yellow
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).
index.html CHANGED
@@ -1,19 +1,22 @@
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>
3
+ <head>
4
+ <title>CodeWhisper Wizard</title>
5
+ <link rel="stylesheet" href="style.css">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <meta charset="utf-8">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ </head>
10
+ <body class="flex justify-center items-center h-screen overflow-hidden bg-white font-sans text-center px-6">
11
+ <div class="w-full max-w-3xl mx-auto">
12
+ <span class="text-xs rounded-full mb-2 inline-block px-2 py-1 border border-amber-500/15 bg-amber-500/15 create python binance thailand scripttext-amber-500">πŸ”₯ New version dropped!</span>
13
+ <h1 class="text-4xl lg:text-6xl font-bold font-sans mb-8">
14
+ <span class="text-2xl lg:text-4xl text-gray-400 block font-medium">I'm ready to work,</span>
15
+ Ask me anything.
16
+ </h1>
17
+ </div>
18
+ <img src="https://huggingface.co/deepsite/arrow.svg" class="absolute bottom-8 left-0 w-[100px] transform rotate-[30deg] opacity-70 hover:opacity-100 transition-opacity" />
19
+ <script src="script.js"></script>
20
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
21
+ </body>
22
  </html>
script.js ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ document.addEventListener('DOMContentLoaded', () => {
2
+ // Add interactive cursor effect
3
+ const cursor = document.createElement('div');
4
+ cursor.classList.add('cursor');
5
+ document.body.appendChild(cursor);
6
+
7
+ document.addEventListener('mousemove', (e) => {
8
+ cursor.style.left = e.clientX + 'px';
9
+ cursor.style.top = e.clientY + 'px';
10
+ });
11
+
12
+ // Add typewriter effect to the heading
13
+ const heading = document.querySelector('h1 span:last-child');
14
+ const text = heading.textContent;
15
+ heading.textContent = '';
16
+
17
+ let i = 0;
18
+ const typeWriter = () => {
19
+ if (i < text.length) {
20
+ heading.textContent += text.charAt(i);
21
+ i++;
22
+ setTimeout(typeWriter, 100);
23
+ }
24
+ };
25
+
26
+ setTimeout(typeWriter, 1000);
27
+ });
style.css CHANGED
@@ -1,28 +1,21 @@
 
 
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', sans-serif;
5
+ background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
6
+ transition: all 0.3s ease;
7
  }
8
 
9
  h1 {
10
+ text-shadow: 0 2px 4px rgba(0,0,0,0.1);
 
 
 
 
 
 
 
 
11
  }
12
 
13
+ img {
14
+ animation: float 6s ease-in-out infinite;
 
 
 
 
15
  }
16
 
17
+ @keyframes float {
18
+ 0% { transform: translateY(0) rotate(30deg); }
19
+ 50% { transform: translateY(-20px) rotate(30deg); }
20
+ 100% { transform: translateY(0) rotate(30deg); }
21
+ }