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

fix: alteração no redirect do botao entrar no header #12

Merged
merged 2 commits into from
Apr 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/header/HeaderLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function HeaderLayout(
<div class="absolute hidden hover:flex group-hover:flex bg-secondary text-[#FFFFFF] top-[40px] shadow whitespace-nowrap p-[24px] flex-col z-10 gap-[6px] rounded-[10px]">
<a href="/my-account">Minha conta</a>
<a href="/my-account/orders">Meus pedidos</a>
<a href="/my-account/orders">Meus favoritos</a>
{/* <a href="/my-account/orders">Meus favoritos</a> */}
<div class="h-[1px] bg-secondary-content w-[160px] my-[14px]" />
{user.value
? (
Expand All @@ -69,7 +69,7 @@ function HeaderLayout(
)
: (
<>
<a href="/my-account/login">Entrar</a>
<a href="/my-account">Entrar</a>
</>
)}
</div>
Expand Down
Loading