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
8e6f8872
Commit
8e6f8872
authored
Nov 03, 2025
by
Arjun Jhukal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated the minor change
parent
ba95022f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
index.tsx
src/components/organism/Sidebar/index.tsx
+6
-6
No files found.
src/components/organism/Sidebar/index.tsx
View file @
8e6f8872
...
@@ -129,9 +129,9 @@ export default function Sidebar({ open, handleDrawerOpen, handleMobileMenuToggle
...
@@ -129,9 +129,9 @@ export default function Sidebar({ open, handleDrawerOpen, handleMobileMenuToggle
return
<
div
className=
{
`mobile__menu__wrapper fixed left-0 top-0 bottom-0 max-h-screen backdrop-blur-2xl bg-[#290139CF] w-full z-[9999] transition-all duration-300 ${mobileMenuOpen ? "opacity-100 visible" : "opacity-0 invisible"}`
}
>
return
<
div
className=
{
`mobile__menu__wrapper fixed left-0 top-0 bottom-0 max-h-screen backdrop-blur-2xl bg-[#290139CF] w-full z-[9999] transition-all duration-300 ${mobileMenuOpen ? "opacity-100 visible" : "opacity-0 invisible"}`
}
>
<
div
className=
{
`mobile__primary__menu max-w-[600px] w-full h-screen transition-all duration-300 ${mobileMenuOpen ? "opacity-100 visible translate-x-0" : "opacity-0 invisible translate-x-[-100%]"} ${user?.role && user.role.toUpperCase() === 'ADMIN' ? "bg-white" : "bg-[#11011E]"}`
}
ref=
{
ref
}
>
<
div
className=
{
`mobile__primary__menu max-w-[600px] w-full h-screen transition-all duration-300 ${mobileMenuOpen ? "opacity-100 visible translate-x-0" : "opacity-0 invisible translate-x-[-100%]"} ${user?.role && user.role.toUpperCase() === 'ADMIN' ? "bg-white" : "bg-[#11011E]"}`
}
ref=
{
ref
}
>
<
div
className=
"flex justify-between items-center p-4 "
>
<
div
className=
"flex justify-between items-center p-4 "
>
<
Link
href=
"/"
>
{
data
?.
data
?.
logo
&&
<
Link
href=
"/"
>
<
Image
src=
{
data
?.
data
?.
logo
||
""
}
alt=
"Logo"
width=
{
102
}
height=
{
56
}
/>
<
Image
src=
{
data
?.
data
?.
logo
}
alt=
"Logo"
width=
{
102
}
height=
{
56
}
/>
</
Link
>
</
Link
>
}
<
IconButton
<
IconButton
color=
"inherit"
color=
"inherit"
aria
-
label=
"open drawer"
aria
-
label=
"open drawer"
...
@@ -163,9 +163,9 @@ export default function Sidebar({ open, handleDrawerOpen, handleMobileMenuToggle
...
@@ -163,9 +163,9 @@ export default function Sidebar({ open, handleDrawerOpen, handleMobileMenuToggle
<
Drawer
variant=
"permanent"
open=
{
open
}
downLG=
{
downLG
}
>
<
Drawer
variant=
"permanent"
open=
{
open
}
downLG=
{
downLG
}
>
<
DrawerHeader
sx=
{
{
justifyContent
:
"center"
,
marginTop
:
2
}
}
>
<
DrawerHeader
sx=
{
{
justifyContent
:
"center"
,
marginTop
:
2
}
}
>
{
/* <HambergerMenu /> */
}
{
/* <HambergerMenu /> */
}
<
Link
href=
"/"
>
{
data
?.
data
?.
logo
&&
<
Link
href=
"/"
>
<
Image
src=
{
data
?.
data
?.
logo
||
""
}
alt=
"Logo"
width=
{
102
}
height=
{
56
}
/>
<
Image
src=
{
data
?.
data
?.
logo
}
alt=
"Logo"
width=
{
102
}
height=
{
56
}
/>
</
Link
>
</
Link
>
}
</
DrawerHeader
>
</
DrawerHeader
>
<
Box
className=
{
`mt-8 menu__wrapper`
}
>
<
Box
className=
{
`mt-8 menu__wrapper`
}
>
...
...
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