appearance: icons fixed

This commit is contained in:
muerwre 2018-11-27 12:02:04 +07:00
parent 9e186397e0
commit 169d4d4222
16 changed files with 290 additions and 120 deletions

View file

@ -1,4 +1,5 @@
import React from 'react';
import { Icon } from '$components/panels/Icon';
type Props = {
routerCancel: Function,
@ -9,8 +10,10 @@ type Props = {
const noPoints = ({ routerCancel }: Props) => (
<div className="helper router-helper">
<div className="helper__text">
<div className="big white">Укажите на карте первую точку маршрута</div>
<div className="small gray">Путь прокладывается по улицам, тротуарам и тропинкам</div>
<Icon icon="icon-pin-1" />
<div className="big white upper">
Укажите первую точку на карте
</div>
</div>
<div className="helper__buttons">
<div className="button router-helper__button" onClick={routerCancel}>
@ -23,8 +26,8 @@ const noPoints = ({ routerCancel }: Props) => (
const firstPoint = ({ routerCancel }: Props) => (
<div className="helper router-helper">
<div className="helper__text">
<div className="big white">Укажите на карте конечную точку маршрута</div>
<div className="small gray"> Вы сможете добавить уточняющие точки</div>
<Icon icon="icon-pin-1" />
<div className="big white upper">Теперь - следующую</div>
</div>
<div className="helper__buttons">
<div className="button router-helper__button" onClick={routerCancel}>
@ -36,9 +39,9 @@ const firstPoint = ({ routerCancel }: Props) => (
const draggablePoints = ({ routerCancel, routerSubmit }: Props) => (
<div className="helper router-helper">
<div className="helper__text">
<div className="big white">Продолжите маршрут, щелкая по карте</div>
<div className="small gray">Потяните линию, чтобы указать промежуточные точки</div>
<div className="helper__text success">
<Icon icon="icon-check-1" />
<div className="big upper">Продолжайте маршрут</div>
</div>
<div className="helper__buttons button-group">
<div className="button button_red router-helper__button" onClick={routerCancel}>