Spaces:
Running
Running
Сделай одну страницу сайта
Browse files- README.md +7 -4
- components/footer.js +168 -0
- components/navigation.js +170 -0
- index.html +247 -19
- script.js +161 -0
- style.css +88 -19
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
colorFrom: indigo
|
| 5 |
colorTo: pink
|
|
|
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: MysticVibe Explorer 🌀
|
| 3 |
+
colorFrom: gray
|
|
|
|
| 4 |
colorTo: pink
|
| 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,168 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomFooter extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
footer {
|
| 7 |
+
background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
|
| 8 |
+
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
.social-icon {
|
| 12 |
+
transition: all 0.3s ease;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
.social-icon:hover {
|
| 16 |
+
transform: translateY(-3px);
|
| 17 |
+
color: #38bdf8;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
.footer-link {
|
| 21 |
+
transition: color 0.3s ease;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
.footer-link:hover {
|
| 25 |
+
color: #d946ef;
|
| 26 |
+
}
|
| 27 |
+
</style>
|
| 28 |
+
|
| 29 |
+
<footer class="mt-20 py-12">
|
| 30 |
+
<div class="container mx-auto px-4">
|
| 31 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-12">
|
| 32 |
+
<!-- Brand Section -->
|
| 33 |
+
<div>
|
| 34 |
+
<div class="flex items-center space-x-3 mb-6">
|
| 35 |
+
<div class="w-12 h-12 rounded-full bg-gradient-to-r from-primary-500 to-secondary-500 flex items-center justify-center">
|
| 36 |
+
<i data-feather="compass" class="w-6 h-6 text-white"></i>
|
| 37 |
+
</div>
|
| 38 |
+
<div>
|
| 39 |
+
<h3 class="text-xl font-bold">MysticVibe Explorer</h3>
|
| 40 |
+
<p class="text-gray-400 text-sm">Discover the Unseen</p>
|
| 41 |
+
</div>
|
| 42 |
+
</div>
|
| 43 |
+
<p class="text-gray-400 mb-6">
|
| 44 |
+
Exploring cosmic mysteries and mystical insights since 2024.
|
| 45 |
+
Join us on this journey through the unknown.
|
| 46 |
+
</p>
|
| 47 |
+
<div class="flex space-x-4">
|
| 48 |
+
<a href="#" class="social-icon text-gray-400 hover:text-primary-400">
|
| 49 |
+
<i data-feather="twitter" class="w-5 h-5"></i>
|
| 50 |
+
</a>
|
| 51 |
+
<a href="#" class="social-icon text-gray-400 hover:text-primary-400">
|
| 52 |
+
<i data-feather="instagram" class="w-5 h-5"></i>
|
| 53 |
+
</a>
|
| 54 |
+
<a href="#" class="social-icon text-gray-400 hover:text-primary-400">
|
| 55 |
+
<i data-feather="github" class="w-5 h-5"></i>
|
| 56 |
+
</a>
|
| 57 |
+
<a href="#" class="social-icon text-gray-400 hover:text-primary-400">
|
| 58 |
+
<i data-feather="youtube" class="w-5 h-5"></i>
|
| 59 |
+
</a>
|
| 60 |
+
</div>
|
| 61 |
+
</div>
|
| 62 |
+
|
| 63 |
+
<!-- Quick Links -->
|
| 64 |
+
<div>
|
| 65 |
+
<h4 class="text-lg font-bold mb-6">Quick Links</h4>
|
| 66 |
+
<ul class="space-y-3">
|
| 67 |
+
<li>
|
| 68 |
+
<a href="#explore" class="footer-link text-gray-400 hover:text-white">
|
| 69 |
+
Cosmic Explorer
|
| 70 |
+
</a>
|
| 71 |
+
</li>
|
| 72 |
+
<li>
|
| 73 |
+
<a href="#insights" class="footer-link text-gray-400 hover:text-white">
|
| 74 |
+
Daily Insights
|
| 75 |
+
</a>
|
| 76 |
+
</li>
|
| 77 |
+
<li>
|
| 78 |
+
<a href="#" class="footer-link text-gray-400 hover:text-white">
|
| 79 |
+
Research Library
|
| 80 |
+
</a>
|
| 81 |
+
</li>
|
| 82 |
+
<li>
|
| 83 |
+
<a href="#" class="footer-link text-gray-400 hover:text-white">
|
| 84 |
+
Community Forum
|
| 85 |
+
</a>
|
| 86 |
+
</li>
|
| 87 |
+
</ul>
|
| 88 |
+
</div>
|
| 89 |
+
|
| 90 |
+
<!-- Resources -->
|
| 91 |
+
<div>
|
| 92 |
+
<h4 class="text-lg font-bold mb-6">Resources</h4>
|
| 93 |
+
<ul class="space-y-3">
|
| 94 |
+
<li>
|
| 95 |
+
<a href="#" class="footer-link text-gray-400 hover:text-white">
|
| 96 |
+
Documentation
|
| 97 |
+
</a>
|
| 98 |
+
</li>
|
| 99 |
+
<li>
|
| 100 |
+
<a href="#" class="footer-link text-gray-400 hover:text-white">
|
| 101 |
+
API Reference
|
| 102 |
+
</a>
|
| 103 |
+
</li>
|
| 104 |
+
<li>
|
| 105 |
+
<a href="#" class="footer-link text-gray-400 hover:text-white">
|
| 106 |
+
Tutorials
|
| 107 |
+
</a>
|
| 108 |
+
</li>
|
| 109 |
+
<li>
|
| 110 |
+
<a href="#" class="footer-link text-gray-400 hover:text-white">
|
| 111 |
+
Blog
|
| 112 |
+
</a>
|
| 113 |
+
</li>
|
| 114 |
+
</ul>
|
| 115 |
+
</div>
|
| 116 |
+
|
| 117 |
+
<!-- Newsletter -->
|
| 118 |
+
<div>
|
| 119 |
+
<h4 class="text-lg font-bold mb-6">Cosmic Updates</h4>
|
| 120 |
+
<p class="text-gray-400 mb-4">
|
| 121 |
+
Subscribe to receive mystical insights and cosmic discoveries.
|
| 122 |
+
</p>
|
| 123 |
+
<div class="flex flex-col space-y-3">
|
| 124 |
+
<input
|
| 125 |
+
type="email"
|
| 126 |
+
placeholder="Your email address"
|
| 127 |
+
class="px-4 py-3 bg-gray-800 border border-gray-700 rounded-lg focus:outline-none focus:border-primary-500 focus:ring-2 focus:ring-primary-500/20"
|
| 128 |
+
>
|
| 129 |
+
<button class="px-6 py-3 bg-gradient-to-r from-primary-500 to-secondary-500 hover:from-primary-600 hover:to-secondary-600 rounded-lg font-semibold transition-all duration-300">
|
| 130 |
+
Subscribe
|
| 131 |
+
</button>
|
| 132 |
+
</div>
|
| 133 |
+
</div>
|
| 134 |
+
</div>
|
| 135 |
+
|
| 136 |
+
<!-- Bottom Bar -->
|
| 137 |
+
<div class="pt-8 border-t border-gray-800">
|
| 138 |
+
<div class="flex flex-col md:flex-row justify-between items-center space-y-4 md:space-y-0">
|
| 139 |
+
<div class="text-gray-500 text-sm">
|
| 140 |
+
© 2024 MysticVibe Explorer. All cosmic rights reserved.
|
| 141 |
+
</div>
|
| 142 |
+
<div class="flex space-x-6 text-sm">
|
| 143 |
+
<a href="#" class="footer-link text-gray-500 hover:text-white">
|
| 144 |
+
Privacy Policy
|
| 145 |
+
</a>
|
| 146 |
+
<a href="#" class="footer-link text-gray-500 hover:text-white">
|
| 147 |
+
Terms of Service
|
| 148 |
+
</a>
|
| 149 |
+
<a href="#" class="footer-link text-gray-500 hover:text-white">
|
| 150 |
+
Cookie Policy
|
| 151 |
+
</a>
|
| 152 |
+
</div>
|
| 153 |
+
</div>
|
| 154 |
+
</div>
|
| 155 |
+
</div>
|
| 156 |
+
</footer>
|
| 157 |
+
`;
|
| 158 |
+
|
| 159 |
+
// Initialize Feather Icons in shadow DOM
|
| 160 |
+
setTimeout(() => {
|
| 161 |
+
if (typeof feather !== 'undefined') {
|
| 162 |
+
feather.replace();
|
| 163 |
+
}
|
| 164 |
+
}, 100);
|
| 165 |
+
}
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
customElements.define('custom-footer', CustomFooter);
|
components/navigation.js
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomNavigation extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
nav {
|
| 7 |
+
background: rgba(15, 23, 42, 0.9);
|
| 8 |
+
backdrop-filter: blur(10px);
|
| 9 |
+
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
.nav-link {
|
| 13 |
+
position: relative;
|
| 14 |
+
transition: color 0.3s ease;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
.nav-link:hover {
|
| 18 |
+
color: #38bdf8;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
.nav-link::after {
|
| 22 |
+
content: '';
|
| 23 |
+
position: absolute;
|
| 24 |
+
bottom: -2px;
|
| 25 |
+
left: 0;
|
| 26 |
+
width: 0;
|
| 27 |
+
height: 2px;
|
| 28 |
+
background: linear-gradient(to right, #0ea5e9, #d946ef);
|
| 29 |
+
transition: width 0.3s ease;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.nav-link:hover::after {
|
| 33 |
+
width: 100%;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
.mobile-menu {
|
| 37 |
+
transition: all 0.3s ease;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
@media (max-width: 768px) {
|
| 41 |
+
.mobile-menu {
|
| 42 |
+
position: fixed;
|
| 43 |
+
top: 0;
|
| 44 |
+
left: 0;
|
| 45 |
+
right: 0;
|
| 46 |
+
bottom: 0;
|
| 47 |
+
background: rgba(15, 23, 42, 0.95);
|
| 48 |
+
z-index: 40;
|
| 49 |
+
display: flex;
|
| 50 |
+
flex-direction: column;
|
| 51 |
+
justify-content: center;
|
| 52 |
+
align-items: center;
|
| 53 |
+
}
|
| 54 |
+
}
|
| 55 |
+
</style>
|
| 56 |
+
|
| 57 |
+
<nav class="sticky top-0 z-50 py-4">
|
| 58 |
+
<div class="container mx-auto px-4">
|
| 59 |
+
<div class="flex items-center justify-between">
|
| 60 |
+
<!-- Logo -->
|
| 61 |
+
<a href="/" class="flex items-center space-x-3">
|
| 62 |
+
<div class="w-10 h-10 rounded-full bg-gradient-to-r from-primary-500 to-secondary-500 flex items-center justify-center">
|
| 63 |
+
<i data-feather="compass" class="w-6 h-6 text-white"></i>
|
| 64 |
+
</div>
|
| 65 |
+
<span class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-primary-400 to-secondary-400">
|
| 66 |
+
MysticVibe
|
| 67 |
+
</span>
|
| 68 |
+
</a>
|
| 69 |
+
|
| 70 |
+
<!-- Desktop Navigation -->
|
| 71 |
+
<div class="hidden md:flex items-center space-x-8">
|
| 72 |
+
<a href="#explore" class="nav-link text-gray-300 hover:text-white">
|
| 73 |
+
<i data-feather="compass" class="w-4 h-4 inline mr-2"></i>
|
| 74 |
+
Explore
|
| 75 |
+
</a>
|
| 76 |
+
<a href="#insights" class="nav-link text-gray-300 hover:text-white">
|
| 77 |
+
<i data-feather="eye" class="w-4 h-4 inline mr-2"></i>
|
| 78 |
+
Insights
|
| 79 |
+
</a>
|
| 80 |
+
<a href="#" class="nav-link text-gray-300 hover:text-white">
|
| 81 |
+
<i data-feather="book" class="w-4 h-4 inline mr-2"></i>
|
| 82 |
+
Library
|
| 83 |
+
</a>
|
| 84 |
+
<a href="#" class="nav-link text-gray-300 hover:text-white">
|
| 85 |
+
<i data-feather="users" class="w-4 h-4 inline mr-2"></i>
|
| 86 |
+
Community
|
| 87 |
+
</a>
|
| 88 |
+
<button class="px-6 py-2 bg-gradient-to-r from-primary-500 to-secondary-500 hover:from-primary-600 hover:to-secondary-600 rounded-full font-semibold transition-all duration-300 transform hover:scale-105">
|
| 89 |
+
Join Exploration
|
| 90 |
+
</button>
|
| 91 |
+
</div>
|
| 92 |
+
|
| 93 |
+
<!-- Mobile Menu Button -->
|
| 94 |
+
<button id="mobileMenuButton" class="md:hidden text-gray-300 hover:text-white">
|
| 95 |
+
<i data-feather="menu" class="w-6 h-6"></i>
|
| 96 |
+
</button>
|
| 97 |
+
</div>
|
| 98 |
+
|
| 99 |
+
<!-- Mobile Menu -->
|
| 100 |
+
<div id="mobileMenu" class="mobile-menu hidden md:hidden">
|
| 101 |
+
<div class="absolute top-4 right-4">
|
| 102 |
+
<button id="closeMobileMenu" class="text-gray-300 hover:text-white">
|
| 103 |
+
<i data-feather="x" class="w-6 h-6"></i>
|
| 104 |
+
</button>
|
| 105 |
+
</div>
|
| 106 |
+
|
| 107 |
+
<div class="flex flex-col items-center space-y-8">
|
| 108 |
+
<a href="#explore" class="text-2xl font-semibold text-gray-300 hover:text-white transition-colors">
|
| 109 |
+
<i data-feather="compass" class="w-6 h-6 inline mr-3"></i>
|
| 110 |
+
Explore
|
| 111 |
+
</a>
|
| 112 |
+
<a href="#insights" class="text-2xl font-semibold text-gray-300 hover:text-white transition-colors">
|
| 113 |
+
<i data-feather="eye" class="w-6 h-6 inline mr-3"></i>
|
| 114 |
+
Insights
|
| 115 |
+
</a>
|
| 116 |
+
<a href="#" class="text-2xl font-semibold text-gray-300 hover:text-white transition-colors">
|
| 117 |
+
<i data-feather="book" class="w-6 h-6 inline mr-3"></i>
|
| 118 |
+
Library
|
| 119 |
+
</a>
|
| 120 |
+
<a href="#" class="text-2xl font-semibold text-gray-300 hover:text-white transition-colors">
|
| 121 |
+
<i data-feather="users" class="w-6 h-6 inline mr-3"></i>
|
| 122 |
+
Community
|
| 123 |
+
</a>
|
| 124 |
+
<button class="px-8 py-3 bg-gradient-to-r from-primary-500 to-secondary-500 hover:from-primary-600 hover:to-secondary-600 rounded-full font-semibold text-lg transition-all duration-300">
|
| 125 |
+
Join Exploration
|
| 126 |
+
</button>
|
| 127 |
+
</div>
|
| 128 |
+
</div>
|
| 129 |
+
</div>
|
| 130 |
+
</nav>
|
| 131 |
+
`;
|
| 132 |
+
|
| 133 |
+
// Initialize Feather Icons in shadow DOM
|
| 134 |
+
setTimeout(() => {
|
| 135 |
+
if (typeof feather !== 'undefined') {
|
| 136 |
+
feather.replace();
|
| 137 |
+
}
|
| 138 |
+
|
| 139 |
+
// Add event listeners for mobile menu
|
| 140 |
+
const mobileMenuButton = this.shadowRoot.getElementById('mobileMenuButton');
|
| 141 |
+
const mobileMenu = this.shadowRoot.getElementById('mobileMenu');
|
| 142 |
+
const closeMobileMenu = this.shadowRoot.getElementById('closeMobileMenu');
|
| 143 |
+
|
| 144 |
+
if (mobileMenuButton && mobileMenu) {
|
| 145 |
+
mobileMenuButton.addEventListener('click', () => {
|
| 146 |
+
mobileMenu.classList.remove('hidden');
|
| 147 |
+
document.body.style.overflow = 'hidden';
|
| 148 |
+
});
|
| 149 |
+
}
|
| 150 |
+
|
| 151 |
+
if (closeMobileMenu && mobileMenu) {
|
| 152 |
+
closeMobileMenu.addEventListener('click', () => {
|
| 153 |
+
mobileMenu.classList.add('hidden');
|
| 154 |
+
document.body.style.overflow = '';
|
| 155 |
+
});
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
// Close mobile menu when clicking on links
|
| 159 |
+
const mobileLinks = mobileMenu.querySelectorAll('a');
|
| 160 |
+
mobileLinks.forEach(link => {
|
| 161 |
+
link.addEventListener('click', () => {
|
| 162 |
+
mobileMenu.classList.add('hidden');
|
| 163 |
+
document.body.style.overflow = '';
|
| 164 |
+
});
|
| 165 |
+
});
|
| 166 |
+
}, 100);
|
| 167 |
+
}
|
| 168 |
+
}
|
| 169 |
+
|
| 170 |
+
customElements.define('custom-navigation', CustomNavigation);
|
index.html
CHANGED
|
@@ -1,19 +1,247 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>MysticVibe Explorer 🌀 - Discover the Unseen</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 8 |
+
<link rel="stylesheet" href="style.css">
|
| 9 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 12 |
+
<script>
|
| 13 |
+
tailwind.config = {
|
| 14 |
+
theme: {
|
| 15 |
+
extend: {
|
| 16 |
+
colors: {
|
| 17 |
+
primary: {
|
| 18 |
+
50: '#f0f9ff',
|
| 19 |
+
100: '#e0f2fe',
|
| 20 |
+
200: '#bae6fd',
|
| 21 |
+
300: '#7dd3fc',
|
| 22 |
+
400: '#38bdf8',
|
| 23 |
+
500: '#0ea5e9',
|
| 24 |
+
600: '#0284c7',
|
| 25 |
+
700: '#0369a1',
|
| 26 |
+
800: '#075985',
|
| 27 |
+
900: '#0c4a6e',
|
| 28 |
+
},
|
| 29 |
+
secondary: {
|
| 30 |
+
50: '#fdf4ff',
|
| 31 |
+
100: '#fae8ff',
|
| 32 |
+
200: '#f5d0fe',
|
| 33 |
+
300: '#f0abfc',
|
| 34 |
+
400: '#e879f9',
|
| 35 |
+
500: '#d946ef',
|
| 36 |
+
600: '#c026d3',
|
| 37 |
+
700: '#a21caf',
|
| 38 |
+
800: '#86198f',
|
| 39 |
+
900: '#701a75',
|
| 40 |
+
}
|
| 41 |
+
}
|
| 42 |
+
}
|
| 43 |
+
}
|
| 44 |
+
}
|
| 45 |
+
</script>
|
| 46 |
+
</head>
|
| 47 |
+
<body class="bg-gradient-to-br from-gray-900 via-black to-gray-900 text-white min-h-screen font-sans">
|
| 48 |
+
<!-- Navigation Component -->
|
| 49 |
+
<script src="components/navigation.js"></script>
|
| 50 |
+
<custom-navigation></custom-navigation>
|
| 51 |
+
|
| 52 |
+
<!-- Hero Section -->
|
| 53 |
+
<main class="container mx-auto px-4 py-12 md:py-20">
|
| 54 |
+
<div class="max-w-6xl mx-auto">
|
| 55 |
+
<div class="text-center mb-16">
|
| 56 |
+
<h1 class="text-4xl md:text-6xl lg:text-7xl font-bold mb-6 bg-clip-text text-transparent bg-gradient-to-r from-primary-400 via-secondary-400 to-primary-300">
|
| 57 |
+
MysticVibe Explorer 🌀
|
| 58 |
+
</h1>
|
| 59 |
+
<p class="text-xl md:text-2xl text-gray-300 mb-10 max-w-3xl mx-auto">
|
| 60 |
+
Dive into the unknown and discover mystical insights from across the universe.
|
| 61 |
+
Where curiosity meets cosmic wonder.
|
| 62 |
+
</p>
|
| 63 |
+
<div class="flex flex-wrap justify-center gap-4">
|
| 64 |
+
<a href="#explore" class="px-8 py-4 bg-gradient-to-r from-primary-500 to-secondary-500 hover:from-primary-600 hover:to-secondary-600 rounded-full font-semibold text-lg transition-all duration-300 transform hover:scale-105 shadow-lg hover:shadow-xl">
|
| 65 |
+
<i data-feather="compass" class="inline mr-2"></i> Start Exploring
|
| 66 |
+
</a>
|
| 67 |
+
<a href="#insights" class="px-8 py-4 bg-gray-800 hover:bg-gray-700 border border-gray-700 rounded-full font-semibold text-lg transition-all duration-300 transform hover:scale-105">
|
| 68 |
+
<i data-feather="eye" class="inline mr-2"></i> View Insights
|
| 69 |
+
</a>
|
| 70 |
+
</div>
|
| 71 |
+
</div>
|
| 72 |
+
|
| 73 |
+
<!-- Featured Cosmic Insights -->
|
| 74 |
+
<section id="explore" class="mb-20">
|
| 75 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-10 text-center">
|
| 76 |
+
<i data-feather="star" class="inline mr-3 text-yellow-400"></i>
|
| 77 |
+
Cosmic Insights of the Day
|
| 78 |
+
</h2>
|
| 79 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
| 80 |
+
<!-- Insight Card 1 -->
|
| 81 |
+
<div class="bg-gradient-to-br from-gray-800 to-gray-900 rounded-2xl p-6 border border-gray-700 hover:border-primary-500 transition-all duration-300 hover:shadow-2xl hover:shadow-primary-500/20">
|
| 82 |
+
<div class="flex items-center mb-4">
|
| 83 |
+
<div class="w-12 h-12 rounded-full bg-gradient-to-r from-primary-500 to-secondary-500 flex items-center justify-center">
|
| 84 |
+
<i data-feather="moon" class="w-6 h-6"></i>
|
| 85 |
+
</div>
|
| 86 |
+
<div class="ml-4">
|
| 87 |
+
<h3 class="text-xl font-bold">Lunar Mysteries</h3>
|
| 88 |
+
<p class="text-gray-400 text-sm">Celestial Patterns</p>
|
| 89 |
+
</div>
|
| 90 |
+
</div>
|
| 91 |
+
<p class="text-gray-300 mb-6">
|
| 92 |
+
Discover the hidden patterns of lunar cycles and their mystical influence on cosmic energy flows.
|
| 93 |
+
</p>
|
| 94 |
+
<div class="flex justify-between items-center">
|
| 95 |
+
<span class="text-primary-400 font-semibold">Active Research</span>
|
| 96 |
+
<button class="text-secondary-400 hover:text-secondary-300 transition-colors">
|
| 97 |
+
<i data-feather="arrow-right" class="w-5 h-5"></i>
|
| 98 |
+
</button>
|
| 99 |
+
</div>
|
| 100 |
+
</div>
|
| 101 |
+
|
| 102 |
+
<!-- Insight Card 2 -->
|
| 103 |
+
<div class="bg-gradient-to-br from-gray-800 to-gray-900 rounded-2xl p-6 border border-gray-700 hover:border-secondary-500 transition-all duration-300 hover:shadow-2xl hover:shadow-secondary-500/20">
|
| 104 |
+
<div class="flex items-center mb-4">
|
| 105 |
+
<div class="w-12 h-12 rounded-full bg-gradient-to-r from-secondary-500 to-primary-500 flex items-center justify-center">
|
| 106 |
+
<i data-feather="wind" class="w-6 h-6"></i>
|
| 107 |
+
</div>
|
| 108 |
+
<div class="ml-4">
|
| 109 |
+
<h3 class="text-xl font-bold">Quantum Echoes</h3>
|
| 110 |
+
<p class="text-gray-400 text-sm">Energy Waves</p>
|
| 111 |
+
</div>
|
| 112 |
+
</div>
|
| 113 |
+
<p class="text-gray-300 mb-6">
|
| 114 |
+
Explore the quantum vibrations that connect all matter in the universe through harmonic resonance.
|
| 115 |
+
</p>
|
| 116 |
+
<div class="flex justify-between items-center">
|
| 117 |
+
<span class="text-secondary-400 font-semibold">New Discovery</span>
|
| 118 |
+
<button class="text-primary-400 hover:text-primary-300 transition-colors">
|
| 119 |
+
<i data-feather="arrow-right" class="w-5 h-5"></i>
|
| 120 |
+
</button>
|
| 121 |
+
</div>
|
| 122 |
+
</div>
|
| 123 |
+
|
| 124 |
+
<!-- Insight Card 3 -->
|
| 125 |
+
<div class="bg-gradient-to-br from-gray-800 to-gray-900 rounded-2xl p-6 border border-gray-700 hover:border-primary-400 transition-all duration-300 hover:shadow-2xl hover:shadow-primary-400/20">
|
| 126 |
+
<div class="flex items-center mb-4">
|
| 127 |
+
<div class="w-12 h-12 rounded-full bg-gradient-to-r from-primary-400 to-secondary-400 flex items-center justify-center">
|
| 128 |
+
<i data-feather="zap" class="w-6 h-6"></i>
|
| 129 |
+
</div>
|
| 130 |
+
<div class="ml-4">
|
| 131 |
+
<h3 class="text-xl font-bold">Cosmic Symphony</h3>
|
| 132 |
+
<p class="text-gray-400 text-sm">Universal Harmony</p>
|
| 133 |
+
</div>
|
| 134 |
+
</div>
|
| 135 |
+
<p class="text-gray-300 mb-6">
|
| 136 |
+
Listen to the symphony of celestial bodies as they create harmonic patterns across the cosmos.
|
| 137 |
+
</p>
|
| 138 |
+
<div class="flex justify-between items-center">
|
| 139 |
+
<span class="text-primary-300 font-semibold">Ongoing Study</span>
|
| 140 |
+
<button class="text-secondary-300 hover:text-secondary-200 transition-colors">
|
| 141 |
+
<i data-feather="arrow-right" class="w-5 h-5"></i>
|
| 142 |
+
</button>
|
| 143 |
+
</div>
|
| 144 |
+
</div>
|
| 145 |
+
</div>
|
| 146 |
+
</section>
|
| 147 |
+
|
| 148 |
+
<!-- Interactive Explorer -->
|
| 149 |
+
<section id="insights" class="mb-20">
|
| 150 |
+
<div class="bg-gradient-to-r from-gray-800/50 to-gray-900/50 backdrop-blur-lg rounded-3xl p-8 md:p-12 border border-gray-700">
|
| 151 |
+
<div class="flex flex-col lg:flex-row items-center justify-between gap-8">
|
| 152 |
+
<div class="lg:w-1/2">
|
| 153 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-6">
|
| 154 |
+
Interactive Cosmic Explorer
|
| 155 |
+
</h2>
|
| 156 |
+
<p class="text-gray-300 mb-8 text-lg">
|
| 157 |
+
Generate unique cosmic insights and mystical patterns in real-time.
|
| 158 |
+
Each exploration reveals new connections between celestial phenomena.
|
| 159 |
+
</p>
|
| 160 |
+
<div class="space-y-4">
|
| 161 |
+
<div class="flex items-center">
|
| 162 |
+
<i data-feather="check-circle" class="w-6 h-6 text-green-400 mr-3"></i>
|
| 163 |
+
<span class="text-gray-200">Real-time cosmic data analysis</span>
|
| 164 |
+
</div>
|
| 165 |
+
<div class="flex items-center">
|
| 166 |
+
<i data-feather="check-circle" class="w-6 h-6 text-green-400 mr-3"></i>
|
| 167 |
+
<span class="text-gray-200">Personalized mystical insights</span>
|
| 168 |
+
</div>
|
| 169 |
+
<div class="flex items-center">
|
| 170 |
+
<i data-feather="check-circle" class="w-6 h-6 text-green-400 mr-3"></i>
|
| 171 |
+
<span class="text-gray-200">Interactive 3D visualizations</span>
|
| 172 |
+
</div>
|
| 173 |
+
</div>
|
| 174 |
+
<button id="generateInsight" class="mt-8 px-8 py-4 bg-gradient-to-r from-primary-600 to-secondary-600 hover:from-primary-700 hover:to-secondary-700 rounded-full font-semibold text-lg transition-all duration-300 transform hover:scale-105">
|
| 175 |
+
<i data-feather="refresh-cw" class="inline mr-2"></i> Generate New Insight
|
| 176 |
+
</button>
|
| 177 |
+
</div>
|
| 178 |
+
<div class="lg:w-1/2">
|
| 179 |
+
<div class="bg-gray-900 rounded-2xl p-6 border border-gray-700">
|
| 180 |
+
<div class="flex justify-between items-center mb-6">
|
| 181 |
+
<h3 class="text-xl font-bold">Current Insight</h3>
|
| 182 |
+
<span class="text-xs px-3 py-1 bg-primary-500/20 text-primary-300 rounded-full">Live</span>
|
| 183 |
+
</div>
|
| 184 |
+
<div id="insightDisplay" class="text-center py-8">
|
| 185 |
+
<div class="text-6xl mb-4">🌀</div>
|
| 186 |
+
<p class="text-gray-300 text-lg">
|
| 187 |
+
The cosmic veil is thin today. Quantum echoes suggest heightened spiritual connectivity.
|
| 188 |
+
</p>
|
| 189 |
+
</div>
|
| 190 |
+
<div class="text-center text-gray-400 text-sm">
|
| 191 |
+
<i data-feather="clock" class="inline w-4 h-4 mr-1"></i>
|
| 192 |
+
Updated just now
|
| 193 |
+
</div>
|
| 194 |
+
</div>
|
| 195 |
+
</div>
|
| 196 |
+
</div>
|
| 197 |
+
</div>
|
| 198 |
+
</section>
|
| 199 |
+
|
| 200 |
+
<!-- Cosmic Gallery -->
|
| 201 |
+
<section class="mb-20">
|
| 202 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-10 text-center">
|
| 203 |
+
<i data-feather="image" class="inline mr-3 text-purple-400"></i>
|
| 204 |
+
Mystical Visual Gallery
|
| 205 |
+
</h2>
|
| 206 |
+
<div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4">
|
| 207 |
+
<div class="relative overflow-hidden rounded-xl group cursor-pointer">
|
| 208 |
+
<img src="http://static.photos/abstract/640x360/1" alt="Abstract Cosmic Pattern" class="w-full h-48 object-cover group-hover:scale-110 transition-transform duration-500">
|
| 209 |
+
<div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-end p-4">
|
| 210 |
+
<span class="text-white font-semibold">Quantum Field</span>
|
| 211 |
+
</div>
|
| 212 |
+
</div>
|
| 213 |
+
<div class="relative overflow-hidden rounded-xl group cursor-pointer">
|
| 214 |
+
<img src="http://static.photos/blue/640x360/2" alt="Cosmic Blue Energy" class="w-full h-48 object-cover group-hover:scale-110 transition-transform duration-500">
|
| 215 |
+
<div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-end p-4">
|
| 216 |
+
<span class="text-white font-semibold">Celestial Blue</span>
|
| 217 |
+
</div>
|
| 218 |
+
</div>
|
| 219 |
+
<div class="relative overflow-hidden rounded-xl group cursor-pointer">
|
| 220 |
+
<img src="http://static.photos/gradient/640x360/3" alt="Energy Gradient" class="w-full h-48 object-cover group-hover:scale-110 transition-transform duration-500">
|
| 221 |
+
<div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-end p-4">
|
| 222 |
+
<span class="text-white font-semibold">Energy Flow</span>
|
| 223 |
+
</div>
|
| 224 |
+
</div>
|
| 225 |
+
<div class="relative overflow-hidden rounded-xl group cursor-pointer">
|
| 226 |
+
<img src="http://static.photos/black/640x360/4" alt="Dark Matter" class="w-full h-48 object-cover group-hover:scale-110 transition-transform duration-500">
|
| 227 |
+
<div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-end p-4">
|
| 228 |
+
<span class="text-white font-semibold">Dark Matter</span>
|
| 229 |
+
</div>
|
| 230 |
+
</div>
|
| 231 |
+
</div>
|
| 232 |
+
</section>
|
| 233 |
+
</div>
|
| 234 |
+
</main>
|
| 235 |
+
|
| 236 |
+
<!-- Footer Component -->
|
| 237 |
+
<script src="components/footer.js"></script>
|
| 238 |
+
<custom-footer></custom-footer>
|
| 239 |
+
|
| 240 |
+
<!-- Scripts -->
|
| 241 |
+
<script src="script.js"></script>
|
| 242 |
+
<script>
|
| 243 |
+
feather.replace();
|
| 244 |
+
</script>
|
| 245 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 246 |
+
</body>
|
| 247 |
+
</html>
|
script.js
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Main JavaScript for MysticVibe Explorer
|
| 2 |
+
|
| 3 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 4 |
+
// Initialize Feather Icons
|
| 5 |
+
if (typeof feather !== 'undefined') {
|
| 6 |
+
feather.replace();
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
// Generate Insight Button Functionality
|
| 10 |
+
const generateInsightBtn = document.getElementById('generateInsight');
|
| 11 |
+
const insightDisplay = document.getElementById('insightDisplay');
|
| 12 |
+
|
| 13 |
+
const cosmicInsights = [
|
| 14 |
+
{
|
| 15 |
+
emoji: "🌌",
|
| 16 |
+
text: "The cosmic alignment suggests heightened intuition and spiritual awareness today."
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
emoji: "⚡",
|
| 20 |
+
text: "Quantum fluctuations indicate a period of rapid transformation and growth."
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
emoji: "🌀",
|
| 24 |
+
text: "Energy vortices are forming, creating opportunities for synchronicity."
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
emoji: "🌠",
|
| 28 |
+
text: "Stellar winds carry messages of hope and cosmic connection."
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
emoji: "💫",
|
| 32 |
+
text: "The universe whispers secrets of balance and harmony through celestial patterns."
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
emoji: "🌙",
|
| 36 |
+
text: "Lunar energies enhance dream states and subconscious exploration."
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
emoji: "☀️",
|
| 40 |
+
text: "Solar flares amplify creative energy and manifestation power."
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
emoji: "🌪️",
|
| 44 |
+
text: "Cosmic storms bring cleansing energy and fresh perspectives."
|
| 45 |
+
}
|
| 46 |
+
];
|
| 47 |
+
|
| 48 |
+
if (generateInsightBtn && insightDisplay) {
|
| 49 |
+
generateInsightBtn.addEventListener('click', function() {
|
| 50 |
+
// Add loading state
|
| 51 |
+
const originalText = this.innerHTML;
|
| 52 |
+
this.innerHTML = '<i data-feather="loader" class="inline mr-2 animate-spin"></i> Generating...';
|
| 53 |
+
this.disabled = true;
|
| 54 |
+
|
| 55 |
+
if (typeof feather !== 'undefined') {
|
| 56 |
+
feather.replace();
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
// Simulate API call with timeout
|
| 60 |
+
setTimeout(() => {
|
| 61 |
+
const randomInsight = cosmicInsights[Math.floor(Math.random() * cosmicInsights.length)];
|
| 62 |
+
|
| 63 |
+
// Add fade out effect
|
| 64 |
+
insightDisplay.style.opacity = '0';
|
| 65 |
+
|
| 66 |
+
setTimeout(() => {
|
| 67 |
+
insightDisplay.innerHTML = `
|
| 68 |
+
<div class="text-6xl mb-4 animate-pulse">${randomInsight.emoji}</div>
|
| 69 |
+
<p class="text-gray-300 text-lg transition-all duration-500">
|
| 70 |
+
${randomInsight.text}
|
| 71 |
+
</p>
|
| 72 |
+
`;
|
| 73 |
+
|
| 74 |
+
// Add fade in effect
|
| 75 |
+
insightDisplay.style.opacity = '1';
|
| 76 |
+
|
| 77 |
+
// Reset button
|
| 78 |
+
this.innerHTML = '<i data-feather="refresh-cw" class="inline mr-2"></i> Generate New Insight';
|
| 79 |
+
this.disabled = false;
|
| 80 |
+
|
| 81 |
+
if (typeof feather !== 'undefined') {
|
| 82 |
+
feather.replace();
|
| 83 |
+
}
|
| 84 |
+
}, 300);
|
| 85 |
+
}, 1500);
|
| 86 |
+
});
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
// Image gallery hover effects
|
| 90 |
+
const galleryImages = document.querySelectorAll('.group img');
|
| 91 |
+
galleryImages.forEach(img => {
|
| 92 |
+
img.addEventListener('mouseenter', function() {
|
| 93 |
+
this.style.transform = 'scale(1.1)';
|
| 94 |
+
});
|
| 95 |
+
|
| 96 |
+
img.addEventListener('mouseleave', function() {
|
| 97 |
+
this.style.transform = 'scale(1)';
|
| 98 |
+
});
|
| 99 |
+
});
|
| 100 |
+
|
| 101 |
+
// Smooth scroll for anchor links
|
| 102 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 103 |
+
anchor.addEventListener('click', function(e) {
|
| 104 |
+
const href = this.getAttribute('href');
|
| 105 |
+
|
| 106 |
+
// Skip if it's just "#"
|
| 107 |
+
if (href === '#') return;
|
| 108 |
+
|
| 109 |
+
const targetElement = document.querySelector(href);
|
| 110 |
+
if (targetElement) {
|
| 111 |
+
e.preventDefault();
|
| 112 |
+
window.scrollTo({
|
| 113 |
+
top: targetElement.offsetTop - 80,
|
| 114 |
+
behavior: 'smooth'
|
| 115 |
+
});
|
| 116 |
+
}
|
| 117 |
+
});
|
| 118 |
+
});
|
| 119 |
+
|
| 120 |
+
// Add parallax effect to hero section
|
| 121 |
+
window.addEventListener('scroll', function() {
|
| 122 |
+
const scrolled = window.pageYOffset;
|
| 123 |
+
const hero = document.querySelector('main');
|
| 124 |
+
|
| 125 |
+
if (hero) {
|
| 126 |
+
hero.style.transform = `translateY(${scrolled * 0.05}px)`;
|
| 127 |
+
}
|
| 128 |
+
});
|
| 129 |
+
|
| 130 |
+
// Theme toggle simulation (for future dark/light mode)
|
| 131 |
+
const themeToggle = document.createElement('button');
|
| 132 |
+
themeToggle.className = 'fixed bottom-4 right-4 z-50 w-12 h-12 rounded-full bg-gradient-to-r from-primary-500 to-secondary-500 shadow-lg flex items-center justify-center hover:scale-110 transition-transform duration-300';
|
| 133 |
+
themeToggle.innerHTML = '<i data-feather="moon" class="w-6 h-6"></i>';
|
| 134 |
+
themeToggle.title = 'Toggle theme';
|
| 135 |
+
|
| 136 |
+
themeToggle.addEventListener('click', function() {
|
| 137 |
+
const icon = this.querySelector('i');
|
| 138 |
+
const currentIcon = icon.getAttribute('data-feather');
|
| 139 |
+
|
| 140 |
+
if (currentIcon === 'moon') {
|
| 141 |
+
icon.setAttribute('data-feather', 'sun');
|
| 142 |
+
document.body.classList.add('bg-white', 'text-gray-900');
|
| 143 |
+
document.body.classList.remove('bg-gradient-to-br', 'from-gray-900', 'via-black', 'to-gray-900', 'text-white');
|
| 144 |
+
} else {
|
| 145 |
+
icon.setAttribute('data-feather', 'moon');
|
| 146 |
+
document.body.classList.remove('bg-white', 'text-gray-900');
|
| 147 |
+
document.body.classList.add('bg-gradient-to-br', 'from-gray-900', 'via-black', 'to-gray-900', 'text-white');
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
if (typeof feather !== 'undefined') {
|
| 151 |
+
feather.replace();
|
| 152 |
+
}
|
| 153 |
+
});
|
| 154 |
+
|
| 155 |
+
document.body.appendChild(themeToggle);
|
| 156 |
+
|
| 157 |
+
// Initialize Feather Icons again after adding dynamic content
|
| 158 |
+
if (typeof feather !== 'undefined') {
|
| 159 |
+
feather.replace();
|
| 160 |
+
}
|
| 161 |
+
});
|
style.css
CHANGED
|
@@ -1,28 +1,97 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
.
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Custom Styles for MysticVibe Explorer */
|
| 2 |
+
|
| 3 |
+
/* Smooth scrolling */
|
| 4 |
+
html {
|
| 5 |
+
scroll-behavior: smooth;
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
+
/* Custom scrollbar */
|
| 9 |
+
::-webkit-scrollbar {
|
| 10 |
+
width: 10px;
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
::-webkit-scrollbar-track {
|
| 14 |
+
background: #0f172a;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
::-webkit-scrollbar-thumb {
|
| 18 |
+
background: linear-gradient(to bottom, #0ea5e9, #d946ef);
|
| 19 |
+
border-radius: 5px;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
::-webkit-scrollbar-thumb:hover {
|
| 23 |
+
background: linear-gradient(to bottom, #0284c7, #c026d3);
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
/* Gradient text animation */
|
| 27 |
+
@keyframes gradientShift {
|
| 28 |
+
0% {
|
| 29 |
+
background-position: 0% 50%;
|
| 30 |
+
}
|
| 31 |
+
50% {
|
| 32 |
+
background-position: 100% 50%;
|
| 33 |
+
}
|
| 34 |
+
100% {
|
| 35 |
+
background-position: 0% 50%;
|
| 36 |
+
}
|
| 37 |
}
|
| 38 |
|
| 39 |
+
.animate-gradient {
|
| 40 |
+
background-size: 200% 200%;
|
| 41 |
+
animation: gradientShift 3s ease infinite;
|
| 42 |
}
|
| 43 |
|
| 44 |
+
/* Card hover effects */
|
| 45 |
+
.hover-lift {
|
| 46 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
|
|
|
|
|
| 47 |
}
|
| 48 |
|
| 49 |
+
.hover-lift:hover {
|
| 50 |
+
transform: translateY(-5px);
|
| 51 |
+
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
|
|
|
|
|
|
|
|
|
|
| 52 |
}
|
| 53 |
|
| 54 |
+
/* Glass morphism effect */
|
| 55 |
+
.glass {
|
| 56 |
+
background: rgba(30, 41, 59, 0.7);
|
| 57 |
+
backdrop-filter: blur(10px);
|
| 58 |
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 59 |
}
|
| 60 |
+
|
| 61 |
+
/* Pulse animation for live elements */
|
| 62 |
+
@keyframes pulse {
|
| 63 |
+
0%, 100% {
|
| 64 |
+
opacity: 1;
|
| 65 |
+
}
|
| 66 |
+
50% {
|
| 67 |
+
opacity: 0.7;
|
| 68 |
+
}
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
.pulse {
|
| 72 |
+
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
/* Custom focus styles */
|
| 76 |
+
*:focus {
|
| 77 |
+
outline: 2px solid #0ea5e9;
|
| 78 |
+
outline-offset: 2px;
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
/* Loading animation */
|
| 82 |
+
@keyframes spin {
|
| 83 |
+
to {
|
| 84 |
+
transform: rotate(360deg);
|
| 85 |
+
}
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
.loading-spinner {
|
| 89 |
+
animation: spin 1s linear infinite;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
/* Responsive typography */
|
| 93 |
+
@media (max-width: 640px) {
|
| 94 |
+
.responsive-text {
|
| 95 |
+
font-size: 0.875rem;
|
| 96 |
+
}
|
| 97 |
+
}
|