Skip to content

Commit

Permalink
Updated separators
Browse files Browse the repository at this point in the history
  • Loading branch information
khankamolk committed Dec 7, 2024
1 parent 2aa2a59 commit 93692ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
12 changes: 0 additions & 12 deletions src/app/Onboarding/Onboarding.tsx

This file was deleted.

12 changes: 8 additions & 4 deletions src/components/SidePanel/SidePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export default function SidePanel({ name, majors, minors, totalUnits, transferUn
const MajorRequirements = (
<div>
{majors.map((major, index) => (
<>
<div className="sidepanel-container accordion">
<div className="sidepanel-header-container">
<div className="user-header">
Expand All @@ -80,14 +81,17 @@ export default function SidePanel({ name, majors, minors, totalUnits, transferUn
</div>
</div>
</div>
<Separator size="4" />
</>
))}
</div>
)

const MinorRequirements = (
<div>
{minors.map((minor, index) => (
<div className="sidepanel-container accordion">
<>
<div className="sidepanel-container accordion">
<div className="sidepanel-header-container">
<div className="user-header">
<h2 className="truncate" key={index}>{minor}</h2>
Expand All @@ -108,6 +112,8 @@ export default function SidePanel({ name, majors, minors, totalUnits, transferUn
</div>
</div>
</div>
<Separator size="4" />
</>
))}
</div>
)
Expand All @@ -117,9 +123,7 @@ export default function SidePanel({ name, majors, minors, totalUnits, transferUn
{UserInfo}
<Separator size="4" />
{MajorRequirements}
<Separator size="4" />
{MinorRequirements}
<Separator size="4" />
{MinorRequirements}
<RequirementsAccordion title={"University of California"}/>
<Separator size="4" />
<RequirementsAccordion title={"Breadth Requirements"}/>
Expand Down

0 comments on commit 93692ff

Please sign in to comment.