Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sweepstake
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Arjun Jhukal
sweepstake
Commits
9733c9c7
Commit
9733c9c7
authored
Nov 01, 2025
by
Arjun Jhukal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated the menu clip
parent
c7f4dc4f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
19 deletions
+29
-19
index.tsx
src/components/organism/Sidebar/AdminSidebar/index.tsx
+1
-1
index.tsx
src/components/organism/Sidebar/UserSidebar/index.tsx
+19
-18
palette.ts
src/theme/palette.ts
+9
-0
No files found.
src/components/organism/Sidebar/AdminSidebar/index.tsx
View file @
9733c9c7
...
...
@@ -160,7 +160,7 @@ export default function AdminMenu({ open }: { open: boolean }) {
>
<
Link
href=
{
href
}
className=
{
`flex gap-2 items-
center
px-4 py-2 ${open ? "expanded" : "collapsed"
className=
{
`flex gap-2 items-
start
px-4 py-2 ${open ? "expanded" : "collapsed"
} ${active ? "active__menu" : ""}`
}
>
<
ListItemIcon
className=
{
open
?
"expanded"
:
"collapsed"
}
>
...
...
src/components/organism/Sidebar/UserSidebar/index.tsx
View file @
9733c9c7
...
...
@@ -79,25 +79,26 @@ export default function UserMenu({ open }: { open: boolean }) {
return
(
<>
{
/* Buy Coins & Withdraw */
}
{
open
&&
(
<
Private
>
<
div
className=
"flex justify-between items-center gap-1 mb-6"
>
<
Link
href=
"/buy-coins"
className=
"ss-btn bg-primary-grad flex items-center gap-2 text-[12px]"
>
<
Coin
size=
{
24
}
/>
Buy Coins
</
Link
>
<
Link
href=
"/withdrawl"
className=
"ss-btn bg-secondary-grad flex items-center gap-2 text-[12px]"
>
<
CardPos
size=
{
24
}
/>
Withdraw
</
Link
>
</
div
>
</
Private
>
)
}
<
Box
sx=
{
{
maxHeight
:
"calc(100vh -
2
10px)"
,
maxHeight
:
"calc(100vh -
3
10px)"
,
overflowY
:
"auto"
,
}
}
className=
{
` ${open ? "px-3" : ""}`
}
>
{
/* Buy Coins & Withdraw */
}
{
open
&&
(
<
Private
>
<
div
className=
"flex justify-between items-center gap-1 mb-6"
>
<
Link
href=
"/buy-coins"
className=
"ss-btn bg-primary-grad flex items-center gap-2 text-[12px]"
>
<
Coin
size=
{
24
}
/>
Buy Coins
</
Link
>
<
Link
href=
"/withdrawl"
className=
"ss-btn bg-secondary-grad flex items-center gap-2 text-[12px]"
>
<
CardPos
size=
{
24
}
/>
Withdraw
</
Link
>
</
div
>
</
Private
>
)
}
<
div
className=
"flex flex-col gap-16 lg:gap-28"
>
<
List
...
...
@@ -146,7 +147,7 @@ export default function UserMenu({ open }: { open: boolean }) {
>
<
Link
href=
{
menu
.
path
}
className=
{
`flex gap-2 items-
center
px-4 py-2 transition-all rounded-[38px] ${[open ? "expanded" : "collapsed", isActive ? "active__menu" : ""].join(" ")
className=
{
`flex gap-2 items-
start
px-4 py-2 transition-all rounded-[38px] ${[open ? "expanded" : "collapsed", isActive ? "active__menu" : ""].join(" ")
}`
}
>
<
ListItemIcon
>
{
menu
.
icon
}
</
ListItemIcon
>
...
...
@@ -169,7 +170,7 @@ export default function UserMenu({ open }: { open: boolean }) {
</
Box
>
{
/* 💬 Support Section */
}
<
div
className=
{
`support mt-4 ${open ? "px-3" : ""}`
}
>
<
div
className=
{
`support mt-4 ${open ? "px-3" : ""}`
}
>
<
Link
href=
{
"/support"
}
className=
"ss-btn support__btn flex items-center gap-2 w-full justify-start"
...
...
src/theme/palette.ts
View file @
9733c9c7
...
...
@@ -472,8 +472,17 @@ export default function Palette(mode: ThemeMode) {
"&.collapsed"
:
{
opacity
:
0
},
"&.expanded"
:
{
opacity
:
1
},
},
primary
:
{
whiteSpace
:
'normal'
,
wordBreak
:
'break-word'
,
},
secondary
:
{
whiteSpace
:
'normal'
,
wordBreak
:
'break-word'
,
},
},
},
},
});
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment