File size: 15,453 Bytes
2755860
1ece840
2755860
 
 
1ece840
2755860
 
1ece840
2755860
1ece840
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2755860
1ece840
 
 
 
 
 
 
 
 
 
 
 
2755860
1ece840
 
 
 
 
 
 
2755860
1ece840
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2755860
 
 
1ece840
 
e4bab04
 
1ece840
 
 
 
2755860
 
1ece840
 
 
2755860
1ece840
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2755860
 
1ece840
 
e4bab04
 
 
 
 
2755860
e4bab04
2755860
1ece840
 
 
 
2755860
 
1ece840
 
 
 
 
 
 
 
 
 
 
 
 
 
2755860
1ece840
 
 
 
 
 
 
2755860
 
 
 
 
 
1ece840
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2755860
 
 
 
 
 
1ece840
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2755860
1ece840
 
 
 
2755860
1ece840
2755860
 
 
 
 
1ece840
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2755860
 
 
 
 
 
 
 
1ece840
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2755860
e4bab04
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c2a8dcf
 
 
 
 
e4bab04
 
c2a8dcf
 
 
e4bab04
 
 
 
 
 
 
 
 
 
 
 
2755860
e4bab04
2755860
 
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Instructions - QuantumSync AI</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/animejs/lib/anime.iife.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#8B5CF6',
                        secondary: '#06D6A0',
                        background: '#0F0F23',
                        surface: '#1A1A2E',
                        sidebar: '#161627',
                        text: '#E2E8F0',
                        'text-secondary': '#94A3B8'
                    }
                }
            }
        }
    </script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

        * { box-sizing: border-box; }

        body {
            font-family: 'Inter', sans-serif;
            background-color: #0F0F23;
            color: #E2E8F0;
            margin: 0;
            display: flex;
            height: 100vh;
            overflow: hidden;
        }

        /* Custom scrollbar */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: #1A1A2E; }
        ::-webkit-scrollbar-thumb { 
            background: linear-gradient(180deg, #8B5CF6, #06D6A0);
            border-radius: 10px;
        }

        /* Sidebar animations */
        .sidebar {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .history-item {
            transition: all 0.2s ease-in-out;
        }

        /* Glow effects */
        .glow-primary {
            box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
        }

        .gradient-border {
            background: linear-gradient(135deg, #8B5CF6, #06D6A0);
            padding: 1px;
            border-radius: 12px;
        }

        .gradient-border > div {
            background: #1A1A2E;
            border-radius: 11px;
        }
    </style>
</head>
<body class="bg-background text-text">
    <!-- Sidebar -->
    <div class="sidebar w-64 bg-sidebar flex flex-col p-3 border-r border-gray-800 lg:translate-x-0 -translate-x-full fixed lg:relative h-full transition-transform duration-300 z-50" id="sidebar">
<div class="sidebar-header flex items-center justify-between p-3 mb-5">
            <span class="sidebar-title text-lg font-bold text-primary">History</span>
            <button id="newChatButton" class="bg-gradient-to-r from-primary to-purple-600 border-none text-white px-4 py-2 rounded-xl cursor-pointer font-medium flex items-center gap-2 hover:shadow-lg transition-all duration-300">
                <i data-feather="plus"></i>
                New
            </button>
        </div>
        
        <div class="history-section flex-grow overflow-y-auto" id="historyContainer">
            <!-- History items will be dynamically inserted -->
        </div>
        
        <div class="sidebar-footer pt-3 border-t border-gray-800">
            <a href="index.html" class="sidebar-button w-full bg-transparent border-none text-text-secondary p-3 text-left rounded-xl cursor-pointer text-sm hover:bg-surface hover:text-text transition-all duration-200">
                <i data-feather="message-square"></i>
                Chat
            </a>
            <a href="ai-pods.html" class="sidebar-button w-full bg-transparent border-none text-text-secondary p-3 text-left rounded-xl cursor-pointer text-sm hover:bg-surface hover:text-text transition-all duration-200">
                <i data-feather="cpu"></i>
                AI Pods
            </a>
            <a href="instructions.html" class="sidebar-button w-full bg-primary bg-opacity-20 text-primary p-3 text-left rounded-xl cursor-pointer text-sm hover:bg-primary hover:bg-opacity-30 transition-all duration-200">
                <i data-feather="help-circle"></i>
                Instructions
            </a>
        </div>
    </div>

    <!-- Main Content -->
    <main class="flex-grow flex flex-col h-screen overflow-y-auto">
        <div class="chat-header sticky top-0 z-40 p-6 text-xl font-bold border-b border-gray-800 bg-surface flex items-center justify-between">
        <div class="flex items-center gap-4">
            <button id="menuButton" class="text-text-secondary hover:text-primary transition-colors duration-200">
                <i data-feather="menu"></i>
            </button>
            <span>Instructions - QuantumSync AI</span>
        </div>
</div>

        <div class="p-8 max-w-4xl mx-auto">
            <div class="mb-8">
                <h1 class="text-3xl font-bold text-primary mb-4">QuantumSync AI Instructions</h1>
                <p class="text-text-secondary text-lg">Welcome to QuantumSync AI! This guide will help you get the most out of our AI platform.</p>
            </div>

            <div class="space-y-8">
                <!-- Getting Started Section -->
                <div class="gradient-border">
                    <div class="p-6">
                        <h2 class="text-2xl font-bold text-secondary mb-4">Getting Started</h2>
                        <div class="space-y-4">
                            <div class="flex items-start gap-4">
                                <div class="bg-primary bg-opacity-20 p-3 rounded-full">
                                    <i data-feather="message-square" class="w-6 h-6 text-primary"></i>
                                </div>
                                <div>
                                    <h3 class="text-lg font-semibold text-text mb-2">Starting a New Chat</h3>
                                    <p class="text-text-secondary">Click the "New" button in the sidebar to begin a fresh conversation with the AI assistant.</p>
                                </div>
                            </div>
                            <div class="flex items-start gap-4">
                                <div class="bg-primary bg-opacity-20 p-3 rounded-full">
                                    <i data-feather="clock" class="w-6 h-6 text-primary"></i>
                                </div>
                                <div>
                                    <h3 class="text-lg font-semibold text-text mb-2">Managing History</h3>
                                    <p class="text-text-secondary">Your conversation history is automatically saved. Click on any previous conversation in the sidebar to resume where you left off.</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- AI Pods Section -->
                <div class="gradient-border">
                    <div class="p-6">
                        <h2 class="text-2xl font-bold text-secondary mb-4">AI Pods</h2>
                        <div class="space-y-4">
                            <div class="flex items-start gap-4">
                                <div class="bg-primary bg-opacity-20 p-3 rounded-full">
                                    <i data-feather="cpu" class="w-6 h-6 text-primary"></i>
                                </div>
                                <div>
                                    <h3 class="text-lg font-semibold text-text mb-2">Custom AI Agents</h3>
                                    <p class="text-text-secondary mb-3">Create specialized AI agents tailored to specific tasks or domains using our AI Pods feature.</p>
                                    <ul class="text-text-secondary space-y-2 ml-4">
                                        <li>• Upload training documents (PDF, DOC, JSON, CSV)</li>
                                        <li>• Configure custom system prompts</li>
                                        <li>• Connect external APIs and webhooks</li>
                                        <li>• Train with example inputs and outputs</li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Features Section -->
                <div class="gradient-border">
                    <div class="p-6">
                        <h2 class="text-2xl font-bold text-secondary mb-4">Advanced Features</h2>
                        <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                            <div class="bg-surface p-4 rounded-xl">
                                <div class="flex items-center gap-3 mb-3">
                                    <i data-feather="code" class="w-5 h-5 text-primary"></i>
                                    <h3 class="font-semibold text-text">Code Blocks</h3>
                                </div>
                                <p class="text-text-secondary text-sm">The AI formats code responses with syntax highlighting. Use the copy button to easily copy code snippets.</p>
                            </div>
                            <div class="bg-surface p-4 rounded-xl">
                                <div class="flex items-center gap-3 mb-3">
                                    <i data-feather="paperclip" class="w-5 h-5 text-primary"></i>
                                    <h3 class="font-semibold text-text">File Upload</h3>
                                </div>
                                <p class="text-text-secondary text-sm">Attach files to your messages to provide context or ask the AI to analyze documents.</p>
                            </div>
                            <div class="bg-surface p-4 rounded-xl">
                                <div class="flex items-center gap-3 mb-3">
                                    <i data-feather="download" class="w-5 h-5 text-primary"></i>
                                    <h3 class="font-semibold text-text">Export</h3>
                                </div>
                                <p class="text-text-secondary text-sm">Export your conversations in various formats for documentation or sharing purposes.</p>
                            </div>
                            <div class="bg-surface p-4 rounded-xl">
                                <div class="flex items-center gap-3 mb-3">
                                    <i data-feather="settings" class="w-5 h-5 text-primary"></i>
                                    <h3 class="font-semibold text-text">Customization</h3>
                                </div>
                                <p class="text-text-secondary text-sm">Choose from multiple themes and customize the interface to your preference.</p>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Tips Section -->
                <div class="gradient-border">
                    <div class="p-6">
                        <h2 class="text-2xl font-bold text-secondary mb-4">Pro Tips</h2>
                        <div class="space-y-3">
                            <div class="flex items-start gap-3">
                                <i data-feather="star" class="w-4 h-4 text-secondary mt-1 flex-shrink-0"></i>
                                <p class="text-text-secondary">Be specific in your questions to get more accurate and helpful responses</p>
                            </div>
                            <div class="flex items-start gap-3">
                                <i data-feather="star" class="w-4 h-4 text-secondary mt-1 flex-shrink-0"></i>
                                <p class="text-text-secondary">Use the file upload feature to provide context for complex analysis tasks</p>
                            </div>
                            <div class="flex items-start gap-3">
                                <i data-feather="star" class="w-4 h-4 text-secondary mt-1 flex-shrink-0"></i>
                                <p class="text-text-secondary">Create specialized AI Pods for recurring tasks to improve efficiency</p>
                            </div>
                            <div class="flex items-start gap-3">
                                <i data-feather="star" class="w-4 h-4 text-secondary mt-1 flex-shrink-0"></i>
                                <p class="text-text-secondary">Use the history feature to maintain context across multiple sessions</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <script>
        document.addEventListener('DOMContentLoaded', function() {
            feather.replace();
            
            // Add some sample history items
            const historyContainer = document.getElementById('historyContainer');
            const sampleHistory = [
                "5G Network Architecture Discussion",
                "Edge Computing Implementation Plan",
                "QuantumSync Product Roadmap Review"
            ];
            
            sampleHistory.forEach(item => {
                const historyItem = document.createElement('div');
                historyItem.className = 'history-item p-3 mb-2 rounded-xl cursor-pointer text-text-secondary whitespace-nowrap overflow-hidden text-ellipsis transition-all duration-200 hover:bg-surface hover:text-text';
                historyItem.textContent = item;
                historyContainer.appendChild(historyItem);
            });
            // Sidebar toggle functionality
            const sidebar = document.getElementById('sidebar');
            const menuButton = document.getElementById('menuButton');
            
            function toggleSidebar() {
                sidebar.classList.toggle('-translate-x-full');
            }
            
            menuButton.addEventListener('click', function(e) {
                e.stopPropagation();
                toggleSidebar();
            });
            
            // Close sidebar when clicking outside on mobile
            document.addEventListener('click', function(event) {
                if (window.innerWidth < 1024) {
                    const isClickInsideSidebar = sidebar.contains(event.target);
                    const isClickInsideMenuButton = menuButton.contains(event.target);
                    
                    if (!isClickInsideSidebar && !isClickInsideMenuButton && !sidebar.classList.contains('-translate-x-full')) {
                        toggleSidebar();
                    }
                }
            });
// Responsive sidebar handling
                function handleResize() {
                    if (window.innerWidth >= 1024) {
                        sidebar.classList.remove('-translate-x-full');
                    } else {
                        if (!sidebar.classList.contains('-translate-x-full')) {
                            sidebar.classList.add('-translate-x-full');
                        }
                    }
                }

                window.addEventListener('resize', handleResize);
                handleResize(); // Initial check
        });
</script>
</body>
</html>