-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
47 lines (44 loc) · 1.84 KB
/
home.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MEMOS</title>
<!-- 引入Tailwind CSS -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/tailwindcss.js"></script>
<!-- 引入Alpine.js -->
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn.min.js"></script>
</head>
<body class="bg-gray-100 h-screen flex">
<!-- 左侧菜单栏 -->
<div class="bg-white w-64 p-4 shadow-md">
<div class="text-center text-gray-700 text-lg font-bold mb-6">1150767197...</div>
<ul>
<li class="mb-2">
<button class="w-full text-left text-gray-700 hover:bg-gray-200 p-2 rounded">Setting</button>
</li>
<li class="mb-2">
<button class="w-full text-left text-gray-700 hover:bg-gray-200 p-2 rounded">Recycle Bin</button>
</li>
<li class="mb-4">
<button class="w-full text-left text-gray-700 hover:bg-gray-200 p-2 rounded">Shortcuts</button>
</li>
<li>
<div class="text-gray-700 mb-2">Tags</div>
<input type="text" placeholder="Enter #Tag" class="w-full px-3 py-2 border rounded focus:border-green-500 focus:outline-none">
</li>
</ul>
</div>
<!-- 主内容区域 -->
<div class="flex-1 p-4">
<!-- 顶部导航 -->
<div class="flex justify-between items-center mb-4">
</div>
<!-- 笔记内容区域 -->
<div x-data="{ note: '' }">
<textarea x-model="note" placeholder="Type your memo here..." class="w-full h-48 p-4 border rounded mb-4"></textarea>
<div class="text-gray-500">Oops, there is nothing</div>
</div>
</div>
</body>
</html>