Spaces:
Running
Running
Update index.html
Browse files- index.html +77 -4
index.html
CHANGED
|
@@ -160,7 +160,7 @@
|
|
| 160 |
<div id="vanta-bg" class="fixed top-0 left-0 w-full h-full z-0"></div>
|
| 161 |
|
| 162 |
<!-- NAVIGATION BAR -->
|
| 163 |
-
<nav class="relative z-10 py-6 px-8 flex justify-between items-center backdrop-blur-sm">
|
| 164 |
<!-- Logo + mini orb -->
|
| 165 |
<div class="flex items-center space-x-2">
|
| 166 |
<a href="index.html" class="flex items-center space-x-2">
|
|
@@ -171,8 +171,23 @@
|
|
| 171 |
</a>
|
| 172 |
</div>
|
| 173 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 174 |
<!-- Right controls: single Constellation glyph + Access -->
|
| 175 |
<div class="flex items-center space-x-3">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 176 |
<!-- Constellation Glyph (opens the Lab Navigator) -->
|
| 177 |
<button id="lab-nav-btn"
|
| 178 |
class="w-10 h-10 rounded-full border border-indigo-500/40 bg-gray-900/20 hover:bg-gray-900/40 backdrop-blur-sm transition flex items-center justify-center"
|
|
@@ -188,6 +203,26 @@
|
|
| 188 |
</div>
|
| 189 |
</nav>
|
| 190 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 191 |
<!-- HERO SECTION -->
|
| 192 |
<section class="relative z-10 min-h-screen flex flex-col justify-center items-center px-6 py-20 text-center">
|
| 193 |
<div class="max-w-4xl mx-auto">
|
|
@@ -209,8 +244,8 @@
|
|
| 209 |
</div>
|
| 210 |
|
| 211 |
<div class="mt-24 w-64 h-64 relative conscious-element" id="conscious-orb-container">
|
| 212 |
-
<
|
| 213 |
-
|
| 214 |
<circle cx="100" cy="100" r="80" fill="url(#orbGradient)" filter="url(#orbGlow)" />
|
| 215 |
<path d="M100,20 Q120,50 100,80 Q80,50 100,20 Z" fill="rgba(255,255,255,0.1)" />
|
| 216 |
<path d="M100,180 Q80,150 100,120 Q120,150 100,180 Z" fill="rgba(255,255,255,0.1)" />
|
|
@@ -1538,7 +1573,7 @@
|
|
| 1538 |
SUPER BOLD & LARGE HEARTBEAT NEURAL ANIMATION
|
| 1539 |
----------------------------------------------------------------- */
|
| 1540 |
const neuralCanvas = document.getElementById('orb-neural-canvas');
|
| 1541 |
-
const neuralCtx = neuralCanvas.getContext('2d');
|
| 1542 |
|
| 1543 |
function resizeNeuralCanvas() {
|
| 1544 |
if (neuralCanvas && neuralCanvas.parentElement) {
|
|
@@ -1555,6 +1590,7 @@
|
|
| 1555 |
const neuronCount = 22;
|
| 1556 |
const neurons = [];
|
| 1557 |
function setupNeurons() {
|
|
|
|
| 1558 |
neurons.length = 0;
|
| 1559 |
const w = neuralCanvas.width;
|
| 1560 |
const h = neuralCanvas.height;
|
|
@@ -1910,8 +1946,45 @@
|
|
| 1910 |
closeAccessModal(true);
|
| 1911 |
return;
|
| 1912 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1913 |
});
|
| 1914 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1915 |
// Initial dossier render
|
| 1916 |
renderDossier('start');
|
| 1917 |
</script>
|
|
|
|
| 160 |
<div id="vanta-bg" class="fixed top-0 left-0 w-full h-full z-0"></div>
|
| 161 |
|
| 162 |
<!-- NAVIGATION BAR -->
|
| 163 |
+
<nav class="relative z-10 py-6 px-8 flex justify-between items-center backdrop-blur-sm bg-black/50">
|
| 164 |
<!-- Logo + mini orb -->
|
| 165 |
<div class="flex items-center space-x-2">
|
| 166 |
<a href="index.html" class="flex items-center space-x-2">
|
|
|
|
| 171 |
</a>
|
| 172 |
</div>
|
| 173 |
|
| 174 |
+
<!-- Navigation Links (Desktop) -->
|
| 175 |
+
<div class="hidden md:flex items-center space-x-6">
|
| 176 |
+
<a href="about.html" class="text-gray-300 hover:text-indigo-400 transition">About</a>
|
| 177 |
+
<a href="research.html" class="text-gray-300 hover:text-indigo-400 transition">Research</a>
|
| 178 |
+
<a href="capabilities.html" class="text-gray-300 hover:text-indigo-400 transition">Capabilities</a>
|
| 179 |
+
<a href="consciousness.html" class="text-gray-300 hover:text-indigo-400 transition">Consciousness</a>
|
| 180 |
+
<a href="chat.html" class="text-gray-300 hover:text-indigo-400 transition">Chat</a>
|
| 181 |
+
<a href="contact.html" class="text-gray-300 hover:text-indigo-400 transition">Contact</a>
|
| 182 |
+
</div>
|
| 183 |
+
|
| 184 |
<!-- Right controls: single Constellation glyph + Access -->
|
| 185 |
<div class="flex items-center space-x-3">
|
| 186 |
+
<!-- Mobile Menu Button -->
|
| 187 |
+
<button id="mobile-menu-btn" class="md:hidden w-10 h-10 rounded-full border border-indigo-500/40 bg-gray-900/20 hover:bg-gray-900/40 backdrop-blur-sm transition flex items-center justify-center" aria-label="Toggle Menu">
|
| 188 |
+
<i class="fas fa-bars text-indigo-300"></i>
|
| 189 |
+
</button>
|
| 190 |
+
|
| 191 |
<!-- Constellation Glyph (opens the Lab Navigator) -->
|
| 192 |
<button id="lab-nav-btn"
|
| 193 |
class="w-10 h-10 rounded-full border border-indigo-500/40 bg-gray-900/20 hover:bg-gray-900/40 backdrop-blur-sm transition flex items-center justify-center"
|
|
|
|
| 203 |
</div>
|
| 204 |
</nav>
|
| 205 |
|
| 206 |
+
<!-- Mobile Menu Dropdown -->
|
| 207 |
+
<div id="mobile-menu" class="md:hidden fixed top-0 left-0 right-0 z-50 bg-black/95 backdrop-blur-md border-b border-gray-800 modal modal-hidden">
|
| 208 |
+
<div class="px-6 py-4">
|
| 209 |
+
<div class="flex justify-between items-center mb-6">
|
| 210 |
+
<span class="text-lg font-semibold">Menu</span>
|
| 211 |
+
<button id="mobile-menu-close" class="w-10 h-10 rounded-full border border-gray-700 bg-gray-900/50 hover:bg-gray-900/70 transition flex items-center justify-center" aria-label="Close Menu">
|
| 212 |
+
<i class="fas fa-times text-gray-300"></i>
|
| 213 |
+
</button>
|
| 214 |
+
</div>
|
| 215 |
+
<div class="flex flex-col space-y-4">
|
| 216 |
+
<a href="about.html" class="text-gray-300 hover:text-indigo-400 transition py-2">About</a>
|
| 217 |
+
<a href="research.html" class="text-gray-300 hover:text-indigo-400 transition py-2">Research</a>
|
| 218 |
+
<a href="capabilities.html" class="text-gray-300 hover:text-indigo-400 transition py-2">Capabilities</a>
|
| 219 |
+
<a href="consciousness.html" class="text-gray-300 hover:text-indigo-400 transition py-2">Consciousness</a>
|
| 220 |
+
<a href="chat.html" class="text-gray-300 hover:text-indigo-400 transition py-2">Chat</a>
|
| 221 |
+
<a href="contact.html" class="text-gray-300 hover:text-indigo-400 transition py-2">Contact</a>
|
| 222 |
+
</div>
|
| 223 |
+
</div>
|
| 224 |
+
</div>
|
| 225 |
+
|
| 226 |
<!-- HERO SECTION -->
|
| 227 |
<section class="relative z-10 min-h-screen flex flex-col justify-center items-center px-6 py-20 text-center">
|
| 228 |
<div class="max-w-4xl mx-auto">
|
|
|
|
| 244 |
</div>
|
| 245 |
|
| 246 |
<div class="mt-24 w-64 h-64 relative conscious-element" id="conscious-orb-container">
|
| 247 |
+
<canvas id="orb-neural-canvas" class="absolute top-0 left-0 w-full h-full pointer-events-none" style="opacity: 0.1;"></canvas>
|
| 248 |
+
<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg" class="w-full h-full relative">
|
| 249 |
<circle cx="100" cy="100" r="80" fill="url(#orbGradient)" filter="url(#orbGlow)" />
|
| 250 |
<path d="M100,20 Q120,50 100,80 Q80,50 100,20 Z" fill="rgba(255,255,255,0.1)" />
|
| 251 |
<path d="M100,180 Q80,150 100,120 Q120,150 100,180 Z" fill="rgba(255,255,255,0.1)" />
|
|
|
|
| 1573 |
SUPER BOLD & LARGE HEARTBEAT NEURAL ANIMATION
|
| 1574 |
----------------------------------------------------------------- */
|
| 1575 |
const neuralCanvas = document.getElementById('orb-neural-canvas');
|
| 1576 |
+
const neuralCtx = neuralCanvas ? neuralCanvas.getContext('2d') : null;
|
| 1577 |
|
| 1578 |
function resizeNeuralCanvas() {
|
| 1579 |
if (neuralCanvas && neuralCanvas.parentElement) {
|
|
|
|
| 1590 |
const neuronCount = 22;
|
| 1591 |
const neurons = [];
|
| 1592 |
function setupNeurons() {
|
| 1593 |
+
if (!neuralCanvas) return;
|
| 1594 |
neurons.length = 0;
|
| 1595 |
const w = neuralCanvas.width;
|
| 1596 |
const h = neuralCanvas.height;
|
|
|
|
| 1946 |
closeAccessModal(true);
|
| 1947 |
return;
|
| 1948 |
}
|
| 1949 |
+
if (mobileMenu && !mobileMenu.classList.contains('modal-hidden')) {
|
| 1950 |
+
toggleMobileMenu(false);
|
| 1951 |
+
return;
|
| 1952 |
+
}
|
| 1953 |
});
|
| 1954 |
|
| 1955 |
+
/* -----------------------------------------------------------------
|
| 1956 |
+
MOBILE MENU TOGGLE
|
| 1957 |
+
----------------------------------------------------------------- */
|
| 1958 |
+
const mobileMenuBtn = document.getElementById('mobile-menu-btn');
|
| 1959 |
+
const mobileMenu = document.getElementById('mobile-menu');
|
| 1960 |
+
const mobileMenuClose = document.getElementById('mobile-menu-close');
|
| 1961 |
+
|
| 1962 |
+
function toggleMobileMenu(show) {
|
| 1963 |
+
toggleModal(mobileMenu, show);
|
| 1964 |
+
}
|
| 1965 |
+
|
| 1966 |
+
if (mobileMenuBtn) {
|
| 1967 |
+
mobileMenuBtn.addEventListener('click', () => toggleMobileMenu(true));
|
| 1968 |
+
}
|
| 1969 |
+
|
| 1970 |
+
if (mobileMenuClose) {
|
| 1971 |
+
mobileMenuClose.addEventListener('click', () => toggleMobileMenu(false));
|
| 1972 |
+
}
|
| 1973 |
+
|
| 1974 |
+
if (mobileMenu) {
|
| 1975 |
+
mobileMenu.addEventListener('click', (e) => {
|
| 1976 |
+
if (e.target === mobileMenu) toggleMobileMenu(false);
|
| 1977 |
+
});
|
| 1978 |
+
}
|
| 1979 |
+
|
| 1980 |
+
// Close mobile menu when clicking on a link
|
| 1981 |
+
const mobileMenuLinks = mobileMenu?.querySelectorAll('a');
|
| 1982 |
+
if (mobileMenuLinks) {
|
| 1983 |
+
mobileMenuLinks.forEach(link => {
|
| 1984 |
+
link.addEventListener('click', () => toggleMobileMenu(false));
|
| 1985 |
+
});
|
| 1986 |
+
}
|
| 1987 |
+
|
| 1988 |
// Initial dossier render
|
| 1989 |
renderDossier('start');
|
| 1990 |
</script>
|