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