Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / apps/web/components/website/website-error.tsx |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | apps/web/components/website/website-error.tsx |
| Original SHA-256 | 5b540395ca867bbb0c4a0ad4e69b4e2f37d3b7911b9d8ee3b1bbf27806c0a0eb |
| Git blob SHA | c4e8d9e5e39b8ef565655a1ebfdbf217d5b76072 |
| Reading-copy SHA-256 | 5b540395ca867bbb0c4a0ad4e69b4e2f37d3b7911b9d8ee3b1bbf27806c0a0eb |
Recovered source transcript
Download complete source text ↓29 lines · 0.9 KB
import { Alert, AlertDescription, AlertTitle } from '@thedaviddias/design-system/alert'
import { AlertTriangle } from 'lucide-react'
import Link from 'next/link'
import { getRoute } from '@/lib/routes'
/**
* Error display component for website pages
* Shows when a website fails to load
*
* @returns Error alert component with navigation back to list
*/
export function WebsiteError() {
return (
<div className="container mx-auto px-6 py-8">
<Alert variant="destructive" className="mb-6">
<AlertTriangle className="h-4 w-4" />
<AlertTitle>Error loading website</AlertTitle>
<AlertDescription>
There was a problem loading this website. Please try again later or{' '}
<Link href={getRoute('website.list')} className="underline font-medium">
return to the websites list
</Link>
.
</AlertDescription>
</Alert>
</div>
)
}