flitrx's picture
a digital planner like see in this etsy product link: https://www.etsy.com/listing/1620103130/2026-adhd-digital-planner-dark-rainbow?ls=s&ga_order=most_relevant&ga_search_type=all&ga_view_type=gallery&ga_search_query=adhd+planner&ref=sr_gallery-1-24&pro=1&sts=1&dd=1&content_source=0f05dc65-7d4d-428f-ab05-6c2bf00b746b%253ALT7454849267120d04b9228c185d89b46b5cb82367&organic_search_click=1&logging_key=0f05dc65-7d4d-428f-ab05-6c2bf00b746b%3ALT7454849267120d04b9228c185d89b46b5cb82367 . analyze the link, study the product and make it for iphone, android and desktop pc.
3267ca9 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tasks | RainbowFocus Digital Planner</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Patrick+Hand&display=swap');
body {
font-family: 'Inter', sans-serif;
}
.handwriting {
font-family: 'Patrick Hand', cursive;
}
.adhd-checkbox:checked {
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e"), linear-gradient(to bottom right, #7c3aed, #f59e0b);
}
.task-category-border {
border-left-width: 4px;
}
.priority-high {
border-left-color: #f43f5e;
}
.priority-medium {
border-left-color: #f59e0b;
}
.priority-low {
border-left-color: #10b981;
}
</style>
</head>
<body class="min-h-screen bg-gradient-to-br from-gray-50 to-gray-100">
<!-- Navbar -->
<nav class="bg-white shadow-sm sticky top-0 z-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<i data-feather="check-circle" class="text-purple-600"></i>
<span class="ml-2 text-xl font-bold text-gray-800 hand-writing">RainbowFocus</span>
</div>
</div>
<div class="hidden md:ml-6 md:flex md:items-center md:space-x-4">
<a href="index.html" class="px-3 py-2 rounded-md text-sm font-medium text-gray-500 hover:text-gray-700">Dashboard</a>
<a href="calendar.html" class="px-3 py-2 rounded-md text-sm font-medium text-gray-500 hover:text-gray-700">Calendar</a>
<a href="tasks.html" class="px-3 py-2 rounded-md text-sm font-medium text-purple-700 bg-purple-100">Tasks</a>
<a href="notes.html" class="px-3 py-2 rounded-md text-sm font-medium text-gray-500 hover:text-gray-700">Notes</a>
</div>
<div class="flex items-center">
<button class="md:hidden inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none">
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
</nav>
<main class="max-w-7xl mx-auto py-8 px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-1 lg:grid-cols-4 gap-6">
<!-- Task Filters -->
<div class="lg:col-span-1">
<div class="bg-white rounded-xl shadow-sm p-6">
<h2 class="text-xl font-bold text-gray-800 mb-4">Filters</h2>
<div class="space-y-4">
<div>
<h3 class="text-sm font-medium text-gray-700 mb-2">Categories</h3>
<div class="space-y-2">
<div class="flex items-center">
<input type="checkbox" id="work" class="h-4 w-4 text-purple-600 focus:ring-purple-500 border-gray-300 rounded">
<label for="work" class="ml-2 text-sm text-gray-700">Work</label>
</div>
<div class="flex items-center">
<input type="checkbox" id="personal" class="h-4 w-4 text-purple-600 focus:ring-purple-500 border-gray-300 rounded">
<label for="personal" class="ml-2 text-sm text-gray-700">Personal</label>
</div>
<div class="flex items-center">
<input type="checkbox" id="health" class="h-4 w-4 text-purple-600 focus:ring-purple-500 border-gray-300 rounded">
<label for="health" class="ml-2 text-sm text-gray-700">Health</label>
</div>
<div class="flex items-center">
<input type="checkbox" id="finance" class="h-4 w-4 text-purple-600 focus:ring-purple-500 border-gray-300 rounded">
<label for="finance" class="ml-2 text-sm text-gray-700">Finance</label>
</div>
</div>
</div>
<div>
<h3 class="text-sm font-medium text-gray-700 mb-2">Priority</h3>
<div class="space-y-2">
<div class="flex items-center">
<input type="checkbox" id="high" class="h-4 w-4 text-red-600 focus:ring-red-500 border-gray-300 rounded">
<label for="high" class="ml-2 text-sm text-gray-700">High</label>
</div>
<div class="flex items-center">
<input type="checkbox" id="medium" class="h-4 w-4 text-yellow-600 focus:ring-yellow-500 border-gray-300 rounded">
<label for="medium" class="ml-2 text-sm text-gray-700">Medium</label>
</div>
<div class="flex items-center">
<input type="checkbox" id="low" class="h-4 w-4 text-green-600 focus:ring-green-500 border-gray-300 rounded">
<label for="low" class="ml-2 text-sm text-gray-700">Low</label>
</div>
</div>
</div>
<div>
<h3 class="text-sm font-medium text-gray-700 mb-2">Status</h3>
<div class="space-y-2">
<div class="flex items-center">
<input type="checkbox" id="completed" class="h-4 w-4 text-purple-600 focus:ring-purple-500 border-gray-300 rounded">
<label for="completed" class="ml-2 text-sm text-gray-700">Completed</label>
</div>
<div class="flex items-center">
<input type="checkbox" id="in-progress" class="h-4 w-4 text-purple-600 focus:ring-purple-500 border-gray-300 rounded">
<label for="in-progress" class="ml-2 text-sm text-gray-700">In Progress</label>
</div>
<div class="flex items-center">
<input type="checkbox" id="not-started" class="h-4 w-4 text-purple-600 focus:ring-purple-500 border-gray-300 rounded">
<label for="not-started" class="ml-2 text-sm text-gray-700">Not Started</label>
</div>
</div>
</div>
<div>
<button class="w-full mt-4 px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700">
Apply Filters
</button>
</div>
</div>
</div>
</div>
<!-- Task List -->
<div class="lg:col-span-3">
<div class="bg-white rounded-xl shadow-sm p-6">
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-bold text-gray-800">My Tasks</h2>
<button class="px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 flex items-center">
<i data-feather="plus" class="w-4 h-4 mr-2"></i>
Add Task
</button>
</div>
<!-- Task Groups -->
<div class="space-y-6">
<!-- High Priority Tasks -->
<div>
<h3 class="text-lg font-semibold text-gray-700 mb-3 flex items-center">
<i data-feather="alert-triangle" class="w-5 h-5 text-red-500 mr-2"></i>
High Priority
</h3>
<div class="space-y-3">
<div class="flex items-center px-4 py-3 bg-white rounded-lg border border-gray-200 task-category-border priority-high">
<input type="checkbox" class="adhd-checkbox h-5 w-5 rounded border-gray-300 text-purple-600 focus:ring-purple-500">
<div class="ml-3 flex-grow">
<div class="font-medium text-gray-700">Submit project proposal to client</div>
<div class="text-sm text-gray-500">Work • Due today at 5pm</div>
</div>
<button class="text-gray-400 hover:text-gray-500">
<i data-feather="more-vertical" class="w-5 h-5"></i>
</button>
</div>
<div class="flex items-center px-4 py-3 bg-white rounded-lg border border-gray-200 task-category-border priority-high">
<input type="checkbox" class="adhd-checkbox h-5 w-5 rounded border-gray-300 text-purple-600 focus:ring-purple-500">
<div class="ml-3 flex-grow">
<div class="font-medium text-gray-700">Pay rent</div>
<div class="text-sm text-gray-500">Finance • Due tomorrow</div>
</div>
<button class="text-gray-400 hover:text-gray-500">
<i data-feather="more-vertical" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
<!-- Medium Priority Tasks -->
<div>
<h3 class="text-lg font-semibold text-gray-700 mb-3 flex items-center">
<i data-feather="alert-circle" class="w-5 h-5 text-yellow-500 mr-2"></i>
Medium Priority
</h3>
<div class="space-y-3">
<div class="flex items-center px-4 py-3 bg-white rounded-lg border border-gray-200 task-category-border priority-medium">
<input type="checkbox" class="adhd-checkbox h-5 w-5 rounded border-gray-300 text-purple-600 focus:ring-purple-500">
<div class="ml-3 flex-grow">
<div class="font-medium text-gray-700">Grocery shopping</div>
<div class="text-sm text-gray-500">Personal • Due in 2 days</div>
</div>
<button class="text-gray-400 hover:text-gray-500">
<i data-feather="more-vertical" class="w-5 h-5"></i>
</button>
</div>
<div class="flex items-center px-4 py-3 bg-white rounded-lg border border-gray-200 task-category-border priority-medium">
<input type="checkbox" class="adhd-checkbox h-5 w-5 rounded border-gray-300 text-purple-600 focus:ring-purple-500">
<div class="ml-3 flex-grow">
<div class="font-medium text-gray-700">Update resume</div>
<div class="text-sm text-gray-500">Work • No due date</div>
</div>
<button class="text-gray-400 hover:text-gray-500">
<i data-feather="more-vertical" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
<!-- Low Priority Tasks -->
<div>
<h3 class="text-lg font-semibold text-gray-700 mb-3 flex items-center">
<i data-feather="alert-octagon" class="w-5 h-5 text-green-500 mr-2"></i>
Low Priority
</h3>
<div class="space-y-3">
<div class="flex items-center px-4 py-3 bg-white rounded-lg border border-gray-200 task-category-border priority-low">
<input type="checkbox" class="adhd-checkbox h-5 w-5 rounded border-gray-300 text-purple-600 focus:ring-purple-500" checked>
<div class="ml-3 flex-grow">
<div class="font-medium text-gray-700 line-through text-gray-400">Water plants</div>
<div class="text-sm text-gray-500">Personal • Completed</div>
</div>
<button class="text-gray-400 hover:text-gray-500">
<i data-feather="more-vertical" class="w-5 h-5"></i>
</button>
</div>
<div class="flex items-center px-4 py-3 bg-white rounded-lg border border-gray-200 task-category-border priority-low">
<input type="checkbox" class="adhd-checkbox h-5 w-5 rounded border-gray-300 text-purple-600 focus:ring-purple-500">
<div class="ml-3 flex-grow">
<div class="font-medium text-gray-700">Read new book chapter</div>
<div class="text-sm text-gray-500">Personal • Due in a week</div>
</div>
<button class="text-gray-400 hover:text-gray-500">
<i data-feather="more-vertical" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Mobile Bottom Navigation -->
<div class="md:hidden fixed bottom-0 left-0 right-0 bg-white shadow-lg border-t border-gray-200">
<div class="flex justify-around items-center h-16">
<a href="index.html" class="flex flex-col items-center justify-center text-gray-500">
<i data-feather="home" class="w-5 h-5"></i>
<span class="text-xs mt-1">Home</span>
</a>
<a href="calendar.html" class="flex flex-col items-center justify-center text-gray-500">
<i data-feather="calendar" class="w-5 h-5"></i>
<span class="text-xs mt-1">Calendar</span>
</a>
<a href="tasks.html" class="flex flex-col items-center justify-center text-purple-600">
<i data-feather="check-circle" class="w-5 h-5"></i>
<span class="text-xs mt-1">Tasks</span>
</a>
<a href="notes.html" class="flex flex-col items-center justify-center text-gray-500">
<i data-feather="book" class="w-5 h-5"></i>
<span class="text-xs mt-1">Notes</span>
</a>
</div>
</div>
<!-- Add Task Modal -->
<div id="taskModal" class="fixed inset-0 z-50 hidden overflow-y-auto">
<div class="flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
<div class="fixed inset-0 transition-opacity" aria-hidden="true">
<div class="absolute inset-0 bg-gray-500 opacity-75"></div>
</div>
<div class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full">
<div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
<div class="sm:flex sm:items-start">
<div class="mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-purple-100 sm:mx-0 sm:h-10 sm:w-10">
<i data-feather="plus" class="text-purple-600"></i>
</div>
<div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full">
<h3 class="text-lg leading-6 font-medium text-gray-900">Add New Task</h3>
<div class="mt-2">
<form id="taskForm">
<div class="mb-4">
<label for="taskTitle" class="block text-sm font-medium text-gray-700">Task Title</label>
<input type="text" id="taskTitle" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-purple-500 focus:ring-purple-500" placeholder="What needs to be done?">
</div>
<div class="mb-4">
<label for="taskDescription" class="block text-sm font-medium text-gray-700">Description</label>
<textarea id="taskDescription" rows="3" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-purple-500 focus:ring-purple-500" placeholder="Add details..."></textarea>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4 mb-4">
<div>
<label for="taskDueDate" class="block text-sm font-medium text-gray-700">Due Date</label>
<input type="date" id="taskDueDate" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-purple-500 focus:ring-purple-500">
</div>
<div>
<label for="taskCategory" class="block text-sm font-medium text-gray-700">Category</label>
<select id="taskCategory" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-purple-500 focus:ring-purple-500">
<option value="work">Work</option>
<option value="personal">Personal</option>
<option value="health">Health</option>
<option value="finance">Finance</option>
</select>
</div>
</div>
<div class="mb-4">
<label for="taskPriority" class="block text-sm font-medium text-gray-700">Priority</label>
<select id="taskPriority" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-purple-500 focus:ring-purple-500">
<option value="high">High</option>
<option value="medium" selected>Medium</option>
<option value="low">Low</option>
</select>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse">
<button type="button" id="saveTask" class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-purple-600 text-base font-medium text-white hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500 sm:ml-3 sm:w-auto sm:text-sm">Add Task</button>
<button type="button" id="cancelTask" class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm">Cancel</button>
</div>
</div>
</div>
</div>
<script>
feather.replace();
// Mobile menu toggle functionality
document.querySelector('[data-feather="menu"]').addEventListener('click', function() {
const mobileMenu = document.getElementById('mobile-menu');
mobileMenu.classList.toggle('hidden');
});
// Task modal functionality
document.querySelector('button[aria-label="Add Task"]').addEventListener('click', function() {
document.getElementById('taskModal').classList.remove('hidden');
});
document.getElementById('cancelTask').addEventListener('click', function() {
document.getElementById('taskModal').classList.add('hidden');
});
document.getElementById('saveTask').addEventListener('click', function() {
// Add task logic here
document.getElementById('taskModal').classList.add('hidden');
});
// Custom checkbox styling
document.querySelectorAll('.adhd-checkbox').forEach(checkbox => {
checkbox.addEventListener('change', function() {
if (this.checked) {
this.parentElement.querySelector('.font-medium').classList.add('line-through', 'text-gray-400');
} else {
this.parentElement.querySelector('.font-medium').classList.remove('line-through', 'text-gray-400');
}
});
});
</script>
</body>
</html>