File size: 12,716 Bytes
e3f6fd2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Notes - ShiftSync Pro</title>
    <link rel="manifest" href="manifest.json">
    <meta name="theme-color" content="#4F46E5">
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
    <script>
        tailwind.config = {
            darkMode: 'class',
            theme: {
                extend: {
                    colors: {
                        primary: {
                            500: '#4F46E5',
                        },
                        secondary: {
                            500: '#10B981',
                        }
                    }
                }
            }
        }
    </script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
        body {
            font-family: 'Inter', sans-serif;
            background-color: #0F172A;
            color: #F1F5F9;
        }
        .glass {
            background: rgba(30, 41, 59, 0.7);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        .note-card {
            transition: all 0.3s ease;
        }
        .note-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
        }
        .editor-toolbar {
            border-bottom: 1px solid #334155;
        }
        #editor {
            min-height: 300px;
            outline: none;
        }
    </style>
</head>
<body class="min-h-screen bg-gradient-to-br from-gray-900 to-gray-800 text-gray-100">
    <!-- Header -->
    <header class="glass p-4 shadow-lg">
        <div class="container mx-auto flex justify-between items-center">
            <div class="flex items-center space-x-2">
                <a href="index.html" class="p-2 rounded-full hover:bg-gray-700 transition">
                    <i data-feather="arrow-left"></i>
                </a>
                <h1 class="text-2xl font-bold">Notes</h1>
            </div>
            <div class="flex items-center space-x-4">
                <a href="map.html" class="p-2 rounded-full hover:bg-gray-700 transition">
                    <i data-feather="map"></i>
                </a>
                <button class="p-2 rounded-full hover:bg-gray-700 transition">
                    <i data-feather="search"></i>
                </button>
                <button class="p-2 rounded-full hover:bg-gray-700 transition">
                    <i data-feather="folder-plus"></i>
                </button>
            </div>
