diff --git a/dashboard/15-final/app/ui/dashboard-topnav.tsx b/dashboard/15-final/app/ui/dashboard-topnav.tsx
index 2da596e..3ad1349 100644
--- a/dashboard/15-final/app/ui/dashboard-topnav.tsx
+++ b/dashboard/15-final/app/ui/dashboard-topnav.tsx
@@ -1,3 +1,9 @@
+import Search from "./search";
+
export default function TopNav() {
- return
Search
;
+ return (
+
+
+
+ )
}
diff --git a/dashboard/15-final/app/ui/search.tsx b/dashboard/15-final/app/ui/search.tsx
new file mode 100644
index 0000000..6aaee02
--- /dev/null
+++ b/dashboard/15-final/app/ui/search.tsx
@@ -0,0 +1,28 @@
+import {
+ MagnifyingGlassIcon
+} from "@heroicons/react/24/outline";
+
+export default function Search() {
+ async function submitForm(formData: FormData) {
+ 'use server'
+ // TODO: Implement search
+ // console.log(formData)
+ }
+ return (
+
+
+
+
+ )
+}
\ No newline at end of file
diff --git a/dashboard/15-final/next.config.js b/dashboard/15-final/next.config.js
index 767719f..950e2f4 100644
--- a/dashboard/15-final/next.config.js
+++ b/dashboard/15-final/next.config.js
@@ -1,4 +1,8 @@
/** @type {import('next').NextConfig} */
-const nextConfig = {}
+const nextConfig = {
+ experimental: {
+ serverActions: true,
+ },
+}
module.exports = nextConfig