fix: update import paths for lib folders in components
This commit is contained in:
1 parent
14bf2953ab
commit
c4966136d7
22 files changed
+66
-60
No files matched your search
@@ -2,7 +2,10 @@
|
||||
import React from 'react';
|
||||
import { FileQuestion, AlertCircle, Home, RefreshCw } from 'lucide-react';
|
||||
|
||||
export const NotFoundPage = ({ onGoHome }: { onGoHome: () => void }) => {
|
||||
import { useRouter } from 'next/navigation';
|
||||
|
||||
export const NotFoundPage = () => {
|
||||
const router = useRouter();
|
||||
return (
|
||||
<div className="min-h-[80vh] flex items-center justify-center p-6" dir="rtl">
|
||||
<div className="max-w-lg w-full text-center">
|
||||
@@ -21,7 +24,7 @@ export const NotFoundPage = ({ onGoHome }: { onGoHome: () => void }) => {
|
||||
</p>
|
||||
|
||||
<button
|
||||
onClick={onGoHome}
|
||||
onClick={() => router.push('/')}
|
||||
className="bg-medical-gray-900 text-white px-10 py-5 rounded-2xl font-black flex items-center justify-center gap-3 mx-auto hover:bg-canina-blue transition-all shadow-2xl shadow-medical-gray-900/10"
|
||||
>
|
||||
<Home className="w-5 h-5" />
|
||||
|
||||
Reference in new issue
Block a user