From dec09521ee65317b5f3420d665b5535cf401ad8f Mon Sep 17 00:00:00 2001 From: Monika Stefanova Date: Tue, 13 Jan 2026 21:40:24 +0100 Subject: [PATCH] #52 Home Layout first commit --- front/src/app/layout.tsx | 2 +- front/src/app/page.tsx | 42 +++++++++++++++---- .../src/common/components/card.component.tsx | 2 +- 3 files changed, 35 insertions(+), 11 deletions(-) diff --git a/front/src/app/layout.tsx b/front/src/app/layout.tsx index c4137ee..9a26a7a 100644 --- a/front/src/app/layout.tsx +++ b/front/src/app/layout.tsx @@ -15,7 +15,7 @@ const RootLayout = (props: Props) => { suppressHydrationWarning > -
{children}
+
{children}
diff --git a/front/src/app/page.tsx b/front/src/app/page.tsx index 850b152..732d945 100644 --- a/front/src/app/page.tsx +++ b/front/src/app/page.tsx @@ -2,15 +2,39 @@ import Link from "next/link"; const RootPage = () => { return ( -
-

Página de inicio

-
- - Embalses por provincias - - - Detalle del embalse - +
+
+
+
+
+

Embalses

+
+ +
+ +
+

+ Encuentra toda la información disponible de los embalses de + España +

+
+
+
); diff --git a/front/src/common/components/card.component.tsx b/front/src/common/components/card.component.tsx index 14e9a9d..1bb2a11 100644 --- a/front/src/common/components/card.component.tsx +++ b/front/src/common/components/card.component.tsx @@ -7,7 +7,7 @@ interface Props { export const Card: React.FC = (props: Props) => { const { children } = props; return ( -
+
{children}
);