docs: remove obsolete project configuration and documentation files
This commit is contained in:
@@ -1,31 +0,0 @@
|
|||||||
"use client";
|
|
||||||
|
|
||||||
import React from 'react';
|
|
||||||
|
|
||||||
export default function GlobalError({
|
|
||||||
error,
|
|
||||||
reset,
|
|
||||||
}: {
|
|
||||||
error: Error & { digest?: string };
|
|
||||||
reset: () => void;
|
|
||||||
}) {
|
|
||||||
return (
|
|
||||||
<html lang="fr">
|
|
||||||
<head>
|
|
||||||
<meta charSet="utf-8" />
|
|
||||||
<title>Erreur Système - Afrohub</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div style={{ textAlign: 'center', padding: '50px', fontFamily: 'sans-serif' }}>
|
|
||||||
<h2>Erreur critique du serveur</h2>
|
|
||||||
<button
|
|
||||||
onClick={() => reset()}
|
|
||||||
style={{ padding: '10px 20px', cursor: 'pointer' }}
|
|
||||||
>
|
|
||||||
Recharger l'application
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user