|
3 | 3 | <head> |
4 | 4 | <meta charset="UTF-8" /> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"/> |
6 | | - <title>ToDo List</title> |
| 6 | + <title>Be You — ToDo</title> |
7 | 7 | <link rel="stylesheet" href="style.css" /> |
8 | 8 | <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet"> |
9 | | - |
| 9 | + <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap" rel="stylesheet"> |
10 | 10 | <script type="module" src="script.mjs"></script> |
11 | 11 | </head> |
12 | 12 | <body> |
13 | | - <div class="todo-container"> |
14 | | - <h1>My ToDo List</h1> |
15 | 13 |
|
16 | | - <div class="todo-input"> |
17 | | - <input type="text" id="new-task-input" placeholder="Enter a new task..." /> |
18 | | - <button id="add-task-btn">Add</button> |
| 14 | + <header class="header"> |
| 15 | + <nav class="nav-bar"> |
| 16 | + <div class="nav-brand"> |
| 17 | + <span class="brand-icon"><i class="fa-solid fa-circle-check"></i></span> |
| 18 | + <span class="brand-name">Be You<span class="brand-dot">.</span></span> |
| 19 | + </div> |
| 20 | + <button class="nav-toggle" id="nav-toggle" aria-label="Toggle navigation"> |
| 21 | + <i class="fa-solid fa-bars"></i> |
| 22 | + </button> |
| 23 | + <div class="nav-links" id="nav-links"> |
| 24 | + <a href="index.html" class="active">home</a> |
| 25 | + <a href="about.html">about</a> |
| 26 | + <a href="reminders.html">reminders</a> |
| 27 | + </div> |
| 28 | + </nav> |
| 29 | + </header> |
| 30 | + |
| 31 | + <!-- Hero Section --> |
| 32 | + <section class="hero"> |
| 33 | + <div class="hero-content"> |
| 34 | + <p class="hero-greeting">Hello, I'm</p> |
| 35 | + <h1 class="hero-name">Be You</h1> |
| 36 | + <p class="hero-tagline">Turning goals into <span class="highlight">done</span>. One task at a time.</p> |
| 37 | + <a href="#todo-section" class="hero-btn">Start My Day <i class="fa-solid fa-arrow-down"></i></a> |
| 38 | + </div> |
| 39 | + <div class="hero-visual"> |
| 40 | + <div class="hero-card"> |
| 41 | + <i class="fa-solid fa-list-check hero-card-icon"></i> |
| 42 | + <p>Stay focused.<br>Stay productive.</p> |
| 43 | + </div> |
19 | 44 | </div> |
| 45 | + </section> |
| 46 | + |
| 47 | + <!-- Stats Bar --> |
| 48 | + <section class="stats-bar"> |
| 49 | + <div class="stat"><i class="fa-solid fa-fire"></i><span id="stat-total">0</span><small>Tasks</small></div> |
| 50 | + <div class="stat"><i class="fa-solid fa-circle-check"></i><span id="stat-done">0</span><small>Completed</small></div> |
| 51 | + <div class="stat"><i class="fa-solid fa-hourglass-half"></i><span id="stat-pending">0</span><small>Pending</small></div> |
| 52 | + </section> |
| 53 | + |
| 54 | + <!-- Todo Section --> |
| 55 | + <section class="todo-section" id="todo-section"> |
| 56 | + <div class="todo-container"> |
| 57 | + <div class="todo-header"> |
| 58 | + <h2><i class="fa-solid fa-list-check"></i> My ToDo List</h2> |
| 59 | + <p class="todo-subtitle">What are we conquering today?</p> |
| 60 | + </div> |
| 61 | + |
| 62 | + <div class="todo-input"> |
| 63 | + <input type="text" id="new-task-input" placeholder="Add a new task..." /> |
| 64 | + <button id="add-task-btn"><i class="fa-solid fa-plus"></i> Add</button> |
| 65 | + </div> |
| 66 | + |
| 67 | + <ul id="todo-list" class="todo-list"></ul> |
| 68 | + |
| 69 | + <template id="todo-item-template"> |
| 70 | + <li class="todo-item"> |
| 71 | + <span class="description">Task description</span> |
| 72 | + <div class="actions"> |
| 73 | + <button class="complete-btn" title="Complete"><i class="fa-solid fa-check"></i></button> |
| 74 | + <button class="delete-btn" title="Delete"><i class="fa-solid fa-trash"></i></button> |
| 75 | + </div> |
| 76 | + </li> |
| 77 | + </template> |
| 78 | + </div> |
| 79 | + </section> |
| 80 | + |
| 81 | + <!-- Quote Section --> |
| 82 | + <section class="quote-section"> |
| 83 | + <blockquote> |
| 84 | + "Discipline is choosing between what you want now and what you want most." |
| 85 | + <cite>— Abraham Lincoln</cite> |
| 86 | + </blockquote> |
| 87 | + </section> |
| 88 | + |
| 89 | + <footer class="footer"> |
| 90 | + <p>© 2026 Be You</p> |
| 91 | + </footer> |
20 | 92 |
|
21 | | - <ul id="todo-list" class="todo-list"> |
22 | | - </ul> |
23 | | - |
24 | | - <!-- |
25 | | - This is a template for the To-do list item. |
26 | | - It can simplify the creation of list item node in JS script. |
27 | | - --> |
28 | | - <template id="todo-item-template"> |
29 | | - <li class="todo-item"> <!-- include class "completed" if the task completed state is true --> |
30 | | - <span class="description">Task description</span> |
31 | | - <div class="actions"> |
32 | | - <button class="complete-btn"><span class="fa-solid fa-check" aria-hidden="true"></span></button> |
33 | | - <button class="delete-btn"><span class="fa-solid fa-trash" aria-hidden="true"></span></button> |
34 | | - </div> |
35 | | - </li> |
36 | | - </template> |
37 | | - |
38 | | - </div> |
39 | 93 | </body> |
40 | 94 | </html> |
0 commit comments