From 472347a365987285968ab6769dab194c0c7e205c Mon Sep 17 00:00:00 2001 From: Matej Stieranka Date: Tue, 1 Jul 2025 14:03:11 +0200 Subject: [PATCH] feat: home - show today, add flavor text for now --- src/app/page.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index a54a6ac..12a8e98 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -33,7 +33,8 @@ export default async function Home({ searchParams }: HomePageProps) {
  • Kam jít? - + {" "} + (nejbližší 2 hodiny)
  • @@ -52,6 +53,11 @@ export default async function Home({ searchParams }: HomePageProps) { month: "numeric", })} + + {new Date(day).getDay() === new Date().getDay() + ? " (dnes)" + : ""} + ))}