Skip to content

Commit 16b70a7

Browse files
Merge pull request #761 from MustafaK4/dev
updated MyPlans UI to add MyPlans red tab
2 parents 63d19ba + 80c65b6 commit 16b70a7

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

frontend/src/app/plans/page.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,15 @@ export default function MyPlans() {
4444
<div className="min-h-screen">
4545
<Navbar />
4646

47+
<div className="z-1 mb-0 ml-[10%] mr-auto mt-20 flex h-[10vh] w-1/5 overflow-y-auto rounded-t-lg border-l-2 border-r-2 border-t-2 border-black bg-red-700">
48+
<h1 className="mb-auto ml-auto mr-auto mt-auto text-3xl font-bold text-white">
49+
My Plans
50+
</h1>
51+
</div>
52+
4753
{savedPlans.length === 0 && (
4854
// if savedPlans array is empty: direct user to the schedule builder
49-
<div className="z-1 mb-10 ml-auto mr-auto mt-20 flex h-[85vh] w-4/5 flex-col flex-nowrap items-center overflow-y-auto rounded-xl border-2 border-black bg-barely-pink">
55+
<div className="z-1 mb-10 ml-auto mr-auto mt-0 flex h-[85vh] w-4/5 flex-col flex-nowrap items-center overflow-y-auto rounded-xl rounded-tl-none border-2 border-black bg-barely-pink">
5056
<div className="m-auto flex flex-col items-center justify-center">
5157
<h1 className="text-3xl font-bold">
5258
You don&apos;t have any saved plans yet.{" "}
@@ -60,7 +66,7 @@ export default function MyPlans() {
6066
</div>
6167
)}
6268

63-
<div className="z-1 mb-10 ml-auto mr-auto mt-20 flex h-[85vh] w-4/5 flex-col flex-nowrap items-center gap-6 overflow-y-auto rounded-xl border-2 border-black bg-barely-pink py-10">
69+
<div className="z-1 mb-10 ml-auto mr-auto mt-0 flex h-[85vh] w-4/5 flex-col flex-nowrap items-center gap-6 overflow-y-auto rounded-xl rounded-tl-none border-2 border-black bg-barely-pink py-10">
6470
{savedPlans
6571
.toSorted((a, b) => (a.pinned !== b.pinned ? (a.pinned ? -1 : 1) : 0))
6672
.map((plan) => (

0 commit comments

Comments
 (0)