Skip to content
Snippets Groups Projects
Commit 2d8d604f authored by Guilherme Eduardo's avatar Guilherme Eduardo Committed by jsk22
Browse files

Issue #285: UPDATE main sidebar responsive

parent 6efd0df5
Branches
No related tags found
No related merge requests found
...@@ -150,7 +150,7 @@ export default function SideBar({ setFilterState, filterState }) { ...@@ -150,7 +150,7 @@ export default function SideBar({ setFilterState, filterState }) {
<NeedLoginModal open={needLoginOpen} setOpen={setNeedLoginOpen} /> <NeedLoginModal open={needLoginOpen} setOpen={setNeedLoginOpen} />
<div className="max-md:hidden min-h-0 overflow-y-auto flex flex-col text-darkGray-HC-white-underline font-light"> <div className="max-md:hidden min-h-0 overflow-y-auto flex flex-col text-darkGray-HC-white-underline font-light">
<div className="flex flex-col justify-start items-center gap-3 w-full mb-5"> <div className="flex flex-col justify-start items-center gap-2 w-full mb-5">
{acessoRapido {acessoRapido
.filter(item => isLoggedIn() || (item.title !== "Sair" && item.href !== "/perfil")) .filter(item => isLoggedIn() || (item.title !== "Sair" && item.href !== "/perfil"))
.map((item, index) => { .map((item, index) => {
...@@ -161,12 +161,13 @@ export default function SideBar({ setFilterState, filterState }) { ...@@ -161,12 +161,13 @@ export default function SideBar({ setFilterState, filterState }) {
key={index} key={index}
alt={item.title} alt={item.title}
title={item.title} title={item.title}
className={`aspect-square cursor-pointer hover:bg-lightGray-HC-white hover:text-darkGray-HC-dark-underline focus:bg-lightGray-HC-white text-center rounded-lg pt-2 w-[88px] className={`aspect-square cursor-pointer hover:bg-lightGray-HC-white hover:text-darkGray-HC-dark-underline focus:bg-lightGray-HC-white text-center rounded-lg pt-2 w-[60%] h-[70px]
${(page === item.href) || (pathname.startsWith(item.href)) ? "bg-lightGray-HC-white text-darkGray-HC-dark-underline font-bold" : ""} ${(page === item.href) || (pathname.startsWith(item.href)) ? "bg-lightGray-HC-white text-darkGray-HC-dark-underline font-bold" : ""}
`} `}
> >
<item.icon <item.icon
className={`text-3xl rounded-xl cursor-pointer ${page === item.href ? "text-darkGray-HC-dark-underline font-bold" : ""}`} className={`rounded-xl cursor-pointer ${page === item.href ? "text-darkGray-HC-dark-underline font-bold" : ""}`}
sx={{ fontSize: '1.6em' }}
/> />
<div className={`py-1 text-base ${page === item.href ? "text-darkGray-HC-dark-underline font-bold" : ""}`}> <div className={`py-1 text-base ${page === item.href ? "text-darkGray-HC-dark-underline font-bold" : ""}`}>
{item.title} {item.title}
......
...@@ -290,7 +290,7 @@ export default function UserCard({ profileData, idLogin, achievements, progresse ...@@ -290,7 +290,7 @@ export default function UserCard({ profileData, idLogin, achievements, progresse
alt="verificado" alt="verificado"
className='flex aspect-square mr-4 max-lg:mx-4 w-[28px] h-[28px] rounded-full' className='flex aspect-square mr-4 max-lg:mx-4 w-[28px] h-[28px] rounded-full'
/> />
<span>Verificado</span> <span>Usuário verificado</span>
</div> </div>
} }
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment