| 1 |
import { __ } from '@wordpress/i18n'; |
| 2 |
import { FileQuestion } from 'lucide-react'; |
| 3 |
import { Link } from 'react-router'; |
| 4 |
|
| 5 |
const NotFound = () => ( |
| 6 |
<div className="disco:min-h-[60vh] disco:flex disco:flex-col disco:items-center disco:justify-center disco:bg-[#f9fafb] disco:px-6 disco:py-2"> |
| 7 |
<FileQuestion className="disco:size-12 disco:text-[#d1d5db] disco:mb-4" /> |
| 8 |
<h1 className="disco:text-lg! disco:font-bold! disco:text-[#111827]! disco:tracking-tight"> |
| 9 |
{__('Page not found', 'disco')} |
| 10 |
</h1> |
| 11 |
<p className="disco:text-xs! disco:text-[#9ca3af] disco:mt-1"> |
| 12 |
{__( |
| 13 |
"The page you're looking for doesn't exist or has been moved.", |
| 14 |
'disco' |
| 15 |
)} |
| 16 |
</p> |
| 17 |
<Link |
| 18 |
to="/" |
| 19 |
className="disco:mt-4 disco:inline-flex disco:items-center disco:px-3 disco:py-1.5 disco:text-xs disco:font-medium disco:text-white disco:bg-primary disco:rounded-lg disco:no-underline disco:hover:bg-primary-dark disco:hover:text-white disco:transition-colors" |
| 20 |
> |
| 21 |
{__('Back to Dashboard', 'disco')} |
| 22 |
</Link> |
| 23 |
</div> |
| 24 |
); |
| 25 |
|
| 26 |
export default NotFound; |
| 27 |
|