Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sidebar UI changes #133

Merged
merged 1 commit into from Oct 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 3 additions & 12 deletions components/Sidebar/Sidebar.jsx
Expand Up @@ -29,19 +29,10 @@ const Sidebar = () => {
className='z-50 fixed w-72 h-full sidebar pl-4 pb-10 pt-2 swatch_bg-brown overflow-auto'
onClick={(event) => event.stopPropagation()}
>
<Cross onClick={() => setActiveMenu(false)} />

<div className="flex justify-between items-center gap-3 ml-3 md:pt-0 pt-3 text-xl font-extrabold tracking-tight text-slate-900">
<Link href="/">
<span className="text-2x text-gray-100 cursor-pointer">Groovy</span>
<div className='flex justify-between items-center gap-3 ml-3 md:pt-0 pt-3 text-xl font-extrabold tracking-tight text-slate-900'>
<Link href='/'>
<span className='text-2x text-gray-100 cursor-pointer'>Groovy</span>
</Link>
<IconButton
type='button'
onClick={() => setActiveMenu((prev) => !prev)}
className='text-xl rounded-full px-3 block md:hidden'
>
<CancelIcon className='text-gray-100' />
</IconButton>
</div>

<div className='lg:hidden flex items-center p-3 gap-2 border-[1px] border-gray-500 rounded-md swatch_bg-brown my-3'>
Expand Down