Skip to content

Commit 2a0f602

Browse files
study planner
1 parent c8a7ff1 commit 2a0f602

File tree

2 files changed

+25
-27
lines changed

2 files changed

+25
-27
lines changed

client/src/components/Dashboard.jsx

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const Dashboard = () => {
6161
<div className="w-screen">
6262
<Navbar />
6363
<div className="flex flex-col items-center h-screen w-screen text-center bg-gradient-to-tr from-violet-700 via-green-600 to-green-400 mt-3">
64-
<div className="grid grid-cols-4 gap-4 py-12 h-12">
64+
{/* <div className="grid grid-cols-4 gap-4 py-12 h-12">
6565
<motion.div
6666
className="bg-slate-100 rounded-lg shadow-lg py-6 w-72"
6767
variants={containerVariants}
@@ -106,7 +106,7 @@ const Dashboard = () => {
106106
107107
108108
109-
</div>
109+
</div> */}
110110

111111
<div className="grid grid-cols-2 gap-16 py-16">
112112
<div className="grid grid-cols-2 gap-4">
@@ -118,10 +118,10 @@ const Dashboard = () => {
118118
>
119119
<h3 className="text-xl mb-4">Important Topics</h3>
120120
<pre>{impTopicContent}</pre>
121-
<p>Half adder</p>
122-
<p>Full adder</p>
123-
<p>Half Subtractor</p>
124-
<p>Full Subtractor</p>
121+
<p>NFA and DFA</p>
122+
<p>NFA to DFA conversion</p>
123+
<p>Minimisation</p>
124+
<p>Ardens Theorem</p>
125125
</motion.div>
126126

127127
<motion.div
@@ -133,6 +133,10 @@ const Dashboard = () => {
133133
>
134134
<h3 className="text-xl mb-4">Topic List</h3>
135135
<pre>{topicListContent}</pre>
136+
<p>Finite state systems</p>
137+
<p>Definitions</p>
138+
<p>Minimisation</p>
139+
<p>Moore and Mealy machinesm</p>
136140
</motion.div>
137141
</div>
138142

@@ -145,7 +149,7 @@ const Dashboard = () => {
145149
>
146150
<h3 className="text-lg font-semibold mb-4">Cluster Questions</h3>
147151
<iframe
148-
src="https://mrcet.com/downloads/digital_notes/CSE/II%20Year/DBMS.pdf"
152+
src="http://www.gpcet.ac.in/wp-content/uploads/2017/04/flat-10.pdf"
149153
className="w-full h-full"
150154
title="PDF Viewer"
151155
/>

client/src/components/Studyplanner.jsx

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,62 +6,56 @@ const StudyPlanner = () => {
66
{
77
day: 1,
88
subjects: [
9-
{ time: "10:00 AM", subject: "Math" },
10-
{ time: "11:00 AM", subject: "Physics" },
9+
{ time: "10:00 AM", subject: "NFA and DFA" },
10+
{ time: "11:00 AM", subject: "Definition" },
1111
],
1212
},
1313
{
1414
day: 2,
1515
subjects: [
16-
{ time: "12:00 PM", subject: "English" },
17-
{ time: "1:00 PM", subject: "Chemistry" },
16+
{ time: "12:00 PM", subject: "Equivalence" },
17+
{ time: "1:00 PM", subject: "Epsilon transitions" },
1818
],
1919
},
2020
{
2121
day: 3,
2222
subjects: [
23-
{ time: "3:00 PM", subject: "History" },
24-
{ time: "4:00 PM", subject: "Geography" },
23+
{ time: "3:00 PM", subject: "Regular Expressions" },
24+
{ time: "4:00 PM", subject: "Arden’s Theorem" },
2525
],
2626
},
2727
{
2828
day: 4,
2929
subjects: [
30-
{ time: "5:00 PM", subject: "Biology" },
31-
{ time: "6:00 PM", subject: "Computer Science" },
30+
{ time: "5:00 PM", subject: "Applications" },
31+
{ time: "6:00 PM", subject: "Regular grammars" },
3232
],
3333
},
3434
{
3535
day: 5,
3636
subjects: [
37-
{ time: "7:00 PM", subject: "Economics" },
38-
{ time: "8:00 PM", subject: "Business Studies" },
39-
],
40-
},
41-
{
42-
day: 6,
43-
subjects: [
44-
{ time: "9:00 PM", subject: "Accountancy" },
45-
{ time: "10:00 PM", subject: "Political Science" },
37+
{ time: "7:00 PM", subject: "Context Free grammars" },
38+
{ time: "8:00 PM", subject: "Pumping lemma" },
4639
],
4740
},
41+
4842
];
4943

5044
return (
5145
<div className="w-screen">
5246
<Navbar />
5347
<div className="flex flex-col items-center h-screen w-screen text-center bg-gradient-to-tr from-violet-700 via-green-600 to-green-400 mt-3">
5448
<h1 className="text-3xl text-white font-bold mb-4 mt-4">Study Planner</h1>
55-
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 px-6">
49+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 px-24">
5650
{studySchedule.map((slot) => (
5751
<div
5852
key={slot.day}
59-
className="bg-white rounded-lg shadow-md p-4 flex flex-col"
53+
className="bg-white rounded-lg shadow-md p-8 flex flex-col"
6054
>
6155
<p className="text-lg font-semibold mb-2">Day {slot.day}</p>
6256
{slot.subjects.map((subject, index) => (
6357
<div key={index} className="flex items-center justify-between mb-2">
64-
<p className="text-base md:text-lg font-semibold">{subject.time}</p>
58+
6559
<p className="text-gray-500 text-sm md:text-base">{subject.subject}</p>
6660
</div>
6761
))}

0 commit comments

Comments
 (0)