Created
October 24, 2024 08:38
-
-
Save sirius0486/1966fe6c56952925167e404a28060d1d to your computer and use it in GitHub Desktop.
500page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Button } from "@/components/ui/button" | |
import { Card, CardContent, CardFooter, CardHeader, CardTitle } from "@/components/ui/card" | |
import { AlertTriangle } from "lucide-react" | |
import Link from "next/link" | |
export default function Custom500() { | |
return ( | |
<div className="min-h-screen flex items-center justify-center bg-gray-100 dark:bg-gray-900"> | |
<Card className="w-full max-w-md"> | |
<CardHeader> | |
<CardTitle className="flex items-center gap-2 text-2xl font-bold"> | |
<AlertTriangle className="h-6 w-6 text-yellow-500" /> | |
500 - Server Error | |
</CardTitle> | |
</CardHeader> | |
<CardContent> | |
<p className="text-muted-foreground"> | |
Oops! Something went wrong on our end. We're working to fix the issue. | |
</p> | |
</CardContent> | |
<CardFooter> | |
<Button asChild className="w-full"> | |
<Link href="/">Return to Home</Link> | |
</Button> | |
</CardFooter> | |
</Card> | |
</div> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment