-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathseevomap.html
More file actions
121 lines (115 loc) · 5.79 KB
/
seevomap.html
File metadata and controls
121 lines (115 loc) · 5.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Environment - SGIWorld</title>
<meta name="description" content="Dynamic AI Research Knowledge Graph">
<link rel="icon" type="image/svg+xml" href="favicon.svg">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: ['class', '[data-theme="dark"]'],
theme: {
extend: {
fontFamily: { sans: ['Inter', 'system-ui', 'sans-serif'] },
colors: { sfe: '#10b981', sgi: '#6366f1', claw: '#f59e0b', seevo: '#06b6d4', mark: '#ec4899' }
}
}
}
</script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<link rel="stylesheet" href="css/style.css">
<style>
html, body {
height: 100%;
overflow: hidden;
}
.seevomap-container {
height: calc(100vh - 64px);
margin-top: 64px;
}
</style>
</head>
<body class="font-sans antialiased">
<!-- Navigation -->
<nav id="navbar" class="fixed top-0 left-0 right-0 z-50 transition-all duration-300 scrolled">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between h-16">
<a href="index.html" class="flex items-center space-x-2">
<img src="favicon.svg" alt="SGIWorld" class="w-8 h-8">
<span class="text-xl font-bold">SGI<span class="text-seevo">World</span></span>
</a>
<div class="hidden md:flex items-center space-x-8">
<a href="index.html" class="nav-link">Home</a>
<a href="probe.html" class="nav-link">Probe</a>
<a href="benchmarks.html" class="nav-link">Benchmarks</a>
<a href="seevomap.html" class="nav-link active">Environment</a>
<a href="markscientist.html" class="nav-link">Coach</a>
<a href="research.html" class="nav-link">Research</a>
<a href="news.html" class="nav-link">News</a>
<a href="contact.html" class="nav-link">Contact</a>
</div>
<div class="flex items-center space-x-4">
<button id="theme-toggle" class="p-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 transition-colors">
<i class="fas fa-moon text-lg theme-icon-dark hidden"></i>
<i class="fas fa-sun text-lg theme-icon-light hidden"></i>
</button>
<a href="https://github.com/InternScience" target="_blank" class="p-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 transition-colors">
<i class="fab fa-github text-lg"></i>
</a>
<button id="mobile-menu-btn" class="md:hidden p-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 transition-colors">
<i class="fas fa-bars text-lg"></i>
</button>
</div>
</div>
</div>
<div id="mobile-menu" class="hidden md:hidden glass-bg">
<div class="px-4 py-4 space-y-2">
<a href="index.html" class="block px-4 py-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700">Home</a>
<a href="probe.html" class="block px-4 py-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700">Probe</a>
<a href="benchmarks.html" class="block px-4 py-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700">Benchmarks</a>
<a href="seevomap.html" class="block px-4 py-2 rounded-lg bg-gray-200 dark:bg-gray-700">Environment</a>
<a href="markscientist.html" class="block px-4 py-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700">Coach</a>
<a href="research.html" class="block px-4 py-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700">Research</a>
<a href="news.html" class="block px-4 py-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700">News</a>
<a href="contact.html" class="block px-4 py-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700">Contact</a>
</div>
</div>
</nav>
<!-- Embedded SeevoMap Application -->
<div class="seevomap-container">
<iframe
id="seevomap-iframe"
src="seevomap-app/index.html"
class="w-full h-full border-0"
title="SeevoMap - AI Research Knowledge Graph"
allow="fullscreen"
></iframe>
</div>
<script src="js/main.js"></script>
<script>
// Sync theme with SeevoMap iframe
const iframe = document.getElementById('seevomap-iframe');
function syncTheme() {
const theme = document.documentElement.getAttribute('data-theme') || 'light';
iframe.contentWindow?.postMessage({ type: 'sgiworld-theme', theme }, '*');
}
iframe.addEventListener('load', () => {
syncTheme();
});
// Watch for theme changes
const observer = new MutationObserver((mutations) => {
mutations.forEach((mutation) => {
if (mutation.attributeName === 'data-theme') {
syncTheme();
}
});
});
observer.observe(document.documentElement, { attributes: true });
</script>
</body>
</html>