-
+
{
+ this.currentLocation(this.state.map)
+ }}>
10 کیلومتر
diff --git a/src/views/Home/Header/Header.js b/src/views/Home/Header/Header.js
index 50b3b6c..81d4388 100644
--- a/src/views/Home/Header/Header.js
+++ b/src/views/Home/Header/Header.js
@@ -74,6 +74,9 @@ export default function Header(props) {
ref={inputRef5}
placeholder="بنویس ..."
/>
+
+
+
:
<>
setState({ ...state, ['searchFlag']: !state['searchFlag']})}>
diff --git a/src/views/Home/Header/Header.scss b/src/views/Home/Header/Header.scss
index 165e5e7..daa5e07 100644
--- a/src/views/Home/Header/Header.scss
+++ b/src/views/Home/Header/Header.scss
@@ -16,6 +16,9 @@
left : 0px;
height : 60px;
z-index: 550;
+ animation-duration: 0.3s;
+ animation-name: search;
+ animation-iteration-count: 1;
input{
width: 100%;
position: relative;
@@ -36,4 +39,10 @@
}
}
}
+}
+
+
+@keyframes search{
+ 0% {left : -100vw; top : 0px}
+ 100% {left : 0px; top : 0px}
}
\ No newline at end of file
diff --git a/src/views/Home/Header/NavbarDrawer/NavbarDrawer.js b/src/views/Home/Header/NavbarDrawer/NavbarDrawer.js
index 37b9984..8e15f36 100644
--- a/src/views/Home/Header/NavbarDrawer/NavbarDrawer.js
+++ b/src/views/Home/Header/NavbarDrawer/NavbarDrawer.js
@@ -1,16 +1,19 @@
import React, { Component } from 'react';
import { Link } from 'react-router-dom';
import {toast} from 'react-toastify';
+
import HomeIcon from '@material-ui/icons/Home';
import CloseIcon from '@material-ui/icons/Close';
+import ExitToAppIcon from '@material-ui/icons/ExitToApp';
+import SettingsIcon from '@material-ui/icons/Settings';
+import UpdateIcon from '@material-ui/icons/Update';
+import ReportIcon from '@material-ui/icons/Report';
+import ShareIcon from '@material-ui/icons/Share';
// import {connect} from 'react-redux';
import './NavbarDrawer.scss';
-import home from '../../../../assets/icons/home.png';
-import exit from '../../../../assets/icons/exit.png';
-
class NavbarDrawer extends Component {
constructor(props) {
super(props);
@@ -22,6 +25,36 @@ class NavbarDrawer extends Component {
icon: ,
toast : '',
},
+ {
+ name: 'تنظیمات',
+ link: '/',
+ icon: ,
+ toast : '',
+ },
+ {
+ name: 'به روز رسانی',
+ link: '/',
+ icon: ,
+ toast : '',
+ },
+ {
+ name: 'همرسانی',
+ link: '/',
+ icon: ,
+ toast : '',
+ },
+ {
+ name: 'گزارش ایراد',
+ link: '/',
+ icon: ,
+ toast : '',
+ },
+ {
+ name: 'خروج',
+ link: '/',
+ icon: ,
+ toast : '',
+ },
],
}
}