mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 18:34:09 +00:00
Align trip tags and desktop UI with CI contracts
This commit is contained in:
@@ -1,10 +1,18 @@
|
||||
import { Plus } from 'lucide-react'
|
||||
import { Plus } from 'lucide-react';
|
||||
|
||||
export function AddRouteStop({ onClick, label, mobile = false }: { onClick: () => void; label: string; mobile?: boolean }) {
|
||||
export function AddRouteStop({
|
||||
onClick,
|
||||
label,
|
||||
mobile = false,
|
||||
}: {
|
||||
onClick: () => void;
|
||||
label: string;
|
||||
mobile?: boolean;
|
||||
}) {
|
||||
const button = mobile
|
||||
? 'border-m-rowbr bg-m-sheetop text-control text-m-ink active:bg-m-ic'
|
||||
: 'border-edge bg-surface-input text-body text-content hover:bg-surface-hover'
|
||||
const tile = mobile ? 'bg-m-ic text-m-muted' : 'bg-surface-secondary text-content-muted'
|
||||
: 'border-edge bg-surface-input text-body text-content hover:bg-surface-hover';
|
||||
const tile = mobile ? 'bg-m-ic text-m-muted' : 'bg-surface-secondary text-content-muted';
|
||||
|
||||
return (
|
||||
<button
|
||||
@@ -17,5 +25,5 @@ export function AddRouteStop({ onClick, label, mobile = false }: { onClick: () =
|
||||
</span>
|
||||
{label}
|
||||
</button>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user