diff --git a/src/locale/en.json b/src/locale/en.json index 4b465daa..a2ddb48d 100644 --- a/src/locale/en.json +++ b/src/locale/en.json @@ -3,6 +3,7 @@ "timeline_page_title": "Historical timeline", "realtime_map_page_title": "Real time map", "gaps_page_title": "Trips that didn't take place", + "gaps_patterns_page_title": "patterns", "singleline_map_page_title": "Map by line", "choose_datetime": "Date and time", "choose_date": "Date", diff --git a/src/locale/he.json b/src/locale/he.json index f9647fc0..c65f390b 100644 --- a/src/locale/he.json +++ b/src/locale/he.json @@ -3,6 +3,7 @@ "timeline_page_title": "לוח זמנים היסטורי", "realtime_map_page_title": "מפה בזמן אמת", "gaps_page_title": "נסיעות שלא יצאו", + "gaps_patterns_page_title": "דפוסי נסיעות שלא יצאו", "singleline_map_page_title": "מפה לפי קו", "choose_datetime": "תאריך ושעה", "choose_date": "תאריך", diff --git a/src/pages/components/header/sidebar/SideBar.tsx b/src/pages/components/header/sidebar/SideBar.tsx index 1d74cc88..449dea73 100644 --- a/src/pages/components/header/sidebar/SideBar.tsx +++ b/src/pages/components/header/sidebar/SideBar.tsx @@ -2,18 +2,22 @@ import React, { useState } from 'react' import Menu, { MenuPage } from '../menu/Menu' import cn from 'classnames' import './sidebar.scss' +import { MenuOutlined } from '@ant-design/icons' + +const SidebarToggle = ({ open, setOpen }: { open: boolean; setOpen: (open: boolean) => void }) => ( +
setOpen(!open)}> + +
+) + +const Logo = () =>

דאטאבוס

export default function SideBar({ pages }: { pages: MenuPage[] }) { const [open, setOpen] = useState(false) - return ( ) diff --git a/src/pages/components/header/sidebar/sidebar.scss b/src/pages/components/header/sidebar/sidebar.scss index da1b7df4..3bc4a476 100644 --- a/src/pages/components/header/sidebar/sidebar.scss +++ b/src/pages/components/header/sidebar/sidebar.scss @@ -19,13 +19,6 @@ margin: 10px; cursor: pointer; font-size: 20px; - - &-line { - width: 30px; - height: 3px; - background-color: black; - margin: 5px 0; - } } }