임시 변경

This commit is contained in:
Hyojin Ahn 2026-06-19 09:06:41 -04:00
parent 44b9d5a05c
commit bb3bb7f03a
2 changed files with 2 additions and 2 deletions

View File

@ -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) => {

View File

@ -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>