From eca28c9fede8fa20a3880e575b7132cd04ad445f Mon Sep 17 00:00:00 2001 From: Mathis Date: Fri, 27 Sep 2024 16:58:10 +0200 Subject: [PATCH] feat(component): add weather sprite and temperature display Enhanced HomePage with WeatherSprite component for current weather. Added temperature display showing max and min values, including visual separators for better UI organization. --- src/app/page.tsx | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 7060b93..5c552f6 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,7 +1,33 @@ import Image from "next/image"; +import WeatherSprite from "@/components/weather/animated-sprite"; +import {Separator} from "@/components/ui/separator"; +import {ChevronsLeftRightEllipsis, SeparatorVertical} from "lucide-react"; export default function HomePage() { - return (
- + return (
+
+ + +
+

Températures

+
+
+

Max

+

Min

+
+ +
+

19,6°C

+

11,2°C

+
+
+
+ +
); }