Initial commit: EatMe attendance tracker
Google-SSO PWA for bistro employee clock-in/out, admin employee management, and stats with CSV export. Express + SQLite backend, React + Zustand frontend in the light-mono-tui design language. Multi-stage Dockerfile, compose.yaml for image-based deploys, nginx reverse-proxy template, and an OKF documentation bundle in docs/. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
21
frontend/src/components/MonthNav.tsx
Normal file
21
frontend/src/components/MonthNav.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import { formatMonthLabel } from '../lib/month';
|
||||
|
||||
interface Props {
|
||||
month: string;
|
||||
onPrev: () => void;
|
||||
onNext: () => void;
|
||||
}
|
||||
|
||||
export function MonthNav({ month, onPrev, onNext }: Props) {
|
||||
return (
|
||||
<div className="month-nav">
|
||||
<button className="btn" onClick={onPrev} aria-label="Předchozí měsíc">
|
||||
<
|
||||
</button>
|
||||
<div className="month-nav-label">{formatMonthLabel(month)}</div>
|
||||
<button className="btn" onClick={onNext} aria-label="Následující měsíc">
|
||||
>
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user