feat: build production-ready wtr weather PWA

This commit is contained in:
zv
2026-06-01 18:43:56 +02:00
commit 840555f4f5
60 changed files with 9052 additions and 0 deletions

12
lib/constants.ts Normal file
View File

@@ -0,0 +1,12 @@
export const DEFAULT_STATION_NAME = "Warszawa";
export const APP_NAME = "wtr.";
export const APP_TAGLINE = "Pogoda z danych IMGW. Prosto. Pięknie. Aktualnie.";
export const QUERY_STALE_TIME = 5 * 60 * 1000;
export const QUERY_GC_TIME = 60 * 60 * 1000;
export const NAV_ITEMS = [
{ href: "/", label: "Pogoda" },
{ href: "/warnings", label: "Ostrzeżenia" },
{ href: "/hydro", label: "Hydro" },
] as const;