-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
134 lines (127 loc) · 5.88 KB
/
index.html
File metadata and controls
134 lines (127 loc) · 5.88 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
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Note Taking App</title>
<link rel="stylesheet" href="styles.css">
<script src="https://unpkg.com/lucide@latest"></script>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
</head>
<body>
<div class="app-container">
<aside class="sidebar">
<div class="logo">
<img src="logo.png" alt="NoteSphere Logo" class="logo-icon" />
<span class="logo-text">Note Sphere</span>
</div>
<nav>
<button id="addNewNoteButton" class="nav-button">
<i data-lucide="file-plus"></i>
New Note
</button>
<button id="addNewFolderButton" class="nav-button">
<i data-lucide="folder-plus"></i>
New Folder
</button>
<button id="trashButton" class="nav-button">
<i data-lucide="trash-2"></i>
Trash
</button>
</nav>
<div class="notes-folders-section">
<h3>All Notes & Folders</h3>
<h4>Folders</h4>
<div id="folderList" class="folder-list"></div>
<h4>Notes</h4>
<div id="noteList" class="note-list"></div>
</div>
</aside>
<main class="main-content">
<header>
<div class="header-left">
<h1>MY NOTES</h1>
</div>
<div class="search-container">
<input type="text" id="searchInput" placeholder="Search notes...">
<i class="search-icon" data-lucide="search"></i>
</div>
</header>
<section class="folders-section">
<h2 class="animate-fadeInUp">Recent Folders</h2>
<div class="tabs animate-slideInLeft">
<button class="tab active" data-tab="All">All</button>
<button class="tab" data-tab="Today">Today</button>
<button class="tab" data-tab="This Week">This Week</button>
<button class="tab" data-tab="This Month">This Month</button>
</div>
<div class="folders-grid" id="foldersGrid"></div>
</section>
<section class="notes-section">
<h2 class="animate-fadeInUp">My Notes</h2>
<div class="tabs animate-slideInLeft">
<button class="tab active" data-tab="All">All</button>
<button class="tab" data-tab="Today">Today</button>
<button class="tab" data-tab="This Week">This Week</button>
<button class="tab" data-tab="This Month">This Month</button>
</div>
<div class="notes-grid" id="notesGrid"></div>
</section>
</main>
</div>
<div id="addNoteModal" class="modal">
<div class="modal-content">
<h2>Add New Note</h2>
<div class="note-form">
<div class="input-group">
<label for="noteTitle">Title</label>
<input type="text" id="noteTitle" placeholder="Enter note title" required>
</div>
<div class="input-group">
<label for="noteContent">Content</label>
<textarea id="noteContent" placeholder="Write your note here" required></textarea>
</div>
<div class="input-group">
<label>Color</label>
<div class="color-picker">
<button class="color-option" data-color="#dbeafe" style="background-color: #dbeafe;"></button>
<button class="color-option" data-color="#fee2e2" style="background-color: #fee2e2;"></button>
<button class="color-option" data-color="#fef9c3" style="background-color: #fef9c3;"></button>
<button class="color-option" data-color="#dcfce7" style="background-color: #dcfce7;"></button>
</div>
</div>
</div>
<div class="modal-actions">
<button id="cancelNote" class="btn-secondary">Cancel</button>
<button id="saveNote" class="btn-primary">Save Note</button>
</div>
</div>
</div>
<div id="addFolderModal" class="modal">
<div class="modal-content">
<h2>Add New Folder</h2>
<input type="text" id="folderName" placeholder="Folder Name" required>
<div class="color-picker">
<button class="color-option" data-color="#dbeafe" style="background-color: #dbeafe;"></button>
<button class="color-option" data-color="#fee2e2" style="background-color: #fee2e2;"></button>
<button class="color-option" data-color="#fef9c3" style="background-color: #fef9c3;"></button>
<button class="color-option" data-color="#dcfce7" style="background-color: #dcfce7;"></button>
</div>
<div class="modal-actions">
<button id="cancelFolder">Cancel</button>
<button id="saveFolder">Create Folder</button>
</div>
</div>
</div>
<div id="trashModal" class="modal">
<div class="modal-content">
<h2>Trash</h2>
<div id="trashContent"></div>
<div class="modal-actions">
<button id="closeTrash">Close</button>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>