- Blotz - Task -
- -- Designed to help users efficiently organize and track their tasks - providing functionality for task creation, management, and completion - tracking. -
++ Welcome to the new age note taking web +
+diff --git a/blotztask-ui/package-lock.json b/blotztask-ui/package-lock.json index 6215277d..7500c318 100644 --- a/blotztask-ui/package-lock.json +++ b/blotztask-ui/package-lock.json @@ -52,6 +52,7 @@ "next-auth": "^4.24.10", "next-themes": "^0.3.0", "react": "^18.3.1", + "react-countup": "^6.5.3", "react-day-picker": "^8.7.1", "react-dom": "^18.3.1", "react-hook-form": "^7.44.3", @@ -3229,6 +3230,12 @@ "node": ">= 0.6" } }, + "node_modules/countup.js": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/countup.js/-/countup.js-2.8.0.tgz", + "integrity": "sha512-f7xEhX0awl4NOElHulrl4XRfKoNH3rB+qfNSZZyjSZhaAoUk6elvhH+MNxMmlmuUJ2/QNTWPSA7U4mNtIAKljQ==", + "license": "MIT" + }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -6495,6 +6502,18 @@ "node": ">=0.10.0" } }, + "node_modules/react-countup": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/react-countup/-/react-countup-6.5.3.tgz", + "integrity": "sha512-udnqVQitxC7QWADSPDOxVWULkLvKUWrDapn5i53HE4DPRVgs+Y5rr4bo25qEl8jSh+0l2cToJgGMx+clxPM3+w==", + "license": "MIT", + "dependencies": { + "countup.js": "^2.8.0" + }, + "peerDependencies": { + "react": ">= 16.3.0" + } + }, "node_modules/react-day-picker": { "version": "8.10.1", "resolved": "https://registry.npmjs.org/react-day-picker/-/react-day-picker-8.10.1.tgz", diff --git a/blotztask-ui/package.json b/blotztask-ui/package.json index 31fa20e9..404149da 100644 --- a/blotztask-ui/package.json +++ b/blotztask-ui/package.json @@ -54,6 +54,7 @@ "next-auth": "^4.24.10", "next-themes": "^0.3.0", "react": "^18.3.1", + "react-countup": "^6.5.3", "react-day-picker": "^8.7.1", "react-dom": "^18.3.1", "react-hook-form": "^7.44.3", @@ -77,4 +78,4 @@ "tailwindcss": "^3.4.6", "typescript": "^5" } -} +} \ No newline at end of file diff --git a/blotztask-ui/public/assets/images/homePageNewPicture.png b/blotztask-ui/public/assets/images/homePageNewPicture.png new file mode 100644 index 00000000..36345801 Binary files /dev/null and b/blotztask-ui/public/assets/images/homePageNewPicture.png differ diff --git a/blotztask-ui/public/assets/images/profileImage.png b/blotztask-ui/public/assets/images/profileImage.png new file mode 100644 index 00000000..6d30b4cf Binary files /dev/null and b/blotztask-ui/public/assets/images/profileImage.png differ diff --git a/blotztask-ui/src/app/monthly-stats/page.tsx b/blotztask-ui/src/app/monthly-stats/page.tsx new file mode 100644 index 00000000..5d4e5c3a --- /dev/null +++ b/blotztask-ui/src/app/monthly-stats/page.tsx @@ -0,0 +1,50 @@ +'use client'; + +import Image from 'next/image'; +import CountUp from 'react-countup'; +export default function Monthlystats() { + const mockTasks = [ + { + id: 1, + title: 'Complete project report', + description: 'Finalize the project report and submit it to the manager.', + isDone: false, + createdAt: '2024-07-20T08:30:00Z', + updatedAt: '2024-07-20T08:30:00Z', + }, + { + id: 2, + title: 'Meeting with the team', + description: + 'Discuss the project milestones and deadlines with the team.', + isDone: false, + createdAt: '2024-07-21T10:00:00Z', + updatedAt: '2024-07-21T10:00:00Z', + }, + ]; + + const taskCount = mockTasks.length; + return ( + <> +
+ You planned{' '}
+
+
+ Welcome to the new age note taking web +
+{task.title}
{task.description}