diff --git a/client/src/components/MobileMenu.jsx b/client/src/components/MobileMenu.jsx index 6ec96b18..d552458f 100644 --- a/client/src/components/MobileMenu.jsx +++ b/client/src/components/MobileMenu.jsx @@ -281,6 +281,24 @@ function MobileMenu({ isOpen, onClose, isLoggedIn, userdata }) { Questions + ` + px-3 py-2.5 rounded-xl text-base font-medium transition-all duration-300 flex items-center gap-2 group relative overflow-hidden + ${isActive + ? isDark + ? "bg-dark-bg-tertiary text-primary shadow-lg" + : "bg-light-bg-tertiary text-primary shadow-md" + : isDark + ? "text-dark-text-primary hover:bg-dark-bg-tertiary/70" + : "text-light-text-primary hover:bg-light-bg-tertiary/70" + } + `} + > + + Flashcards + {/* Panel */} -
+

{title}

@@ -226,7 +226,7 @@ export default function Flashcards() { setCurrentIndex(0); setFlipped(false); }} - className="block w-full text-left px-4 py-2 hover:bg-purple-100 dark:hover:bg-gray-800" + className="block w-full text-left px-4 py-2 hover:bg-primary-100 dark:hover:bg-gray-800" > {t} @@ -241,7 +241,7 @@ export default function Flashcards() {
@@ -256,7 +256,7 @@ export default function Flashcards() {
@@ -293,7 +293,7 @@ export default function Flashcards() {

Definition

@@ -307,13 +307,13 @@ export default function Flashcards() {
@@ -334,9 +334,10 @@ export default function Flashcards() {
setForm({ ...form, term: e.target.value })} + placeholder="Enter Term here" required />
@@ -344,7 +345,7 @@ export default function Flashcards() {