From cfbb1625e7873264e2ef435cc76fec2b59cf58d8 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Wed, 24 Dec 2025 19:33:49 +0100 Subject: Refactor map components and improve modal functionality --- src/frontend/app/components/StopHelpModal.tsx | 151 -------------------------- 1 file changed, 151 deletions(-) delete mode 100644 src/frontend/app/components/StopHelpModal.tsx (limited to 'src/frontend/app/components/StopHelpModal.tsx') diff --git a/src/frontend/app/components/StopHelpModal.tsx b/src/frontend/app/components/StopHelpModal.tsx deleted file mode 100644 index e8157ab..0000000 --- a/src/frontend/app/components/StopHelpModal.tsx +++ /dev/null @@ -1,151 +0,0 @@ -import { AlertTriangle, Clock, LocateIcon } from "lucide-react"; -import React from "react"; -import { useTranslation } from "react-i18next"; -import { Sheet } from "react-modal-sheet"; - -interface StopHelpModalProps { - isOpen: boolean; - onClose: () => void; -} - -export const StopHelpModal: React.FC = ({ - isOpen, - onClose, -}) => { - const { t } = useTranslation(); - - return ( - - - - -
-
-

{t("stop_help.title")}

- -
-
-
- -
-
-

- {t("stop_help.realtime_ok")} -

-

- {t("stop_help.realtime_ok_desc")} -

-
-
- -
-
- -
-
-

- {t("stop_help.realtime_warning")} -

-

- {t("stop_help.realtime_warning_desc")} -

-
-
- -
-
- -
-
-

- {t("stop_help.scheduled")} -

-

- {t("stop_help.scheduled_desc")} -

-
-
- -
-
- -
-
-

- {t("stop_help.gps")} -

-

- {t("stop_help.gps_desc")} -

-
-
-
-
- -
-

- {t("stop_help.punctuality")} -

- -
-
- - {t("stop_help.punctuality_ontime_label", "En hora")} - -

- {t("stop_help.punctuality_ontime")} -

-
- -
- - {t("stop_help.punctuality_early_label", "Adelanto")} - -

- {t("stop_help.punctuality_early")} -

-
- -
- - {t("stop_help.punctuality_late_label", "Retraso")} - -

- {t("stop_help.punctuality_late")} -

-
-
-
- -
-

- {t("stop_help.gps_quality")} -

- -
-
- - {t("stop_help.gps_reliable_label", "GPS fiable")} - -

- {t("stop_help.gps_reliable")} -

-
- -
- - {t("stop_help.gps_imprecise_label", "GPS impreciso")} - -

- {t("stop_help.gps_imprecise")} -

-
-
-
-
-
-
- -
- ); -}; -- cgit v1.3