mirror of
https://github.com/aculix/negotium.git
synced 2025-12-06 08:48:17 +00:00
Compare commits
No commits in common. "main" and "1.0.0" have entirely different histories.
@ -1,9 +1,7 @@
|
|||||||
# Negotium - Minimalist To Do App
|
# Negotium
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## 💭 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.
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 195 KiB |
@ -15,7 +15,6 @@
|
|||||||
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()) {
|
||||||
@ -86,16 +85,13 @@
|
|||||||
draggedOverIndex = null;
|
draggedOverIndex = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$: {
|
function getCurrentDate() {
|
||||||
currentDateDisplay = (() => {
|
return new Date().toLocaleDateString('en-US', {
|
||||||
const date = new Date(selectedDate);
|
weekday: 'long',
|
||||||
return date.toLocaleDateString('en-US', {
|
year: 'numeric',
|
||||||
weekday: 'long',
|
month: 'long',
|
||||||
year: 'numeric',
|
day: 'numeric'
|
||||||
month: 'long',
|
});
|
||||||
day: 'numeric'
|
|
||||||
});
|
|
||||||
})();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function getDateKey(dateString) {
|
function getDateKey(dateString) {
|
||||||
@ -286,7 +282,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">{currentDateDisplay}</div>
|
<div class="date-display">{getCurrentDate()}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="task-input-container">
|
<div class="task-input-container">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user