diff --git a/notes-aid/src/app/[year]/[branch]/[semester]/page.tsx b/notes-aid/src/app/[year]/[branch]/[semester]/page.tsx index 7a7b236..d0026a2 100644 --- a/notes-aid/src/app/[year]/[branch]/[semester]/page.tsx +++ b/notes-aid/src/app/[year]/[branch]/[semester]/page.tsx @@ -165,7 +165,7 @@ const EngineeringCurriculum: React.FC = () => { return (
-
+

Engineering Curriculum of {branch.toUpperCase()} /{" "} @@ -195,10 +195,10 @@ const EngineeringCurriculum: React.FC = () => { firstModuleKey ? parseInt(firstModuleKey) : 1 ) }} - className={`p-4 rounded-4xl cursor-pointer transition-all flex-1 max-w-[120px] sm:max-w-[150px] md:max-w-none text-center + className={`p-4 hover:bg-base-300 rounded-4xl border-dashed cursor-pointer border border-neutral-800 rounded-[0.75rem] transition-all flex-1 max-w-[120px] sm:max-w-[150px] md:max-w-none text-center ${ selectedSubject === key - ? "bg-neutral text-neutral-content border-white shadow-xl" + ? "bg-base-300 text-base-content shadow-xl" : "bg-base-200 text-base-content border-gray-200 shadow-sm" } `} @@ -207,14 +207,14 @@ const EngineeringCurriculum: React.FC = () => {

@@ -236,7 +236,7 @@ const EngineeringCurriculum: React.FC = () => {

-
+

Important Links

@@ -249,7 +249,7 @@ const EngineeringCurriculum: React.FC = () => { {pyq.title} @@ -287,18 +287,18 @@ const EngineeringCurriculum: React.FC = () => {
-
+

{subjects[selectedSubject].name} - Module {selectedModule || 1}

-

+

These videos only serve as explanations for the college notes, so please refer to the notes to study.

diff --git a/notes-aid/src/app/globals.css b/notes-aid/src/app/globals.css index 25ad212..70ea99d 100644 --- a/notes-aid/src/app/globals.css +++ b/notes-aid/src/app/globals.css @@ -4,11 +4,42 @@ layer(base); @plugin "daisyui" { themes: all; } - @custom-variant dark (&:is(.dark *)); - - +@plugin "daisyui/theme" { + name: "ShadCN"; + default: false; + prefersdark: false; + color-scheme: "dark"; + --color-base-100: oklch(5% 0 0); + --color-base-200: oklch(0% 0 0); + --color-base-300: #27272a; + --color-base-content: oklch(100% 0 0); + --color-primary: oklch(100% 0 0); + --color-primary-content: oklch(0% 0 0); + --color-secondary: oklch(100% 0 0); + --color-secondary-content: oklch(0% 0 0); + --color-accent: oklch(100% 0 0); + --color-accent-content: oklch(0% 0 0); + --color-neutral: oklch(20% 0 0); + --color-neutral-content: oklch(100% 0 0); + --color-info: oklch(100% 0 0); + --color-info-content: oklch(0% 0 0); + --color-success: #24db6f; + --color-success-content: oklch(84% 0.238 128.85); + --color-warning: oklch(28% 0.066 53.813); + --color-warning-content: oklch(85% 0.199 91.936); + --color-error: oklch(25% 0.092 26.042); + --color-error-content: oklch(70% 0.191 22.216); + --radius-selector: 1rem; + --radius-field: 0.25rem; + --radius-box: 0.25rem; + --size-selector: 0.25rem; + --size-field: 0.21875rem; + --border: 0.5px; + --depth: 0; + --noise: 0; + } .text-gray { color: #C2C0B6; } diff --git a/notes-aid/src/components/ModuleCard.tsx b/notes-aid/src/components/ModuleCard.tsx index 1735597..7b74849 100644 --- a/notes-aid/src/components/ModuleCard.tsx +++ b/notes-aid/src/components/ModuleCard.tsx @@ -14,7 +14,7 @@ interface ModuleCardProps { const ModuleCard: React.FC = ({ module, - topics, + topics, isActive, onClick, numberOfVideos, @@ -52,21 +52,25 @@ const ModuleCard: React.FC = ({
-
+

diff --git a/notes-aid/src/components/Navbar.tsx b/notes-aid/src/components/Navbar.tsx index c2a8bc4..f0fee92 100644 --- a/notes-aid/src/components/Navbar.tsx +++ b/notes-aid/src/components/Navbar.tsx @@ -287,8 +287,12 @@ const Navbar = () => { return null; } + const handleBestCalc = () => { + window.location.href = "https://redisitic.xyz"; + }; + return ( -

diff --git a/notes-aid/src/components/ProgressBar.tsx b/notes-aid/src/components/ProgressBar.tsx index 3026f44..a4ea229 100644 --- a/notes-aid/src/components/ProgressBar.tsx +++ b/notes-aid/src/components/ProgressBar.tsx @@ -9,9 +9,9 @@ export default function ProgressBar({ total, completed }: ProgressBarProps) { const percentage = total > 0 ? (completed / total) * 100 : 0; return ( -
+
diff --git a/notes-aid/src/components/ThemeChanger.tsx b/notes-aid/src/components/ThemeChanger.tsx index 97a5fd6..6a8c488 100644 --- a/notes-aid/src/components/ThemeChanger.tsx +++ b/notes-aid/src/components/ThemeChanger.tsx @@ -5,6 +5,7 @@ const ThemeSwitcher = () => { const themes = [ "light", "dark", + "ShadCN", "cupcake", "bumblebee", "emerald", diff --git a/notes-aid/src/components/TopicList.tsx b/notes-aid/src/components/TopicList.tsx index 1647ab2..dac0d29 100644 --- a/notes-aid/src/components/TopicList.tsx +++ b/notes-aid/src/components/TopicList.tsx @@ -74,7 +74,7 @@ const TopicList: React.FC = ({ Study Materials for Module {moduleNumber} )} -
+
{notesLink.map((note: NotesLink, noteIndex: number) => ( = ({ href={note.url} target="_blank" rel="noopener noreferrer" - className="btn inline-flex items-center gap-2 px-4 py-2 bg-neutral text-neutral-content border-1 border-primary" + className="btn rounded-selector inline-flex items-center gap-2 px-4 py-5 duration-300 hover:duration-300 bg-base-300 text-base-content outline-dashed outline-0 hover:outline-2 outline-base-300" > {note.title} @@ -130,16 +130,23 @@ const TopicList: React.FC = ({ return (
+ key={index} + className={`rounded-lg overflow-hidden ${ + openTopicIndex === index + ? "border border-t-0 border-4 border-solid border-base-300" + : "" + } bg-base-100`} + > +
toggleTopic(index)} - className="p-3 cursor-pointer bg-base-300 transition-colors" + className={`p-3 cursor-pointer hover:bg-base-300 transition-colors ${ + openTopicIndex === index ? "bg-base-300" : "bg-base-100" + }`} >
@@ -170,8 +177,8 @@ const TopicList: React.FC = ({ >
{topic.videos && topic.videos.length > 0 ? ( -
-
+
+
Lecture Videos
-
+