bmadityas commited on
Commit
adbd025
·
verified ·
1 Parent(s): e239d04
Files changed (6) hide show
  1. README.md +7 -4
  2. components/footer.js +37 -0
  3. components/header.js +35 -0
  4. index.html +74 -19
  5. script.js +14 -0
  6. style.css +15 -24
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Mysterious Void Explorer
3
- emoji: 🚀
4
  colorFrom: gray
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: Mysterious Void Explorer 🕳️
 
3
  colorFrom: gray
4
+ colorTo: red
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,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomFooter extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ footer {
7
+ backdrop-filter: blur(10px);
8
+ -webkit-backdrop-filter: blur(10px);
9
+ }
10
+ </style>
11
+ <footer class="bg-gray-900 bg-opacity-80 border-t border-gray-800">
12
+ <div class="container mx-auto px-4 py-8">
13
+ <div class="flex flex-col md:flex-row justify-between items-center">
14
+ <div class="mb-4 md:mb-0">
15
+ <p class="text-gray-400">&copy; ${new Date().getFullYear()} Void Explorer. All rights undefined.</p>
16
+ </div>
17
+ <div class="flex space-x-6">
18
+ <a href="#" class="text-gray-400 hover:text-white transition-colors">
19
+ <i data-feather="github"></i>
20
+ </a>
21
+ <a href="#" class="text-gray-400 hover:text-white transition-colors">
22
+ <i data-feather="twitter"></i>
23
+ </a>
24
+ <a href="#" class="text-gray-400 hover:text-white transition-colors">
25
+ <i data-feather="linkedin"></i>
26
+ </a>
27
+ <a href="#" class="text-gray-400 hover:text-white transition-colors">
28
+ <i data-feather="instagram"></i>
29
+ </a>
30
+ </div>
31
+ </div>
32
+ </div>
33
+ </footer>
34
+ `;
35
+ }
36
+ }
37
+ customElements.define('custom-footer', CustomFooter);
components/header.js ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomHeader 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:hover {
11
+ text-shadow: 0 0 8px currentColor;
12
+ }
13
+ </style>
14
+ <header class="fixed top-0 left-0 right-0 z-50">
15
+ <nav class="bg-gray-900 bg-opacity-80 border-b border-gray-800">
16
+ <div class="container mx-auto px-4 py-4 flex justify-between items-center">
17
+ <a href="#" class="text-2xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-purple-400 to-pink-500">
18
+ Void Explorer
19
+ </a>
20
+ <div class="hidden md:flex space-x-8">
21
+ <a href="#" class="nav-link text-gray-300 hover:text-white transition-colors">Home</a>
22
+ <a href="#" class="nav-link text-gray-300 hover:text-white transition-colors">About</a>
23
+ <a href="#" class="nav-link text-gray-300 hover:text-white transition-colors">Explore</a>
24
+ <a href="#" class="nav-link text-gray-300 hover:text-white transition-colors">Contact</a>
25
+ </div>
26
+ <button class="md:hidden">
27
+ <i data-feather="menu" class="w-6 h-6"></i>
28
+ </button>
29
+ </div>
30
+ </nav>
31
+ </header>
32
+ `;
33
+ }
34
+ }
35
+ customElements.define('custom-header', CustomHeader);
index.html CHANGED
@@ -1,19 +1,74 @@
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" class="h-full">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Mysterious Void Explorer</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <script src="https://unpkg.com/feather-icons"></script>
11
+ <script>
12
+ tailwind.config = {
13
+ theme: {
14
+ extend: {
15
+ colors: {
16
+ primary: {
17
+ 500: 'transparent',
18
+ },
19
+ secondary: {
20
+ 500: 'transparent',
21
+ }
22
+ }
23
+ }
24
+ }
25
+ }
26
+ </script>
27
+ </head>
28
+ <body class="min-h-screen bg-gradient-to-br from-gray-900 to-black text-white">
29
+ <custom-header></custom-header>
30
+
31
+ <main class="container mx-auto px-4 py-16">
32
+ <div class="text-center mb-16">
33
+ <h1 class="text-5xl md:text-7xl font-bold mb-6 bg-clip-text text-transparent bg-gradient-to-r from-purple-400 via-pink-500 to-red-500">
34
+ Welcome to the Void
35
+ </h1>
36
+ <p class="text-xl md:text-2xl text-gray-400 max-w-3xl mx-auto">
37
+ Where undefined meets undefined in perfect harmony. Explore the mysteries of the undefined.
38
+ </p>
39
+ </div>
40
+
41
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8 mb-16">
42
+ <div class="bg-gray-800 bg-opacity-50 rounded-xl p-8 border border-gray-700 hover:border-pink-500 transition-all">
43
+ <i data-feather="box" class="w-12 h-12 text-pink-500 mb-4"></i>
44
+ <h3 class="text-2xl font-bold mb-3">Undefined Features</h3>
45
+ <p class="text-gray-400">Discover what lies beyond the boundaries of definition.</p>
46
+ </div>
47
+ <div class="bg-gray-800 bg-opacity-50 rounded-xl p-8 border border-gray-700 hover:border-purple-500 transition-all">
48
+ <i data-feather="compass" class="w-12 h-12 text-purple-500 mb-4"></i>
49
+ <h3 class="text-2xl font-bold mb-3">Void Navigation</h3>
50
+ <p class="text-gray-400">Find your way through the uncharted territories of the undefined.</p>
51
+ </div>
52
+ <div class="bg-gray-800 bg-opacity-50 rounded-xl p-8 border border-gray-700 hover:border-red-500 transition-all">
53
+ <i data-feather="zap" class="w-12 h-12 text-red-500 mb-4"></i>
54
+ <h3 class="text-2xl font-bold mb-3">Infinite Possibilities</h3>
55
+ <p class="text-gray-400">Everything and nothing at the same time. The ultimate paradox.</p>
56
+ </div>
57
+ </div>
58
+
59
+ <div class="text-center">
60
+ <button class="px-8 py-4 bg-gradient-to-r from-purple-500 to-pink-500 rounded-full text-xl font-bold hover:shadow-lg hover:shadow-pink-500/30 transition-all">
61
+ Embrace the Void
62
+ </button>
63
+ </div>
64
+ </main>
65
+
66
+ <custom-footer></custom-footer>
67
+
68
+ <script src="components/header.js"></script>
69
+ <script src="components/footer.js"></script>
70
+ <script src="script.js"></script>
71
+ <script>feather.replace();</script>
72
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
73
+ </body>
74
+ </html>
script.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ document.addEventListener('DOMContentLoaded', () => {
2
+ console.log('Welcome to the void!');
3
+
4
+ // Add floating animation to random elements
5
+ const elements = document.querySelectorAll('div, p, h1, h2, h3');
6
+ const randomElement = elements[Math.floor(Math.random() * elements.length)];
7
+ randomElement.classList.add('floating');
8
+
9
+ // Add glow effect to headings
10
+ const headings = document.querySelectorAll('h1, h2, h3');
11
+ headings.forEach(heading => {
12
+ heading.classList.add('glow');
13
+ });
14
+ });
style.css CHANGED
@@ -1,28 +1,19 @@
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
+ @keyframes float {
2
+ 0% {
3
+ transform: translateY(0px);
4
+ }
5
+ 50% {
6
+ transform: translateY(-20px);
7
+ }
8
+ 100% {
9
+ transform: translateY(0px);
10
+ }
11
  }
12
 
13
+ .floating {
14
+ animation: float 6s ease-in-out infinite;
 
15
  }
16
 
17
+ .glow {
18
+ text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
19
+ }