not-found.tsx 952 B

123456789101112131415161718192021222324252627282930
  1. import Link from "next/link";
  2. import { buttonVariants } from "@/components/ui/button";
  3. import { cn } from "@/lib/utils";
  4. export default function NotFound() {
  5. return (
  6. <div className="flex min-h-[60vh] flex-col items-center justify-center text-center">
  7. <p className="text-sm font-medium text-accent-hover">404</p>
  8. <h1 className="mt-2 text-2xl font-semibold tracking-tight">
  9. Page not found
  10. </h1>
  11. <p className="mt-2 max-w-md text-sm text-muted-foreground">
  12. This page isn&apos;t on krypco — it may have moved, or never made it
  13. past the private layer.
  14. </p>
  15. <div className="mt-6 flex flex-wrap justify-center gap-3">
  16. <Link href="/" className={cn(buttonVariants())}>
  17. Home
  18. </Link>
  19. <Link
  20. href="/portal"
  21. className={cn(buttonVariants({ variant: "outline" }))}
  22. >
  23. Open portal
  24. </Link>
  25. </div>
  26. </div>
  27. );
  28. }