임시 변경
This commit is contained in:
parent
44b9d5a05c
commit
bb3bb7f03a
|
|
@ -4,7 +4,7 @@ import { useMemo, useState } from 'react'
|
||||||
// x = 이동거리(km), y = 오일 픽업량
|
// x = 이동거리(km), y = 오일 픽업량
|
||||||
// 마커 = 번호 배지 + 진행률 링(완료/목표). 운행중=채운 배지 / 종료=옅은 배지+체크 / 픽업전=고스트
|
// 마커 = 번호 배지 + 진행률 링(완료/목표). 운행중=채운 배지 / 종료=옅은 배지+체크 / 픽업전=고스트
|
||||||
// 호버: 해당 마커가 맨 위로 + 상세 툴팁(시작/종료 시각 포함). 클릭: onSelect(driverId)
|
// 호버: 해당 마커가 맨 위로 + 상세 툴팁(시작/종료 시각 포함). 클릭: onSelect(driverId)
|
||||||
const W = 720, H = 470, PL = 56, PR = 600, PT = 44, PB = 400, R = 11
|
const W = 720, H = 470, PL = 56, PR = 680, PT = 44, PB = 400, R = 11
|
||||||
const ACCENT = '#2e7d32'
|
const ACCENT = '#2e7d32'
|
||||||
|
|
||||||
const kmOf = (s) => {
|
const kmOf = (s) => {
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ export default function MainLayout() {
|
||||||
<aside className="sidebar">
|
<aside className="sidebar">
|
||||||
<ul>
|
<ul>
|
||||||
<li><Link to="/">Home</Link></li>
|
<li><Link to="/">Home</Link></li>
|
||||||
<li><Link to="/products">Products</Link></li>
|
<li><Link to="/crm/driver-daily-stat">Dashboard</Link></li>
|
||||||
{/* Admin link is shown only to admins (UX); the route + server also enforce it. */}
|
{/* Admin link is shown only to admins (UX); the route + server also enforce it. */}
|
||||||
{role === 'admin' && <li><Link to="/admin">Admin</Link></li>}
|
{role === 'admin' && <li><Link to="/admin">Admin</Link></li>}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue