From c65912cbcf40c2bfe75fefac6124d74550fefc6b Mon Sep 17 00:00:00 2001 From: kumar saurabh Date: Mon, 25 Nov 2024 18:31:51 +0530 Subject: [PATCH] some changes --- .gitignore | 1 + public/assets/Background.svg | 16 +++ public/assets/Card(3).svg | 9 ++ public/assets/Card2.svg | 9 ++ public/assets/Container2.svg | 9 ++ public/assets/Heading1.svg | 10 ++ public/assets/Level.svg | 9 ++ public/assets/LevelUp.svg | 3 + public/assets/card1.svg | 9 ++ public/assets/cycle1.svg | 24 ++++ public/assets/cycle2.svg | 9 ++ public/assets/growth1.svg | 3 + public/assets/growth2.svg | 9 ++ public/assets/growth3.svg | 3 + public/assets/growth4.svg | 9 ++ public/assets/growth5.svg | 3 + public/assets/points.svg | 10 ++ public/assets/points2.svg | 3 + src/components/Home/GrowthMeter.tsx | 82 +++++++++++- src/components/Home/Tracker.tsx | 185 +++++++++++++++++++++++++--- src/helpers/constants/index.ts | 1 + 21 files changed, 397 insertions(+), 19 deletions(-) create mode 100644 public/assets/Background.svg create mode 100644 public/assets/Card(3).svg create mode 100644 public/assets/Card2.svg create mode 100644 public/assets/Container2.svg create mode 100644 public/assets/Heading1.svg create mode 100644 public/assets/Level.svg create mode 100644 public/assets/LevelUp.svg create mode 100644 public/assets/card1.svg create mode 100644 public/assets/cycle1.svg create mode 100644 public/assets/cycle2.svg create mode 100644 public/assets/growth1.svg create mode 100644 public/assets/growth2.svg create mode 100644 public/assets/growth3.svg create mode 100644 public/assets/growth4.svg create mode 100644 public/assets/growth5.svg create mode 100644 public/assets/points.svg create mode 100644 public/assets/points2.svg diff --git a/.gitignore b/.gitignore index fd3dbb5..7c6929b 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,4 @@ yarn-error.log* # typescript *.tsbuildinfo next-env.d.ts + diff --git a/public/assets/Background.svg b/public/assets/Background.svg new file mode 100644 index 0000000..e794239 --- /dev/null +++ b/public/assets/Background.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/public/assets/Card(3).svg b/public/assets/Card(3).svg new file mode 100644 index 0000000..31e7932 --- /dev/null +++ b/public/assets/Card(3).svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/public/assets/Card2.svg b/public/assets/Card2.svg new file mode 100644 index 0000000..f32f13b --- /dev/null +++ b/public/assets/Card2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/public/assets/Container2.svg b/public/assets/Container2.svg new file mode 100644 index 0000000..8b265ea --- /dev/null +++ b/public/assets/Container2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/public/assets/Heading1.svg b/public/assets/Heading1.svg new file mode 100644 index 0000000..76ac650 --- /dev/null +++ b/public/assets/Heading1.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/public/assets/Level.svg b/public/assets/Level.svg new file mode 100644 index 0000000..90a2948 --- /dev/null +++ b/public/assets/Level.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/public/assets/LevelUp.svg b/public/assets/LevelUp.svg new file mode 100644 index 0000000..4649181 --- /dev/null +++ b/public/assets/LevelUp.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/assets/card1.svg b/public/assets/card1.svg new file mode 100644 index 0000000..e673366 --- /dev/null +++ b/public/assets/card1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/public/assets/cycle1.svg b/public/assets/cycle1.svg new file mode 100644 index 0000000..cc652e0 --- /dev/null +++ b/public/assets/cycle1.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/assets/cycle2.svg b/public/assets/cycle2.svg new file mode 100644 index 0000000..9d8c0b4 --- /dev/null +++ b/public/assets/cycle2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/public/assets/growth1.svg b/public/assets/growth1.svg new file mode 100644 index 0000000..e5fb809 --- /dev/null +++ b/public/assets/growth1.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/assets/growth2.svg b/public/assets/growth2.svg new file mode 100644 index 0000000..abcb191 --- /dev/null +++ b/public/assets/growth2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/public/assets/growth3.svg b/public/assets/growth3.svg new file mode 100644 index 0000000..449f577 --- /dev/null +++ b/public/assets/growth3.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/assets/growth4.svg b/public/assets/growth4.svg new file mode 100644 index 0000000..abcb191 --- /dev/null +++ b/public/assets/growth4.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/public/assets/growth5.svg b/public/assets/growth5.svg new file mode 100644 index 0000000..4ba2d98 --- /dev/null +++ b/public/assets/growth5.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/assets/points.svg b/public/assets/points.svg new file mode 100644 index 0000000..00feff1 --- /dev/null +++ b/public/assets/points.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/public/assets/points2.svg b/public/assets/points2.svg new file mode 100644 index 0000000..bbdb4fd --- /dev/null +++ b/public/assets/points2.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/Home/GrowthMeter.tsx b/src/components/Home/GrowthMeter.tsx index ce3ee3a..c03ae0f 100644 --- a/src/components/Home/GrowthMeter.tsx +++ b/src/components/Home/GrowthMeter.tsx @@ -15,13 +15,13 @@ const GrowthMeter = (props: Props) => { return (
-
+
-

