diff --git a/src/components/CustomBottomSheet/OpeningTimesBottomSheet.tsx b/src/components/CustomBottomSheet/OpeningTimesBottomSheet.tsx index 5ddf76a..844fb86 100644 --- a/src/components/CustomBottomSheet/OpeningTimesBottomSheet.tsx +++ b/src/components/CustomBottomSheet/OpeningTimesBottomSheet.tsx @@ -1,4 +1,4 @@ -import { Button } from "antd"; +import { Card } from "antd"; import { useTranslation } from "react-i18next"; import { ProBottomSheet } from "../ProBottomSheet/ProBottomSheet"; import ProText from "components/ProText"; @@ -6,28 +6,13 @@ import ProTitle from "components/ProTitle"; import { useAppSelector } from "redux/hooks"; import { useGetOpeningTimesQuery } from "redux/api/others"; import { useMemo } from "react"; +import TimeIcon from "components/Icons/order/TimeIcon"; interface OpeningTimesBottomSheetProps { isOpen: boolean; onClose: () => void; } -const dayTextStyle: React.CSSProperties = { - fontWeight: 400, - fontStyle: "Regular", - fontSize: 14, - lineHeight: "140%", - letterSpacing: "0%", -}; - -const todayTextStyle: React.CSSProperties = { - fontWeight: 700, - fontStyle: "Bold", - fontSize: 14, - lineHeight: "140%", - letterSpacing: "0%", -}; - // Helper function to format time (HH:mm to 12h format) const formatTime = (time: string | null | undefined): string => { if (!time) return ""; @@ -107,87 +92,200 @@ export function OpeningTimesBottomSheet({ title={t("menu.openingTimes")} showCloseButton={false} initialSnap={1} - height={500} - snapPoints={[500]} + height={600} + snapPoints={[600]} >