File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { Dialog , DialogContent , DialogTitle } from '@/lib/components/ui/Modal' ;
22import { VisuallyHidden } from '@radix-ui/react-visually-hidden' ;
3- import { Button } from '@/lib/components/ui/Button' ;
43
54export type LostConnectionModalProps = {
65 open : boolean ;
@@ -10,19 +9,18 @@ export type LostConnectionModalProps = {
109export function LostConnectionModal ( { open, onOpenChange } : LostConnectionModalProps ) {
1110 return (
1211 < Dialog open = { open } onOpenChange = { onOpenChange } >
13- < DialogContent className = "h-[234px ] w-[381px ] gap-4" showCloseButton = { true } >
12+ < DialogContent className = "h-[180px ] w-[340px ] gap-4" showCloseButton = { false } >
1413 < VisuallyHidden >
1514 < DialogTitle > Network Disconnected</ DialogTitle >
1615 </ VisuallyHidden >
17- < div className = "flex flex-col items-center gap-6 text-center" >
18- < p className = "text-sarge-gray-800 mt-2 text-base leading-tight font-medium tracking-wide" >
19- You seem to be having issues with your connection.
16+ < div className = "flex h-full flex-col items-center justify-center gap-4 px -6 text-center" >
17+ < p className = "text-md font-semibold tracking-wide" >
18+ You have been disconnected
2019 </ p >
21- < p >
22- If you disconnect again during this exam, your current progress will be
23- auto-submitted .
20+ < p className = "text-sm" >
21+ Please check your internet connection. Do not reload the page when trying to
22+ reconnect .
2423 </ p >
25- < Button className = "px-4 py-2" > I understand</ Button >
2624 </ div >
2725 </ DialogContent >
2826 </ Dialog >
You can’t perform that action at this time.
0 commit comments