From 2ffa11be5046009b0162979cec628b49249e9f87 Mon Sep 17 00:00:00 2001 From: Kirill Date: Tue, 19 May 2026 14:44:08 +0500 Subject: [PATCH] feat: add DeliverySection with pickup, courier, and postal cards --- .../info/ui/sections/DeliverySection.tsx | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 client/src/pages/info/ui/sections/DeliverySection.tsx diff --git a/client/src/pages/info/ui/sections/DeliverySection.tsx b/client/src/pages/info/ui/sections/DeliverySection.tsx new file mode 100644 index 0000000..23a6d2a --- /dev/null +++ b/client/src/pages/info/ui/sections/DeliverySection.tsx @@ -0,0 +1,61 @@ +import Grid from '@mui/material/Grid' +import Paper from '@mui/material/Paper' +import Stack from '@mui/material/Stack' +import Typography from '@mui/material/Typography' +import { Package, Store, Truck } from 'lucide-react' +import { PICKUP_ADDRESS_FULL } from '@/shared/constants/pickup-point' + +const deliveries = [ + { + title: 'Самовывоз', + icon: , + lines: ['Бесплатно.', PICKUP_ADDRESS_FULL, 'Перед визитом согласуем время — чтобы заказ точно был готов к выдаче.'], + }, + { + title: 'Курьер по городу', + icon: , + lines: [ + 'Доставка в пределах города.', + 'Сроки и стоимость зависят от адреса и веса заказа.', + 'Мастер свяжется с вами для уточнения деталей после оформления.', + ], + }, + { + title: 'Почта / СДЭК', + icon: , + lines: [ + 'Отправка в другие города.', + 'Каждому заказу присваивается трек-номер для отслеживания.', + 'Стоимость рассчитывается по тарифу перевозчика при оформлении.', + ], + }, +] + +export function DeliverySection() { + return ( + + + Доставка + + + {deliveries.map((d) => ( + + + + + {d.icon} + {d.title} + + {d.lines.map((line, i) => ( + + {line} + + ))} + + + + ))} + + + ) +}