missions page 2
This commit is contained in:
parent
316d2df9dc
commit
1e0f4092bb
@ -138,7 +138,7 @@ export default function MissionTabDetailPage() {
|
|||||||
// Loading state
|
// Loading state
|
||||||
if (loading) {
|
if (loading) {
|
||||||
return (
|
return (
|
||||||
<div className="flex justify-center items-center min-h-screen bg-gray-50">
|
<div className="flex justify-center items-center h-[calc(100vh-64px)] bg-gray-50">
|
||||||
<div className="animate-spin rounded-full h-12 w-12 border-t-2 border-b-2 border-blue-600"></div>
|
<div className="animate-spin rounded-full h-12 w-12 border-t-2 border-b-2 border-blue-600"></div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
@ -147,7 +147,7 @@ export default function MissionTabDetailPage() {
|
|||||||
// Error state if mission not found
|
// Error state if mission not found
|
||||||
if (!mission) {
|
if (!mission) {
|
||||||
return (
|
return (
|
||||||
<div className="flex justify-center items-center min-h-screen bg-gray-50 px-4">
|
<div className="flex justify-center items-center h-[calc(100vh-64px)] bg-gray-50 px-4">
|
||||||
<div className="text-center bg-white p-8 rounded-lg shadow-sm border border-gray-200 max-w-md">
|
<div className="text-center bg-white p-8 rounded-lg shadow-sm border border-gray-200 max-w-md">
|
||||||
<h2 className="text-xl font-semibold text-gray-800 mb-2">Mission non trouvée</h2>
|
<h2 className="text-xl font-semibold text-gray-800 mb-2">Mission non trouvée</h2>
|
||||||
<p className="text-gray-600 mb-6">Cette mission n'existe pas ou a été supprimée.</p>
|
<p className="text-gray-600 mb-6">Cette mission n'existe pas ou a été supprimée.</p>
|
||||||
@ -165,7 +165,7 @@ export default function MissionTabDetailPage() {
|
|||||||
const oddInfo = getODDInfo(mission.oddScope);
|
const oddInfo = getODDInfo(mission.oddScope);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="bg-gray-50 min-h-screen p-6">
|
<div className="bg-gray-50 min-h-[calc(100vh-64px)] p-6 overflow-auto">
|
||||||
{/* Back Button */}
|
{/* Back Button */}
|
||||||
<div className="mb-4">
|
<div className="mb-4">
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
@ -125,7 +125,7 @@ export default function MissionTabPage() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col h-full w-full bg-white">
|
<div className="flex flex-col h-[calc(100vh-64px)] w-full bg-white">
|
||||||
{/* Page Title */}
|
{/* Page Title */}
|
||||||
<div className="bg-white border-b border-gray-100 py-3 px-6">
|
<div className="bg-white border-b border-gray-100 py-3 px-6">
|
||||||
<h1 className="text-gray-800 text-xl font-bold">Le Tableau des Missions</h1>
|
<h1 className="text-gray-800 text-xl font-bold">Le Tableau des Missions</h1>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user