feat: add price history admin page with fetch button

This commit is contained in:
counterweight 2025-12-22 15:49:41 +01:00
parent 94497f9200
commit c2dd7b5b91
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
3 changed files with 372 additions and 1 deletions

View file

@ -18,7 +18,8 @@ type PageId =
| "admin-invites"
| "admin-availability"
| "admin-appointments"
| "admin-random-jobs";
| "admin-random-jobs"
| "admin-price-history";
interface HeaderProps {
currentPage: PageId;
@ -47,6 +48,7 @@ const ADMIN_NAV_ITEMS: NavItem[] = [
{ id: "admin-availability", label: "Availability", href: "/admin/availability", adminOnly: true },
{ id: "admin-appointments", label: "Appointments", href: "/admin/appointments", adminOnly: true },
{ id: "admin-random-jobs", label: "Random Jobs", href: "/admin/random-jobs", adminOnly: true },
{ id: "admin-price-history", label: "Prices", href: "/admin/price-history", adminOnly: true },
];
export function Header({ currentPage }: HeaderProps) {