diff --git a/apps/web/components/BlogAppbar.tsx b/apps/web/components/BlogAppbar.tsx index defaa0d2..12451d35 100644 --- a/apps/web/components/BlogAppbar.tsx +++ b/apps/web/components/BlogAppbar.tsx @@ -93,7 +93,7 @@ export const BlogAppbar = ({ transition={{ duration: 0.3 }} className={`${visible ? "translate-y-0" : "-translate-y-full"} px-6`} > - + {track?.problems?.map((problem: { id: string; title: string }, index: number) => { const isDisabled = currentTrack === `${track.id}/${problem.id}`; return ( @@ -175,7 +175,7 @@ export const BlogAppbar = ({ {/* menu */}
setIsOpen(!isOpen)} - className="text-primary border-primary/10 flex cursor-pointer items-center gap-4 rounded-lg border bg-black/10 p-3 backdrop-blur-lg" + className="text-primary border-primary/10 flex cursor-pointer items-center gap-4 rounded-lg border bg-[#e5e5e5]/95 dark:bg-black/95 p-3 backdrop-blur-lg" > {isOpen ? : }
@@ -187,7 +187,7 @@ export const BlogAppbar = ({ className="flex justify-between gap-2" >
diff --git a/apps/web/components/PageToggle.tsx b/apps/web/components/PageToggle.tsx index 4167a9f3..a95b93da 100644 --- a/apps/web/components/PageToggle.tsx +++ b/apps/web/components/PageToggle.tsx @@ -27,10 +27,9 @@ export function PageToggle({ diff --git a/apps/web/components/TrackTools.tsx b/apps/web/components/TrackTools.tsx index 078271bb..025c982c 100644 --- a/apps/web/components/TrackTools.tsx +++ b/apps/web/components/TrackTools.tsx @@ -2,7 +2,7 @@ import { Track, Problem } from "@prisma/client"; import { PageToggle } from "./PageToggle"; import Link from "next/link"; import { Button } from "@repo/ui"; -import { ArrowUp, ChevronLeft, ChevronRight } from "lucide-react"; +import { ArrowUp, ChevronLeft, ChevronRight,HomeIcon } from "lucide-react"; import { motion } from "framer-motion"; const TrackTools = ({ @@ -22,12 +22,13 @@ const TrackTools = ({ initial={{ y: 20, opacity: 0 }} animate={{ y: 0, opacity: 1 }} transition={{ duration: 0.5, ease: "easeInOut", type: "spring", damping: 10 }} - className="flex w-full items-center justify-between gap-2 p-6" - > -
- - @@ -39,10 +40,9 @@ const TrackTools = ({ - Next + Next - {/* To Top */} -
diff --git a/packages/ui/src/shad/ui/switch.tsx b/packages/ui/src/shad/ui/switch.tsx index d7be702d..ac42f007 100644 --- a/packages/ui/src/shad/ui/switch.tsx +++ b/packages/ui/src/shad/ui/switch.tsx @@ -11,7 +11,7 @@ const Switch = React.forwardRef< >(({ className, ...props }, ref) => (