Files
erettsegi-browser/src/app/not-found.tsx
T
x cf243d46f1 feat: update Next.js configuration and dependencies, add Docker support
- Set output mode to "standalone" in next.config.ts
- Update dependencies in package.json:
  - Upgrade @heroui/react to ^2.8.5
  - Upgrade framer-motion to ^12.23.25
  - Upgrade next to 16.0.7
  - Upgrade react and react-dom to 19.2.1
  - Upgrade undici to ^7.16.0
  - Upgrade devDependencies including @biomejs/biome, @tailwindcss/postcss, and typescript
- Modify error handling in API routes to simplify catch blocks
- Refactor NotFound component for cleaner JSX structure
- Update global CSS imports for consistency
- Change tsconfig to use "react-jsx" for JSX and include additional type definitions
- Add GitHub Actions workflow for Docker image build and push
- Create Dockerfile for multi-stage build process
- Add development and production Docker Compose configurations

ai commit message xd
2025-12-06 01:41:00 +01:00

25 lines
719 B
TypeScript

"use client";
import { Button } from "@heroui/button";
import { Footer } from "@/components/Footer";
import Link from "next/link";
export default function NotFound() {
return (
<main className="dark:bg-[#121212] text-foreground bg-background py-5">
<div className="flex min-h-screen flex-col items-center justify-center">
<h1 className="text-7xl font-bold text-blue-400">404</h1>
<div className="mt-5 mb-3 text-center">
<p className="text-2xl font-semibold text-gray-600">
Az keresett oldal nem található.
</p>
<Link href="/" className="mt-8 inline-block">
<Button color="primary">Vissza a főoldalra</Button>
</Link>
</div>
</div>
<Footer />
</main>
);
}