From 89a92950b02384f4700b6f021a5af67218e79cf2 Mon Sep 17 00:00:00 2001 From: Rui Lopes Date: Fri, 13 Sep 2024 22:17:32 +0100 Subject: [PATCH] refactor: remove empty space from landing page (#232) --- apps/web/pages/index.tsx | 45 ++++++++++++++++---------------- apps/web/styles/index.module.css | 6 ++--- 2 files changed, 25 insertions(+), 26 deletions(-) diff --git a/apps/web/pages/index.tsx b/apps/web/pages/index.tsx index 24b1cc62..3b212773 100644 --- a/apps/web/pages/index.tsx +++ b/apps/web/pages/index.tsx @@ -8,6 +8,7 @@ const Home = () => (
+
@@ -32,7 +33,7 @@ const Home = () => (
-
+

Como funciona o Dojo? @@ -48,30 +49,28 @@ const Home = () => (

-
-
-
-
-
-
-
- O CoderDojo Braga pretende dar a todas as crianças e jovens da - região minhota a oportunidade de aprenderem a programar num - ambiente amigável e divertido. -
-
- CoderDojo Braga Draw Logo -
+
+
+
+
+
+ O CoderDojo Braga pretende dar a todas as crianças e jovens da + região minhota a oportunidade de aprenderem a programar num ambiente + amigável e divertido. +
+
+ CoderDojo Braga Draw Logo
-
-
+
+
+
); diff --git a/apps/web/styles/index.module.css b/apps/web/styles/index.module.css index b668108f..265545eb 100644 --- a/apps/web/styles/index.module.css +++ b/apps/web/styles/index.module.css @@ -57,8 +57,8 @@ This is necessary because when screens width are bigger than 1530px, the curves don't work properly, so the curve's width needs to be a little bit larger */ -@media (min-width: 1530px) { +@media (min-width: 1230px) { .curveTop, .curveBottom { - width: calc(100vw + (100vw - 1530px) / 4); + width: calc(100vw + (100vw - 1230px) / 4); } -} \ No newline at end of file +}