Skip to content

Commit 92e139c

Browse files
style/feat(header): underline in wavy style and add FAQ in header
1 parent 4c52a86 commit 92e139c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/header.tsx

+6-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const links = [
1414
{ id: 2, label: 'Calendário', href: '/activitys' },
1515
{ id: 3, label: 'Código de conduta', href: '/conduct' },
1616
{ id: 4, label: 'Keynotes', href: '#' },
17-
{ id: 5, label: 'FAQ', href: '#' },
17+
{ id: 5, label: 'FAQ', href: '/#FAQList' },
1818
]
1919

2020
export function Header() {
@@ -58,8 +58,12 @@ export function Header() {
5858
key={link.id}
5959
className={cn(
6060
'cursor-pointer',
61-
pathname === link.href && 'underline',
61+
pathname === link.href &&
62+
'underline decoration-wavy underline-offset-[2px] ',
6263
)}
64+
style={{
65+
textDecorationSkipInk: 'none',
66+
}}
6367
href={link.href}
6468
>
6569
<li>{link.label}</li>

0 commit comments

Comments
 (0)