fernando-bold commited on
Commit
f95bdca
Β·
verified Β·
1 Parent(s): 6ff3327
Files changed (6) hide show
  1. README.md +7 -4
  2. components/footer.js +47 -0
  3. components/navbar.js +101 -0
  4. index.html +109 -19
  5. script.js +22 -0
  6. style.css +29 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Mystic Void Explorer
3
- emoji: 🌍
4
- colorFrom: gray
5
  colorTo: blue
 
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: Mystic Void Explorer πŸŒ€
3
+ colorFrom: pink
 
4
  colorTo: blue
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,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomFooter extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ :host {
7
+ display: block;
8
+ background-color: #0f172a;
9
+ color: #94a3b8;
10
+ padding: 4rem 2rem;
11
+ border-top: 1px solid rgba(255, 255, 255, 0.1);
12
+ }
13
+
14
+ .footer-container {
15
+ max-width: 1440px;
16
+ margin: 0 auto;
17
+ display: grid;
18
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
19
+ gap: 2rem;
20
+ }
21
+
22
+ .footer-section h3 {
23
+ color: #e2e8f0;
24
+ font-size: 1.25rem;
25
+ margin-bottom: 1.5rem;
26
+ font-weight: 600;
27
+ }
28
+
29
+ .footer-links {
30
+ display: flex;
31
+ flex-direction: column;
32
+ gap: 0.75rem;
33
+ }
34
+
35
+ .footer-link {
36
+ color: #94a3b8;
37
+ text-decoration: none;
38
+ transition: color 0.2s;
39
+ }
40
+
41
+ .footer-link:hover {
42
+ color: #38bdf8;
43
+ }
44
+
45
+ .social-links {
46
+ display: flex;
47
+ gap:
components/navbar.js ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomNavbar extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ :host {
7
+ display: block;
8
+ width: 100%;
9
+ position: sticky;
10
+ top: 0;
11
+ z-index: 50;
12
+ backdrop-filter: blur(10px);
13
+ background-color: rgba(15, 23, 42, 0.8);
14
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
15
+ }
16
+
17
+ nav {
18
+ display: flex;
19
+ justify-content: space-between;
20
+ align-items: center;
21
+ padding: 1rem 2rem;
22
+ max-width: 1440px;
23
+ margin: 0 auto;
24
+ }
25
+
26
+ .logo {
27
+ font-weight: 700;
28
+ font-size: 1.5rem;
29
+ background: linear-gradient(to right, #38bdf8, #8b5cf6);
30
+ -webkit-background-clip: text;
31
+ background-clip: text;
32
+ color: transparent;
33
+ }
34
+
35
+ .nav-links {
36
+ display: flex;
37
+ gap: 2rem;
38
+ }
39
+
40
+ .nav-link {
41
+ color: #e2e8f0;
42
+ text-decoration: none;
43
+ font-weight: 500;
44
+ transition: color 0.2s;
45
+ position: relative;
46
+ }
47
+
48
+ .nav-link:hover {
49
+ color: #38bdf8;
50
+ }
51
+
52
+ .nav-link::after {
53
+ content: '';
54
+ position: absolute;
55
+ bottom: -4px;
56
+ left: 0;
57
+ width: 0;
58
+ height: 2px;
59
+ background: linear-gradient(to right, #38bdf8, #8b5cf6);
60
+ transition: width 0.3s;
61
+ }
62
+
63
+ .nav-link:hover::after {
64
+ width: 100%;
65
+ }
66
+
67
+ .mobile-menu-btn {
68
+ display: none;
69
+ background: none;
70
+ border: none;
71
+ color: white;
72
+ cursor: pointer;
73
+ }
74
+
75
+ @media (max-width: 768px) {
76
+ .nav-links {
77
+ display: none;
78
+ }
79
+
80
+ .mobile-menu-btn {
81
+ display: block;
82
+ }
83
+ }
84
+ </style>
85
+ <nav>
86
+ <a href="/" class="logo">MYSTIC VOID</a>
87
+ <div class="nav-links">
88
+ <a href="/explore" class="nav-link">Explore</a>
89
+ <a href="/dimensions" class="nav-link">Dimensions</a>
90
+ <a href="/about" class="nav-link">About</a>
91
+ <a href="/contact" class="nav-link">Contact</a>
92
+ </div>
93
+ <button class="mobile-menu-btn">
94
+ <i data-feather="menu"></i>
95
+ </button>
96
+ </nav>
97
+ `;
98
+ }
99
+ }
100
+
101
+ customElements.define('custom-navbar', CustomNavbar);
index.html CHANGED
@@ -1,19 +1,109 @@
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="dark">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Mystic Void Explorer</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script>
10
+ tailwind.config = {
11
+ darkMode: 'class',
12
+ theme: {
13
+ extend: {
14
+ colors: {
15
+ primary: {
16
+ 50: '#f0f9ff',
17
+ 100: '#e0f2fe',
18
+ 200: '#bae6fd',
19
+ 300: '#7dd3fc',
20
+ 400: '#38bdf8',
21
+ 500: '#0ea5e9',
22
+ 600: '#0284c7',
23
+ 700: '#0369a1',
24
+ 800: '#075985',
25
+ 900: '#0c4a6e',
26
+ },
27
+ secondary: {
28
+ 50: '#f5f3ff',
29
+ 100: '#ede9fe',
30
+ 200: '#ddd6fe',
31
+ 300: '#c4b5fd',
32
+ 400: '#a78bfa',
33
+ 500: '#8b5cf6',
34
+ 600: '#7c3aed',
35
+ 700: '#6d28d9',
36
+ 800: '#5b21b6',
37
+ 900: '#4c1d95',
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ </script>
44
+ <script src="https://unpkg.com/feather-icons"></script>
45
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
46
+ </head>
47
+ <body class="bg-gray-900 text-gray-100 min-h-screen">
48
+ <custom-navbar></custom-navbar>
49
+
50
+ <main class="container mx-auto px-4 py-12">
51
+ <section class="text-center mb-16">
52
+ <h1 class="text-5xl md:text-7xl font-bold mb-6 bg-clip-text text-transparent bg-gradient-to-r from-primary-400 to-secondary-500">
53
+ Explore the Mystic Void
54
+ </h1>
55
+ <p class="text-xl md:text-2xl text-gray-300 max-w-3xl mx-auto">
56
+ Journey through the unknown dimensions where reality bends and possibilities are infinite.
57
+ </p>
58
+ </section>
59
+
60
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
61
+ <div class="bg-gray-800 rounded-xl p-6 shadow-lg hover:shadow-primary-500/20 transition-all duration-300 hover:-translate-y-2">
62
+ <div class="text-primary-400 mb-4">
63
+ <i data-feather="compass" class="w-12 h-12"></i>
64
+ </div>
65
+ <h3 class="text-2xl font-bold mb-3">Dimensional Navigation</h3>
66
+ <p class="text-gray-300">Chart courses through uncharted void spaces with our advanced navigation systems.</p>
67
+ </div>
68
+
69
+ <div class="bg-gray-800 rounded-xl p-6 shadow-lg hover:shadow-secondary-500/20 transition-all duration-300 hover:-translate-y-2">
70
+ <div class="text-secondary-400 mb-4">
71
+ <i data-feather="eye" class="w-12 h-12"></i>
72
+ </div>
73
+ <h3 class="text-2xl font-bold mb-3">Reality Perception</h3>
74
+ <p class="text-gray-300">See beyond the veil of normal perception into the true nature of the cosmos.</p>
75
+ </div>
76
+
77
+ <div class="bg-gray-800 rounded-xl p-6 shadow-lg hover:shadow-primary-500/20 transition-all duration-300 hover:-translate-y-2">
78
+ <div class="text-primary-400 mb-4">
79
+ <i data-feather="zap" class="w-12 h-12"></i>
80
+ </div>
81
+ <h3 class="text-2xl font-bold mb-3">Energy Harvesting</h3>
82
+ <p class="text-gray-300">Collect and utilize the raw energy of the void for your interdimensional travels.</p>
83
+ </div>
84
+ </div>
85
+
86
+ <section class="mt-20">
87
+ <div class="bg-gradient-to-br from-primary-900/50 to-secondary-900/50 rounded-2xl p-8 md:p-12 backdrop-blur-sm">
88
+ <h2 class="text-3xl md:text-4xl font-bold mb-6">Begin Your Journey</h2>
89
+ <p class="text-lg text-gray-200 mb-8 max-w-2xl">
90
+ The void calls to those who dare to explore its mysteries. Are you ready to step beyond the known?
91
+ </p>
92
+ <button class="bg-gradient-to-r from-primary-500 to-secondary-600 text-white px-8 py-3 rounded-full font-bold hover:opacity-90 transition-all shadow-lg hover:shadow-primary-500/30">
93
+ Embark Now
94
+ </button>
95
+ </div>
96
+ </section>
97
+ </main>
98
+
99
+ <custom-footer></custom-footer>
100
+
101
+ <script src="components/navbar.js"></script>
102
+ <script src="components/footer.js"></script>
103
+ <script src="script.js"></script>
104
+ <script>
105
+ feather.replace();
106
+ </script>
107
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
108
+ </body>
109
+ </html>
script.js ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ document.addEventListener('DOMContentLoaded', () => {
2
+ // Add any global JavaScript functionality here
3
+ console.log('Mystic Void Explorer initialized');
4
+
5
+ // Example: Toggle dark mode
6
+ const toggleDarkMode = () => {
7
+ document.documentElement.classList.toggle('dark');
8
+ };
9
+ });
10
+
11
+ // Example component interaction
12
+ class VoidExplorer {
13
+ constructor() {
14
+ this.init();
15
+ }
16
+
17
+ init() {
18
+ console.log('Void exploration systems online');
19
+ }
20
+ }
21
+
22
+ new VoidExplorer();
style.css CHANGED
@@ -1,28 +1,39 @@
 
 
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=Space+Grotesk:wght@300;400;500;600;700&display=swap');
2
+
3
  body {
4
+ font-family: 'Space Grotesk', sans-serif;
5
+ }
6
+
7
+ /* Custom scrollbar */
8
+ ::-webkit-scrollbar {
9
+ width: 8px;
10
  }
11
 
12
+ ::-webkit-scrollbar-track {
13
+ background: #0f172a;
 
14
  }
15
 
16
+ ::-webkit-scrollbar-thumb {
17
+ background: #334155;
18
+ border-radius: 4px;
 
 
19
  }
20
 
21
+ ::-webkit-scrollbar-thumb:hover {
22
+ background: #475569;
 
 
 
 
23
  }
24
 
25
+ /* Animation for void elements */
26
+ @keyframes voidPulse {
27
+ 0%, 100% {
28
+ opacity: 0.8;
29
+ transform: scale(1);
30
+ }
31
+ 50% {
32
+ opacity: 1;
33
+ transform: scale(1.05);
34
+ }
35
  }
36
+
37
+ .void-pulse {
38
+ animation: voidPulse 3s ease-in-out infinite;
39
+ }