()
| 1 | import { Link } from '@tanstack/react-router' |
| 2 | |
| 3 | export function NotFound() { |
| 4 | return ( |
| 5 | <div className="min-h-screen flex items-center justify-center bg-gray-50"> |
| 6 | <div className="max-w-md w-full bg-white rounded-lg shadow-lg p-8 text-center"> |
| 7 | <div className="text-6xl font-bold text-gray-300 mb-4">404</div> |
| 8 | <h1 className="text-2xl font-bold text-gray-800 mb-4"> |
| 9 | Page Not Found |
| 10 | </h1> |
| 11 | <p className="text-gray-600 mb-8"> |
| 12 | The page you're looking for doesn't exist or has been moved. |
| 13 | </p> |
| 14 | |
| 15 | <div className="space-y-4"> |
| 16 | <Link to="/" className="block w-full"> |
| 17 | <button className="w-full px-6 py-3 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors"> |
| 18 | Go Home |
| 19 | </button> |
| 20 | </Link> |
| 21 | |
| 22 | <div className="flex space-x-4"> |
| 23 | <Link to="/query" className="flex-1"> |
| 24 | <button className="w-full px-4 py-2 bg-green-100 text-green-700 rounded-lg hover:bg-green-200 transition-colors text-sm"> |
| 25 | Query Demo |
| 26 | </button> |
| 27 | </Link> |
| 28 | <Link to="/electric" className="flex-1"> |
| 29 | <button className="w-full px-4 py-2 bg-blue-100 text-blue-700 rounded-lg hover:bg-blue-200 transition-colors text-sm"> |
| 30 | Electric Demo |
| 31 | </button> |
| 32 | </Link> |
| 33 | <Link to="/trailbase" className="flex-1"> |
| 34 | <button className="w-full px-4 py-2 bg-purple-100 text-purple-700 rounded-lg hover:bg-purple-200 transition-colors text-sm"> |
| 35 | TrailBase Demo |
| 36 | </button> |
| 37 | </Link> |
| 38 | </div> |
| 39 | </div> |
| 40 | </div> |
| 41 | </div> |
| 42 | ) |
| 43 | } |
nothing calls this directly
no outgoing calls
no test coverage detected