hero
This commit is contained in:
parent
74094f8e6a
commit
8ebfe5d05f
1 changed files with 1 additions and 7 deletions
|
|
@ -5,8 +5,6 @@ import React from 'react'
|
|||
import type { Header as HeaderType } from '@/payload-types'
|
||||
|
||||
import { CMSLink } from '@/components/Link'
|
||||
import Link from 'next/link'
|
||||
import { SearchIcon } from 'lucide-react'
|
||||
|
||||
export const HeaderNav: React.FC<{ data: HeaderType }> = ({ data }) => {
|
||||
const navItems = data?.navItems || []
|
||||
|
|
@ -16,10 +14,6 @@ export const HeaderNav: React.FC<{ data: HeaderType }> = ({ data }) => {
|
|||
{navItems.map(({ link }, i) => {
|
||||
return <CMSLink key={i} {...link} appearance="link" />
|
||||
})}
|
||||
<Link href="/search">
|
||||
<span className="sr-only">Search</span>
|
||||
<SearchIcon className="w-5 text-primary" />
|
||||
</Link>
|
||||
</nav>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue