mirror of
https://github.com/cupcakearmy/nicco.io.git
synced 2026-07-27 01:36:08 +00:00
add search
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
---
|
||||
import SearchIcon from '~icons/ion/search-outline'
|
||||
const { pathname } = Astro.url
|
||||
|
||||
const routes = [
|
||||
@@ -14,11 +15,11 @@ const routes = [
|
||||
<h1 class:list={{ active: pathname === '/' }}>NB</h1>
|
||||
</a>
|
||||
<ul>
|
||||
<!-- <li>
|
||||
<li>
|
||||
<a href="/search">
|
||||
<Icon icon="search-outline" />
|
||||
<SearchIcon />
|
||||
</a>
|
||||
</li> -->
|
||||
</li>
|
||||
{
|
||||
routes.map(({ href, name }) => (
|
||||
<li>
|
||||
|
||||
Reference in New Issue
Block a user