Bloc A - Code mort: - Suppression Studio (components, views, features) - Suppression gamification + services mock (projectService, storageService, gamificationService) - Mise à jour Sidebar, Navbar, locales Bloc B - Frontend: - Suppression modal.tsx deprecated, Modal.stories (doublon Dialog) - Feature flags: PLAYLIST_SEARCH, PLAYLIST_RECOMMENDATIONS, ROLE_MANAGEMENT = true - Suppression 19 tests orphelins, retrait exclusions vitest.config Bloc C - Backend: - Extraction routes_auth.go depuis router.go Bloc D - Rust: - Suppression security_legacy.rs (code mort, patterns déjà dans security/)
1 line
3 KiB
JavaScript
1 line
3 KiB
JavaScript
import{j as e}from"./vendor-react-yWUy5XPk.js";import{L as a}from"./vendor-router-BNNHboN9.js";import{C as n,b as c,d,e as m,f as u,B as r}from"./index-CYK_b1Uz.js";import{S as t,H as i,A as x,L as h,T as p}from"./vendor-icons-DJFb1Tiw.js";import"./vendor-CveO81sn.js";import"./vendor-security-DsrNJhpn.js";import"./vendor-tanstack-kPY9uK0s.js";import"./vendor-http-Cz8wfb0q.js";import"./vendor-utils-DtoSyhX2.js";import"./vendor-motion-B3XPS3Jc.js";import"./vendor-i18n-CMcqpBLz.js";function q(){const o=[{to:"/dashboard",label:"Dashboard",icon:i},{to:"/library",label:"Ma bibliothèque",icon:h},{to:"/search",label:"Rechercher",icon:t},{to:"/marketplace",label:"Marketplace",icon:p}];return e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background p-4",children:e.jsx("div",{className:"w-full max-w-2xl animate-fadeIn",children:e.jsxs(n,{className:"text-center transition-shadow duration-[var(--sumi-duration-normal)]",children:[e.jsxs(c,{children:[e.jsx("div",{className:"mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-muted transition-colors duration-[var(--duration-fast)]",children:e.jsx(t,{className:"h-8 w-8 text-muted-foreground"})}),e.jsx(d,{className:"text-2xl font-heading font-bold tracking-tight",children:"Page non trouvée"}),e.jsx(m,{children:"La page que vous recherchez n'existe pas ou a été déplacée."})]}),e.jsxs(u,{className:"space-y-6",children:[e.jsx("div",{className:"text-6xl font-heading font-bold text-foreground tracking-tight",children:"404"}),e.jsx("p",{className:"text-muted-foreground",children:"Il semble que vous ayez suivi un lien cassé ou tapé une URL incorrecte. Voici quelques options pour continuer :"}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-2",children:[e.jsx(r,{asChild:!0,className:"flex-1",children:e.jsxs(a,{to:"/dashboard",children:[e.jsx(i,{className:"mr-2 h-4 w-4"}),"Retour au dashboard"]})}),e.jsxs(r,{variant:"outline",onClick:()=>window.history.back(),className:"flex-1",children:[e.jsx(x,{className:"mr-2 h-4 w-4"}),"Page précédente"]})]}),e.jsxs("div",{className:"border-t pt-4",children:[e.jsx("p",{className:"text-sm font-medium text-foreground mb-3",children:"Liens rapides :"}),e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-2",children:o.map(s=>{const l=s.icon;return e.jsx(r,{variant:"outline",size:"sm",asChild:!0,className:"flex flex-col h-auto py-2",children:e.jsxs(a,{to:s.to,children:[e.jsx(l,{className:"h-4 w-4 mb-1"}),e.jsx("span",{className:"text-xs",children:s.label})]})},s.to)})})]}),e.jsxs("div",{className:"border-t pt-4 text-left",children:[e.jsx("p",{className:"text-sm font-medium text-foreground mb-2",children:"Suggestions :"}),e.jsxs("ul",{className:"text-sm text-muted-foreground space-y-1 list-disc list-inside",children:[e.jsx("li",{children:"Vérifiez l'orthographe de l'URL"}),e.jsx("li",{children:"Utilisez la recherche pour trouver ce que vous cherchez"}),e.jsx("li",{children:"Consultez votre bibliothèque ou le marketplace"}),e.jsx("li",{children:"Contactez le support si le problème persiste"})]})]})]})]})})})}export{q as default};
|