summaryrefslogtreecommitdiff
path: root/app/root.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/root.tsx')
-rw-r--r--app/root.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/root.tsx b/app/root.tsx
index 6c60350..f422f52 100644
--- a/app/root.tsx
+++ b/app/root.tsx
@@ -1,4 +1,5 @@
import {
+ Form,
isRouteErrorResponse,
Link,
Links,
@@ -55,6 +56,9 @@ export default function App() {
<Link to="/" className="nav-brand">whois.band</Link>
<Link to="/bands">Bands</Link>
<Link to="/artists">Artists</Link>
+ <Form method="get" action="/search" className="nav-search">
+ <input type="search" name="q" placeholder="検索" />
+ </Form>
</nav>
<Outlet />
</>