Compare commits

...

4 Commits
1.0.0 ... main

Author SHA1 Message Date
Aculix Technologies
056f9fc562 Refactor date display logic in App.svelte to use reactive variable for improved readability 2025-10-16 17:32:02 +05:30
Aculix Technologies
2697a81f72 Enhance README with app description and screenshot 2025-10-16 14:49:20 +05:30
Aculix Technologies
cfff2eec42 Update README 2025-10-16 14:35:11 +05:30
Aculix Technologies
345f9ee347 Update README 2025-10-16 14:29:21 +05:30
3 changed files with 15 additions and 9 deletions

View File

@ -1,7 +1,9 @@
# Negotium # Negotium - Minimalist To Do App
A beautiful, minimal to-do list application featuring smooth animations, intelligent date management, and a modern design that helps you stay organized and productive. A beautiful, minimal to-do list application featuring smooth animations, intelligent date management, and a modern design that helps you stay organized and productive.
![Negotium Screenshot](assets/screenshot.png)
## 💭 Why Negotium? ## 💭 Why Negotium?
While powerful tools like Trello and Vikunja excel at managing complex projects and long-term planning, sometimes you just need a simple, focused space for your daily tasks. That's why I built Negotium, a straightforward to-do list for today and tomorrow. Nothing more, nothing less. While powerful tools like Trello and Vikunja excel at managing complex projects and long-term planning, sometimes you just need a simple, focused space for your daily tasks. That's why I built Negotium, a straightforward to-do list for today and tomorrow. Nothing more, nothing less.

BIN
assets/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 KiB

View File

@ -15,6 +15,7 @@
let selectedDate = new Date().toDateString(); let selectedDate = new Date().toDateString();
let draggedItem = null; let draggedItem = null;
let draggedOverIndex = null; let draggedOverIndex = null;
let currentDateDisplay = '';
function addTask() { function addTask() {
if (newTask.trim()) { if (newTask.trim()) {
@ -85,13 +86,16 @@
draggedOverIndex = null; draggedOverIndex = null;
} }
function getCurrentDate() { $: {
return new Date().toLocaleDateString('en-US', { currentDateDisplay = (() => {
weekday: 'long', const date = new Date(selectedDate);
year: 'numeric', return date.toLocaleDateString('en-US', {
month: 'long', weekday: 'long',
day: 'numeric' year: 'numeric',
}); month: 'long',
day: 'numeric'
});
})();
} }
function getDateKey(dateString) { function getDateKey(dateString) {
@ -282,7 +286,7 @@
<div class="container"> <div class="container">
<div class="content-header"> <div class="content-header">
<h2 class="section-title">To-dos</h2> <h2 class="section-title">To-dos</h2>
<div class="date-display">{getCurrentDate()}</div> <div class="date-display">{currentDateDisplay}</div>
</div> </div>
<div class="task-input-container"> <div class="task-input-container">