</div>
    </header>

    <!-- Main Content -->
    <main class="container mx-auto p-4 mt-6">
        <div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
            <!-- Notes List -->
            <div class="lg:col-span-1">
                <div class="glass rounded-xl p-4 shadow-xl mb-6">
                    <div class="flex justify-between items-center mb-4">
                        <h2 class="text-lg font-bold">All Notes</h2>
                        <button class="p-2 rounded-lg bg-primary-500 hover:bg-primary-600 transition">
                            <i data-feather="plus"></i>
                        </button>
                    </div>
                    
                    <div class="space-y-3">
                        <div class="note-card bg-gray-800 rounded-lg p-3 cursor-pointer border-l-4 border-primary-500">
                            <h3 class="font-bold truncate">Meeting Notes - Q2 Planning</h3>
                            <p class="text-sm text-gray-400 mt-1 truncate">Key decisions and action items from quarterly planning meeting...</p>
                            <p class="text-xs text-gray-500 mt-2">Jun 10, 2023</p>
                        </div>
                        <div class="note-card bg-gray-800 rounded-lg p-3 cursor-pointer">
                            <h3 class="font-bold truncate">Project Ideas</h3>
                            <p class="text-sm text-gray-400 mt-1 truncate">Brainstorming session for new product features...</p>
                            <p class="text-xs text-gray-500 mt-2">Jun 5, 2023</p>
                        </div>
                        <div class="note-card bg-gray-800 rounded-lg p-3 cursor-pointer">
                            <h3 class="font-bold truncate">Training Resources</h3>
                            <p class="text-sm text-gray-400 mt-1 truncate">Links and materials for professional development...</p>
                            <p class="text-xs text-gray-500 mt-2">May 28, 2023</p>
                        </div>
                        <div class="note-card bg-gray-800 rounded-lg p-3 cursor-pointer">
                            <h3 class="font-bold truncate">Personal Goals</h3>
                            <p class="text-sm text-gray-400 mt-1 truncate">Objectives for career advancement and skill building...</p>
                            <p class="text-xs text-gray-500 mt-2">May 15, 2023</p>
                        </div>
                    </div>
                </div>
                
                <div class="glass rounded-xl p-4 shadow-xl">
                    <h2 class="text-lg font-bold mb-4">Categories</h2>
                    <div class="space-y-2">
                        <div class="flex items-center justify-between p-2 hover:bg-gray-800 rounded-lg cursor-pointer">
                            <div class="flex items-center">
                                <div class="w-3 h-3 rounded-full bg-primary-500 mr-2"></div>
                                <span>Work</span>
                            </div>
                            <span class="text-sm text-gray-400">12</span>
                        </div>
                        <div class="flex items-center justify-between p-2 hover:bg-gray-800 rounded-lg cursor-pointer">
                            <div class="flex items-center">
                                <div class="w-3 h-3 rounded-full bg-secondary-500 mr-2"></div>
                                <span>Personal</span>
                            </div>
                            <span class="text-sm text-gray-400">7</span>
                        </div>
                        <div class="flex items-center justify-between p-2 hover:bg-gray-800 rounded-lg cursor-pointer">
                            <div class="flex items-center">
                                <div class="w-3 h-3 rounded-full bg-amber-500 mr-2"></div>
                                <span>Training</span>
                            </div>
                            <span class="text-sm text-gray-400">5</span>
                        </div>
                        <div class="flex items-center justify-between p-2 hover:bg-gray-800 rounded-lg cursor-pointer">
                            <div class="flex items-center">
                                <div class="w-3 h-3 rounded-full bg-purple-500 mr-2"></div>
                                <span>Ideas</span>
                            </div>
                            <span class="text-sm text-gray-400">3</span>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Note Editor -->
            <div class="lg:col-span-2">
                <div class="glass rounded-xl shadow-xl overflow-hidden">
                    <div class="editor-toolbar p-4 flex items-center justify-between bg-gray-800">
                        <div class="flex space-x-2">
                            <button class="p-2 rounded hover:bg-gray-700 transition" title="Bold">
                                <i data-feather="bold"></i>
                            </button>
                            <button class="p-2 rounded hover:bg-gray-700 transition" title="Italic">
                                <i data-feather="italic"></i>
                            </button>
                            <button class="p-2 rounded hover:bg-gray-700 transition" title="List">
                                <i data-feather="list"></i>
                            </button>
                            <button class="p-2 rounded hover:bg-gray-700 transition" title="Link">
                                <i data-feather="link"></i>
                            </button>
                        </div>
                        <div>
                            <button class="p-2 rounded hover:bg-gray-700 transition" title="Save">
                                <i data-feather="save"></i>
                            </button>
                        </div>
                    </div>
                    <div class="p-4">
                        <input type="text" class="w-full bg-transparent text-2xl font-bold mb-4 focus:outline-none" placeholder="Note Title" value="Meeting Notes - Q2 Planning">
                        <div id="editor" class="prose prose-invert max-w-none" contenteditable="true">
                            <h2>Q2 Planning Meeting - June 10, 2023</h2>
                            <h3>Key Decisions</h3>
                            <ul>
                                <li>Launch new product line by September</li>
                                <li>Increase marketing budget by 20%</li>
                                <li>Hire 3 additional developers</li>
                            </ul>
                            <h3>Action Items</h3>
                            <ul>
                                <li>Prepare product roadmap - John (Due: Jun 17)</li>
                                <li>Research marketing channels - Sarah (Due: Jun 20)</li>
                                <li>Update hiring plan - Michael (Due: Jun 15)</li>
                            </ul>
                            <h3>Next Meeting</h3>
                            <p>July 8, 2023 at 14:00</p>
                        </div>
                    </div>
                </div>
                
                <div class="glass rounded-xl p-6 shadow-xl mt-6">
                    <h2 class="text-xl font-bold mb-4">Note Details</h2>
                    <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
                        <div>
                            <label class="block mb-1 text-sm">Created</label>
                            <p>Jun 10, 2023 at 14:30</p>
                        </div>
                        <div>
                            <label class="block mb-1 text-sm">Last Modified</label>
                            <p>Jun 11, 2023 at 09:15</p>
                        </div>
                        <div>
                            <label class="block mb-1 text-sm">Category</label>
                            <select class="w-full bg-gray-800 border border-gray-700 rounded-lg p-2">
                                <option>Work</option>
                                <option>Personal</option>
                                <option>Training</option>
                                <option>Ideas</option>
                            </select>
                        </div>
                        <div>
                            <label class="block mb-1 text-sm">Tags</label>
                            <input type="text" class="w-full bg-gray-800 border border-gray-700 rounded-lg p-2" value="meeting, planning, q2">
                        </div>
                    </div>
                    <div class="mt-4">
                        <label class="block mb-1 text-sm">Attachments</label>
                        <div class="flex items-center justify-between p-2 bg-gray-800 rounded-lg">
                            <div class="flex items-center">
                                <i data-feather="file" class="mr-2"></i>
                                <span>q2_plan.pdf</span>
                            </div>
                            <button class="text-red-500">
                                <i data-feather="x"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <script>
        feather.replace();
        
        // Initialize markdown editor
        const editor = document.getElementById('editor');
        editor.addEventListener('input', function() {
            // In a real app, this would convert markdown to HTML
            // For this demo, we'll just update the content
        });
    </script>
</body>
</html>