Refactor still working on UI changes

This commit is contained in:
2026-07-22 14:58:59 -07:00
parent 7568d0dba4
commit 9fbf22bc32
4 changed files with 43 additions and 24 deletions
+3 -3
View File
@@ -40,15 +40,15 @@ export default function Sidebar() {
to="/home"
color="color"
variant="plain"
textStyle={isOpen ? "5xl" : "4xl"} // Scale down slightly when closed
fontWeight="bold"
height="auto" // Prevents the large text from squashing vertically
overflow="hidden"
px={0}
justifyContent={isOpen ? "flex-start" : "center"} // Center the 'V' when collapsed
justifyContent={isOpen ? "center" : "center"} // Center the 'V' when collapsed
ml={isOpen ? 3 : 0} // Align with other buttons when open
textStyle={isOpen ? "4xl" : "3xl"} // Scale down slightly when closed
>
{isOpen ? "VDAP" : "V"}
{isOpen ? "🌋 VDAP" : "🌋"}
</Button>
{/* Menu Trigger */}