From 7bda8f95f3e64ca8e163a191206d2d2b960b3545 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 29 Jul 2026 23:19:27 +0200 Subject: [PATCH] feat: back-to-home links on login and 404 pages --- artifacts/toolrate/src/pages/login.tsx | 11 ++++++++-- artifacts/toolrate/src/pages/not-found.tsx | 25 +++++++++++++--------- 2 files changed, 24 insertions(+), 12 deletions(-) diff --git a/artifacts/toolrate/src/pages/login.tsx b/artifacts/toolrate/src/pages/login.tsx index 65cddba..dc65848 100644 --- a/artifacts/toolrate/src/pages/login.tsx +++ b/artifacts/toolrate/src/pages/login.tsx @@ -1,5 +1,5 @@ import { useState } from "react"; -import { useLocation, useSearch } from "wouter"; +import { useLocation, useSearch, Link } from "wouter"; import { useLocalLogin } from "@workspace/api-client-react"; import { useQueryClient } from "@tanstack/react-query"; import { Button } from "@/components/ui/button"; @@ -95,7 +95,14 @@ export default function Login() { - + + +
+ + ← Back to Home + +
+ ); diff --git a/artifacts/toolrate/src/pages/not-found.tsx b/artifacts/toolrate/src/pages/not-found.tsx index dba9f83..f993392 100644 --- a/artifacts/toolrate/src/pages/not-found.tsx +++ b/artifacts/toolrate/src/pages/not-found.tsx @@ -1,19 +1,24 @@ import { Card, CardContent } from "@/components/ui/card"; -import { AlertCircle } from "lucide-react"; +import { Button } from "@/components/ui/button"; +import { Wrench, ArrowLeft } from "lucide-react"; +import { Link } from "wouter"; export default function NotFound() { return ( -
+
- -
- -

404 Page Not Found

+ +
+ + ToolRate
- -

- Did you forget to add the page to the router? -

+

404

+

This page doesn't exist.

+ + +