I will start by listing the files in the project to understand its structure and locate the key files like src/App.tsx, index.html, etc. Let's call list_files.
I will now read the index.html file to see its layout, language meta-tag, and title, so we can update it with a Bengali title and appropriate styling/icons if needed (like Google Fonts or Lucide Icons). Let's call read_file.
I will now inspect the contents of src/App.tsx to understand the starting point. Let's call read_file.
I will read package.json to see if we have libraries like lucide-react or need to install anything for icons, animations, or styling. Let's call read_file.
I will install the lucide-react package to gain access to a collection of icons. Let's call install_npm_packages.
I will read src/index.css to verify the CSS configuration and verify if we need to add custom animations or styles. Let's call read_file.
I will now create the file src/utils/quotes.ts which will store motivational quotes in Bengali (বাংলা). These quotes will be displayed in the premium features panel to inspire and motivate the user. Let's call create_file.
I will now create a utility file src/utils/audio.ts that will generate elegant synthesized alert and success sounds using the browser's Web Audio API. This avoids loading slow external MP3 files and provides instant, glitch-free audio feedback in Bengali when tasks are completed. Let's call create_file.
I am going to edit the index.html file to update the title to "২০ নভেম্বর কাউন্টডাউন ও দৈনিক কর্মপরিকল্পনা ট্র্যাকার" (November 20 Countdown & Daily Task Planner Tracker) in Bengali, and configure standard responsive meta tags and clean defaults. Let's call edit_file.
I will now implement the complete countdown tracker and interactive task list inside src/App.tsx. It features:
- Bengali Live Clock & Date: Displays native Bengali days, months, and system time synced with zero data loss status.
- Double Live Tracker:
- Target 20 November countdown with Live Days, Hours, Minutes, and Seconds (fully customizable to any target date, but defaults to November 20).
- Today's End Live Countdown: Counts down the exact hours, minutes, and seconds remaining in the current day in real-time.
- Pre-loaded Bengali Checklist:
- Hierarchical structure supporting tasks and subtasks as requested.
- Beautiful checkbox with instant line-through and green glow completion animations.
- Smooth progress bars and interactive completion feedback.
- Interactive Synthesized Sound & Confetti:
- Clean, lightweight synthesized chimes on task completion and victory fanfares when all tasks are done.
- Pure CSS/SVG falling confetti particles that shower the screen on completion.
- Toggle to mute/unmute audio.
- Zero Data Loss: Saves everything automatically to
localStorage.
- Bonus Premium Utilities:
- Live Bengali motivational quote generator with manual change option.
- Task Search Filter ("কাজ খুঁজুন") and Status Filters ("সব কাজ", "চলতি কাজ", "সম্পন্ন").
- Quick action panel: add new custom tasks with multiple subtasks, remove finished, or reset to original.
- "রিপোর্ট কপি করুন" (Shareable Clipboard Report) formatted beautifully in Bengali with emoji summary.
- Elegant dark/light mode toggle.
Let's call create_file to save this complete, modern React dashboard.
I will now edit src/App.tsx using edit_file to declare padZero, clean up the unused imports (CheckCircle2, Circle, Save), and remove the unused anyCompleted variable so that the build passes cleanly. Let's call edit_file.
I will now remove the unused anyCompleted variable in src/App.tsx using edit_file to resolve the remaining TypeScript error. Let's call edit_file.
I will now run build_project to ensure there are no compilation or TypeScript errors. Let's call build_project.
আমি আপনার নির্দেশিকা অনুযায়ী ২০ নভেম্বরকে লক্ষ্য করে একটি অত্যন্ত মডার্ন, প্রিমিয়াম এবং ইন্টারঅ্যাকটিভ কাউন্টডাউন ট্র্যাকার ও দিনলিপি ওয়েব অ্যাপ তৈরি করেছি। অ্যাপের সমস্ত লেখা, বাটন এবং ইন্টারফেস খাঁটি বাংলা ভাষায় ডিজাইন করা হয়েছে।
এখানে প্রধান সব ফিচারের বাস্তবায়ন সংক্ষেপে তুলে ধরা হলো:
🌟 প্রধান ফিচারসমূহ (Key Features & Implementation):
১. স্মার্ট কাউন্টডাউন ও সময় হিসাব (Double Live Trackers):
- দিন ট্র্যাকার (Days Tracker): ২০ নভেম্বর আসতে আর কত দিন বাকি আছে তা বড় ও আকর্ষণীয় গ্র্যাডিয়েন্ট নম্বরে কার্ডের শুরুতে দেখানো হচ্ছে।
- ঘণ্টা ট্র্যাকার (Today's End Timer): আজকের দিনটি শেষ হতে আর কত ঘণ্টা, মিনিট এবং সেকেন্ড বাকি আছে তা একটি বৃত্তাকার প্রোগ্রেস গেজ সহ রিয়েল-টাইমে সেকেন্ডের সাথে কমতে থাকবে।
- কাস্টমাইজযোগ্য লক্ষ্য: ডিফল্টভাবে এটি ২০ নভেম্বরকে টার্গেট করবে (বর্তমান বছর পার হয়ে গেলে স্বয়ংক্রিয়ভাবে পরবর্তী বছরের ২০ নভেম্বরের কাউন্টডাউন দেখাবে)। এছাড়াও ব্যবহারকারী চাইলে যেকোনো কাস্টম লক্ষ্য তারিখ সেট করতে এবং পুনরায় রিসেট করতে পারবেন।
২. জিরো ডাটা লস সিস্টেম (Zero Data Loss):
- অ্যাপটি ব্যবহারকারীর ডিভাইসের লোকাল সিস্টেম সময় ও তারিখ থেকে রিয়েল-টাইম ডাটা গ্রহণ করে।
- ব্রাউজারের
LocalStorage ব্যবহার করে কাজের তালিকা ও সম্পন্ন করার স্ট্যাটাস সুরক্ষিতভাবে সেভ থাকে, ফলে ব্রাউজার রিফ্রেশ বা উইন্ডো বন্ধ করলেও কোনো ডাটা নষ্ট হয় না।
৩. পূর্ব-নির্ধারিত কাজের তালিকা (Pre-loaded To-Do List):
অ্যাপটি ওপেন করলেই ডিফল্টভাবে নির্দিষ্ট করা কাজগুলো সুন্দর ক্যাটাগরি ও সাবটাস্ক (উপ-কাজ) আকারে দেখা যাবে:
- ১. স্কুল (Category: স্কুল)
- সব বই নেওয়া 🎒
- সাইকেলের চাবি নেওয়া 🔑
- কলম নেওয়া ✒️
- ক্যালকুলেটর নেওয়া 🧮
- সাইকেলের বেল নেওয়া 🔔
- ২. রাতে পড়তে বসা (Category: রাতের পড়া)
- ৩. রাতে স্কুলের সব পড়া শেষ করা (Category: রাতের পড়া)
- ব্যবহারকারী চাইলে নতুন কাজ ও উপ-কাজ যোগ করতে, সম্পন্ন কাজগুলো ডিলিট করতে অথবা এক ক্লিকে "ডিফল্ট কাজগুলোতে" ফেরত যেতে পারবেন।
৪. ইন্টারঅ্যাকশন ও আকর্ষণীয় অ্যানিমেশন:
- টিক চিহ্ন ও দাগ (Strikethrough): প্রতিটি কাজের পাশে প্রিমিয়াম চেকবক্স রয়েছে। ক্লিক করলে একটি সুন্দর টিক অ্যানিমেশনের মাধ্যমে লেখার উপর স্ট্রিকথ্রু বা দাগ পড়ে যায়।
- সিন্থেসাইজড সাউন্ড ইফেক্টস (Sound Chimes): কোনো কাজ সম্পন্ন করলে ব্রাউজারের অডিও ইঞ্জিন ব্যবহার করে চমৎকার পজিটিভ "Chime" সাউন্ড বাজবে এবং সবগুলো কাজ শেষ হলে একটি গর্জিয়াস "Victory Fanfare" বাজবে! চাইলে সাউন্ড মিউট/আনমিউট করার অপশনও রয়েছে।
- কনফেটি রেইন অ্যানিমেশন (Confetti Celebration): কোনো মূল কাজ শেষ করলে বা দিনের সমস্ত কাজ সফলভাবে সম্পন্ন করলে স্ক্রিন জুড়ে রঙিন কনফেটির চমৎকার বৃষ্টি ঝরবে!
৫. অতিরিক্ত আকর্ষণীয় প্রিমিয়াম ফিচারসমূহ:
- বাঙালি অনুপ্রেরণা বাণী (Motivational Quotes): পড়ালেখা এবং সময় সচেতনতা নিয়ে স্বামী বিবেকানন্দ, এ পি জে আব্দুল কালামের মতো বিখ্যাত ব্যক্তিদের ১০টি অনুপ্রেরণাদায়ক বাংলা বাণী রয়েছে, যা বাটন ক্লিকের মাধ্যমে পরিবর্তন করা যায়।
- কাজের ফিল্টার ও সার্চবার: সব কাজ, চলতি কাজ এবং সম্পন্ন কাজের জন্য আলাদা ফিল্টার ট্যাব এবং কাজ সহজে খুঁজে পাওয়ার জন্য লাইভ সার্চবার যুক্ত করা হয়েছে।
- রিপোর্ট কপি ও শেয়ার করুন: ব্যবহারকারীর আজকের কাজের অগ্রগতি, কাউন্টডাউন বিবরণ ও তালিকা সুন্দর বাংলা ফরম্যাটে ক্লিপবোর্ডে কপি করে মেসেঞ্জার, হোয়াটসঅ্যাপ বা নোটপ্যাডে শেয়ার করার ব্যবস্থা রাখা হয়েছে।
- মনোমুগ্ধকর ডার্ক ও লাইট মোড: রাতের পড়ার টেবিলের উপযোগী ব্ল্যাক অ্যান্ড পার্পল নিওন ডার্ক মোড এবং দিনের জন্য চমৎকার গ্লাস-মরফিজম লাইট মোড সুইচ করার সুবিধা রয়েছে।
📂 ফাইল ও সোর্স কোড কাঠামো:
src/App.tsx: মূল ইউজার ইন্টারফেস, লাইভ কাউন্টডাউন লজিক, রিয়েল-টাইম স্টেট এবং মডার্ন ইন্টারঅ্যাকশনসমূহ সম্পূর্ণ রেসপনসিভভাবে হ্যান্ডেল করা হয়েছে।
src/utils/quotes.ts: পড়াশোনা ও সময় সচেতনতা সংক্রান্ত বাংলা বাণী এবং র্যান্ডম কোট জেনারেটর ফাংশন।
src/utils/audio.ts: ওয়েব অডিও এপিআই ব্যবহার করে কোনো বাহ্যিক অডিও ফাইল ডাউনলোডের ঝামেলা ছাড়াই ব্রাউজারে ইনস্ট্যান্ট সাউন্ড সিন্থেসাইজ করার প্রফেশনাল ইউটিলিটি।
index.html: সুন্দর বাংলা ফন্ট (Hind Siliguri) সংযুক্ত করা হয়েছে এবং টাইটেল আপডেট করা হয়েছে।
Files built: src/utils/quotes.ts, src/utils/audio.ts, index.html, src/App.tsx