Stay motivated.

-
- -

Visualize your progress.

+

+Track it, chart it,
+Celebrate it.

+
{/* Display for tab and desktop */} @@ -48,6 +48,78 @@ const GrowthMeter = (props: Props) => { />
+ +
+ +
+ +
+ +
+ + +
+ + } + leftItem={ + + + + } + delay={0.2} + motionDivClass="flex items-center justify-evenly" + imagePosition="right" + /> +
+ +
+ + + +
+ +
+
+ +
+
+ +
+
+ + + + +
+
+ + + +
+
+ + + +
+
+ + + + {/* Display for mobile */}
diff --git a/src/components/Home/Tracker.tsx b/src/components/Home/Tracker.tsx index f09a00a..3273cce 100644 --- a/src/components/Home/Tracker.tsx +++ b/src/components/Home/Tracker.tsx @@ -15,24 +15,25 @@ const Tracker = (props: Props) => { return (
-
+
-

Never lose.

-
- -

Track of your progress.

+

+ Track every bite of revision
with tracker.

+ {/* + + */}
- {/* Display for tab and desktop */} -
+ {/* Display for tab and desktop */} +
} @@ -46,10 +47,161 @@ const Tracker = (props: Props) => { motionDivClass="flex items-center justify-evenly" imagePosition="right" // Specify image position /> +
+ +
+ +

Tracker ditches the stopwatch and becomes your personal learning GPS. It analyzes not just the time
you spend studying, but how efficiently you're
grasping the material within each session.

+
+
+ +
+ +

+ Gain insights into your
revision efficiency

+
+ {/* + + */}
+ {/*
+hello +
*/} + {/*
*/} + + + +
+ Centered Image + + +
+
+
+ +

Subject wise efficiency

+
+
+ +
+ +

+ See how effectively you're grasping different subjects within
your curriculum. Identify areas of strength and weakness to
optimize your study approach. +

+
+
+
+ +
+
+ + + + +{/*
+Chapter wise efficiency + } + leftItem={ +

+ Monitor how many times you've revised each topic with current and + cumulative efficiency. +

+ } + delay={0.2} + motionDivClass="flex items-center justify-evenly" + imagePosition="right" // Specify image position +/> +
*/} + +
+ + +
+
+ +
+
+ +
+
+ + +
- {/* Display for mobile */} -
+ +
+

Chapter wise efficiency

+
+

+ Track your progress within
each chapter. This helps
identify any specific
sections that require extra
focus or pinpoint topics
you've mastered. + +

+
+ + +
+

Topic wise efficiency

+
+

+ Get a hyper-focused view of
your efficiency at the topic
level. This allows you to
target your studying even
more effectively, ensuring
you haven't missed any crucial details. +

+
+
+ +
+{/*
*/} + + + + + +
+
+
+ +
+
+ + + +

Current Efficiency

+
+
+ +
+ +

This refers to your performance during a specific study
session. It likely reflects how well you grasped the
material you covered in that session. +

+
+
+
+ +
+
+ +
+
+ + +

Cumulative Efficiency

+
+
+ +
+ +

This refers to your overall performance across multiple
study sessions. It provides a broader picture of how well
you're retaining information and progressing towards
your learning goals. +

+
+
+
+ +
+ + + {/* Display for mobile */} + {/*
{ isInView={isInView} text='Zoom into tracker' /> */} -
- ); -}; -export default Tracker; + ////
+// ); +// }; */} + + + + ) + } +export default Tracker diff --git a/src/helpers/constants/index.ts b/src/helpers/constants/index.ts index b34c1ad..774445a 100644 --- a/src/helpers/constants/index.ts +++ b/src/helpers/constants/index.ts @@ -16,6 +16,7 @@ import DiscussProblem from "@/components/Icons/Mentor/DiscussProblem"; import PersonalizedGuidance from "@/components/Icons/Mentor/PersonalizedGuidance"; import ValuableInsights from "@/components/Icons/Mentor/ValuableInsights"; + export const PlannerPoints: Points[] = [ { icon: DailyTask, label: "Daily task accomplishment." }, { icon: DailyEvaluation, label: "Daily evaluation." },