1+ import { RefSpringLogo } from '@/components/RefSpringLogo' ;
2+ import { Button } from '@/components/ui/button' ;
3+ import { Card , CardContent , CardDescription , CardHeader , CardTitle } from '@/components/ui/card' ;
4+ import { Monitor , Smartphone , Tablet } from 'lucide-react' ;
5+ import { Helmet } from 'react-helmet-async' ;
6+
7+ const MobileNotSupportedPage = ( ) => {
8+ return (
9+ < >
10+ < Helmet >
11+ < title > RefSpring - Version Desktop Requise</ title >
12+ < meta name = "description" content = "RefSpring nécessite un ordinateur de bureau pour une expérience optimale." />
13+ < meta name = "robots" content = "noindex, nofollow" />
14+ </ Helmet >
15+
16+ < div className = "min-h-screen bg-gradient-to-br from-primary/5 via-background to-secondary/5 flex items-center justify-center p-4" >
17+ < Card className = "w-full max-w-md text-center" >
18+ < CardHeader className = "space-y-6" >
19+ < div className = "flex justify-center" >
20+ < RefSpringLogo className = "h-12 w-auto" />
21+ </ div >
22+
23+ < div className = "space-y-2" >
24+ < CardTitle className = "text-2xl font-bold text-foreground" >
25+ Version Desktop Requise
26+ </ CardTitle >
27+ < CardDescription className = "text-muted-foreground" >
28+ RefSpring est optimisé pour les ordinateurs de bureau
29+ </ CardDescription >
30+ </ div >
31+ </ CardHeader >
32+
33+ < CardContent className = "space-y-6" >
34+ < div className = "flex justify-center space-x-4 text-muted-foreground" >
35+ < div className = "flex flex-col items-center space-y-2" >
36+ < Smartphone className = "h-8 w-8 opacity-50" />
37+ < span className = "text-xs" > Mobile</ span >
38+ </ div >
39+ < div className = "flex flex-col items-center space-y-2" >
40+ < Tablet className = "h-8 w-8 opacity-50" />
41+ < span className = "text-xs" > Tablette</ span >
42+ </ div >
43+ < div className = "flex flex-col items-center space-y-2" >
44+ < Monitor className = "h-8 w-8 text-primary" />
45+ < span className = "text-xs font-medium text-primary" > Desktop</ span >
46+ </ div >
47+ </ div >
48+
49+ < div className = "text-sm text-muted-foreground space-y-3" >
50+ < p >
51+ Notre tableau de bord nécessite un écran plus large pour afficher
52+ toutes les données et fonctionnalités de manière optimale.
53+ </ p >
54+ < p className = "font-medium text-foreground" >
55+ Veuillez utiliser un ordinateur de bureau ou portable pour accéder à RefSpring.
56+ </ p >
57+ </ div >
58+
59+ < div className = "pt-4" >
60+ < Button
61+ onClick = { ( ) => window . location . href = '/' }
62+ className = "w-full"
63+ >
64+ Retour à l'accueil
65+ </ Button >
66+ </ div >
67+ </ CardContent >
68+ </ Card >
69+ </ div >
70+ </ >
71+ ) ;
72+ } ;
73+
74+ export default MobileNotSupportedPage ;
0 commit comments