Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/routes/$.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { useTranslation } from "react-i18next"
import { useNavigate } from "react-router"
import { href, useNavigate } from "react-router"
import { Icon } from "~/library/icon/Icon"
import { Link } from "~/library/link"

export default function Route404() {
const navigate = useNavigate()
const { t } = useTranslation()

const to = href("/")
return (
<div className="min-h-screen bg-gradient-to-b from-gray-50 to-gray-100 dark:from-blue-950 dark:to-blue-900 dark:text-white flex items-center justify-center p-4">
<div className="max-w-2xl w-full text-center">
Expand All @@ -27,7 +27,7 @@ export default function Route404() {
{t("navigation.back")}
</button>
<Link
to="/"
to={to}
className="inline-flex cursor-pointer items-center justify-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 transition-colors duration-300"
>
{t("navigation.home")}
Expand Down
21 changes: 12 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dependencies": {
"@epic-web/client-hints": "1.3.5",
"@forge42/seo-tools": "1.3.0",
"@react-router/node": "7.1.5",
"@react-router/node": "7.2.0",
"clsx": "2.1.1",
"hono": "4.6.20",
"i18next": "24.2.2",
Expand All @@ -40,8 +40,8 @@
"react": "19.0.0",
"react-dom": "19.0.0",
"react-i18next": "15.4.0",
"react-router": "7.1.5",
"react-router-hono-server": "2.8.2",
"react-router": "7.2.0",
"react-router-hono-server": "2.10.0",
"remix-hono": "0.0.18",
"remix-i18next": "7.0.2",
"tailwind-merge": "3.0.1",
Expand All @@ -51,9 +51,9 @@
"@babel/preset-typescript": "7.26.0",
"@biomejs/biome": "1.9.4",
"@dotenvx/dotenvx": "1.34.0",
"@react-router/dev": "7.1.5",
"@react-router/fs-routes": "7.1.5",
"@tailwindcss/vite": "4.0.3",
"@react-router/dev": "7.2.0",
"@react-router/fs-routes": "7.2.0",
"@tailwindcss/vite": "4.0.9",
"@testing-library/react": "16.2.0",
"@types/node": "22.13.1",
"@types/prompt": "1.1.9",
Expand All @@ -70,10 +70,10 @@
"playwright": "1.50.1",
"prompt": "1.3.0",
"react-router-devtools": "1.1.5",
"tailwindcss": "4.0.3",
"tailwindcss": "4.0.9",
"tsx": "4.19.2",
"typescript": "5.7.3",
"vite": "6.0.11",
"vite": "6.2.0",
"vite-plugin-babel": "1.3.0",
"vite-plugin-icons-spritesheet": "3.0.1",
"vite-tsconfig-paths": "5.1.4",
Expand All @@ -86,6 +86,9 @@
},
"engines": {
"node": ">=22.11.0",
"pnpm": ">=9.14.2"
"pnpm": ">=10.2.0"
},
"pnpm": {
"onlyBuiltDependencies": ["@biomejs/biome", "esbuild", "lefthook", "msw"]
}
}
Loading
Loading