-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
46 lines (46 loc) · 1.13 KB
/
Copy pathindex.html
File metadata and controls
46 lines (46 loc) · 1.13 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Notes-App</title>
<style>
:root {
--bg-color: #f8f9fa;
--card-bg: #ffffff;
--primary-color: #4f46e5;
--text-color: #1f2937;
--placeholder-color: #9ca3af;
--border-radius: 8px;
--shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.05);
--font-family: "Inter", sans‑serif;
}
body {
display: flex;
height: 100vh;
margin: 0;
}
side-nav {
width: 250px;
flex-shrink: 0;
}
main {
flex: 1;
padding: 1rem;
}
</style>
<script type="module">
import { registerComponents } from "ladrillosjs";
await registerComponents([
{ name: "side-nav", path: "components/side-nav.html" },
{ name: "create-note", path: "components/create-note.html" },
]);
</script>
</head>
<body>
<side-nav></side-nav>
<main>
<create-note></create-note>
</main>
</body>
</html>