File size: 3,441 Bytes
01aa854
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en" class="h-full bg-gray-50">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>MindForge AI - Brain Map</title>
    <link rel="stylesheet" href="style.css">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://unpkg.com/vis-network/standalone/umd/vis-network.min.js"></script>
</head>
<body class="h-full">
    <custom-navbar></custom-navbar>
    <div class="lg:pl-72">
        <custom-header current-page="Brain Map"></custom-header>
        <main class="py-10">
            <div class="px-4 sm:px-6 lg:px-8">
                <div class="mb-8 flex justify-between items-center">
                    <h1 class="text-3xl font-bold text-gray-900">Interactive Brain Map</h1>
                    <a href="/" class="inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700">
                        Back to Dashboard
                    </a>
                </div>
                
                <div id="brainMapContainer" class="h-[600px] bg-white rounded-lg shadow"></div>
                
                <div class="mt-6 grid grid-cols-1 md:grid-cols-3 gap-4">
                    <div class="bg-white p-4 rounded-lg shadow">
                        <h3 class="font-medium text-gray-900">Module Legend</h3>
                        <ul class="mt-2 space-y-2">
                            <li class="flex items-center"><span class="w-4 h-4 bg-primary-500 rounded-full mr-2"></span> Core Modules</li>
                            <li class="flex items-center"><span class="w-4 h-4 bg-secondary-500 rounded-full mr-2"></span> Support Modules</li>
                            <li class="flex items-center"><span class="w-4 h-4 bg-purple-500 rounded-full mr-2"></span> Memory System</li>
                        </ul>
                    </div>
                    
                    <div class="bg-white p-4 rounded-lg shadow">
                        <h3 class="font-medium text-gray-900">Connection Types</h3>
                        <ul class="mt-2 space-y-2">
                            <li class="flex items-center"><span class="w-8 h-0.5 bg-gray-400 mr-2"></span> Data Flow</li>
                            <li class="flex items-center"><span class="w-8 h-0.5 bg-green-500 mr-2"></span> Feedback</li>
                            <li class="flex items-center"><span class="w-8 h-0.5 bg-blue-500 mr-2 dashed"></span> Control</li>
                        </ul>
                    </div>
                    
                    <div class="bg-white p-4 rounded-lg shadow">
                        <h3 class="font-medium text-gray-900">Selected Node</h3>
                        <div id="nodeDetails" class="mt-2 text-sm text-gray-600">
                            Click on a node to view details
                        </div>
                    </div>
                </div>
            </div>
        </main>
    </div>

    <script src="components/navbar.js"></script>
    <script src="components/header.js"></script>
    <script src="brainMap.js"></script>
    <script src="script.js"></script>
    <script>
        feather.replace();
    </script>
</body>
</html>