Skip to content

The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.

1.1 KB
Raw Blame
/*
 * Copyright 2025 Daytona Platforms Inc.
 * Modified by BoxLite AI, 2025-2026
 * SPDX-License-Identifier: AGPL-3.0
 */

import React from 'react'
import { useNavigate } from 'react-router-dom'
import { Button } from '@/components/ui/button'
import { RoutePath } from '@/enums/RoutePath'
import { Home } from '@/components/ui/icon'
import { usePageTitle } from '@/hooks/usePageTitle'

const NotFound: React.FC = () => {
  usePageTitle('Page not found')
  const navigate = useNavigate()

  return (
    <div className="min-h-screen bg-background flex items-center justify-center p-4">
      <div className="text-center space-y-6 max-w-lg">
        <h1 className="font-display text-page font-semibold text-foreground">404</h1>
        <p className="text-em text-muted-foreground">The page you’re looking for doesn’t exist or has been moved.</p>
        <Button onClick={() => navigate(RoutePath.DASHBOARD)} className="flex items-center gap-2 mx-auto">
          <Home className="w-4 h-4" />
          Go to Dashboard
        </Button>
      </div>
    </div>
  )
}

export default NotFound