diff --git a/app/panel/activity/page.tsx b/app/panel/activity/page.tsx
new file mode 100644
index 0000000..567634e
--- /dev/null
+++ b/app/panel/activity/page.tsx
@@ -0,0 +1,3 @@
+export default function Trends() {
+ return
;
+}
diff --git a/app/panel/audit/page.tsx b/app/panel/audit/page.tsx
new file mode 100644
index 0000000..2be5b43
--- /dev/null
+++ b/app/panel/audit/page.tsx
@@ -0,0 +1,7 @@
+export default function AuditLog() {
+ return (
+
+ chronological event log for all actions
+
+ );
+}
diff --git a/app/panel/discover/page.tsx b/app/panel/discover/page.tsx
new file mode 100644
index 0000000..b53ba30
--- /dev/null
+++ b/app/panel/discover/page.tsx
@@ -0,0 +1,7 @@
+export default function Discover() {
+ return (
+
+ list discover submissions with accept / deny
+
+ );
+}
diff --git a/app/panel/grafana/page.tsx b/app/panel/grafana/page.tsx
deleted file mode 100644
index 4b96f46..0000000
--- a/app/panel/grafana/page.tsx
+++ /dev/null
@@ -1,5 +0,0 @@
-export default function Grafana() {
- return (
-
- );
-}
diff --git a/app/panel/search/page.tsx b/app/panel/search/page.tsx
new file mode 100644
index 0000000..f4b9ee2
--- /dev/null
+++ b/app/panel/search/page.tsx
@@ -0,0 +1,7 @@
+export default function Search() {
+ return (
+
+ Find user by username, find account by email, find bot by token
+
+ );
+}
diff --git a/components/common/NavigationLinks.tsx b/components/common/NavigationLinks.tsx
index 32d871d..437011c 100644
--- a/components/common/NavigationLinks.tsx
+++ b/components/common/NavigationLinks.tsx
@@ -50,13 +50,13 @@ export function NavigationLinks() {
>
-
-
+
{
+ createServer(async (req, res) => {
+ try {
+ // Be sure to pass `true` as the second argument to `url.parse`.
+ // This tells it to parse the query portion of the URL.
+ const parsedUrl = parse(req.url, true);
+ const { pathname, query } = parsedUrl;
+
+ if (pathname === "/a") {
+ await app.render(req, res, "/a", query);
+ } else if (pathname === "/b") {
+ await app.render(req, res, "/b", query);
+ } else {
+ await handle(req, res, parsedUrl);
+ }
+ } catch (err) {
+ console.error("Error occurred handling", req.url, err);
+ res.statusCode = 500;
+ res.end("internal server error");
+ }
+ })
+ .once("error", (err) => {
+ console.error(err);
+ process.exit(1);
+ })
+ .listen(port, () => {
+ console.log(`> Ready on http://${hostname}:${port}`);
+ });
+});