From e560a049c2a772677e64870a6dffdb3a568bd35b Mon Sep 17 00:00:00 2001 From: Bianca Date: Thu, 12 Mar 2026 16:46:59 +0100 Subject: [PATCH 1/3] feat: add AboutUs component --- src/app/page.tsx | 19 ++---------------- src/components/home/about-us.tsx | 34 ++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 17 deletions(-) create mode 100644 src/components/home/about-us.tsx diff --git a/src/app/page.tsx b/src/app/page.tsx index ecc1240..c6200ce 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,22 +1,7 @@ -import { Users } from "lucide-react" -import { Button } from "@/components/ui/button" -import { ButtonWithIcon } from "@/components/ui/buttonWithIcon" +import { AboutUs } from "@/components/home/about-us" export default function Home() { return ( -
-

Welcome to PoliNetwork

-

- PoliNetwork is a student association dedicated to connecting and supporting students at Politecnico. -

-
-

Test with figma variables

-
- - - - -
-
+ ) } diff --git a/src/components/home/about-us.tsx b/src/components/home/about-us.tsx new file mode 100644 index 0000000..621e71c --- /dev/null +++ b/src/components/home/about-us.tsx @@ -0,0 +1,34 @@ +import { Button } from "@/components/ui/button" + +export function AboutUs() { + const gradientText = "bg-gradient-to-r from-blue-primary to-blue-secondary bg-clip-text text-transparent" + + return ( +
+
+
+
+ PoliNetwork  + unisce gli studenti +
+
+ del Poli:  + gruppi, risorse e +
+
+ supporto,  + tutti in un'unica +
+
+ + community. +
+
+ + +
+
+ ) +} From 59d18ff41e97c2b5595d3e18207f49aa9571a860 Mon Sep 17 00:00:00 2001 From: Bianca Date: Thu, 12 Mar 2026 16:51:32 +0100 Subject: [PATCH 2/3] refactor: simplify AboutUs component rendering in Home --- src/app/page.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index c6200ce..96a0a4c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,7 +1,5 @@ import { AboutUs } from "@/components/home/about-us" export default function Home() { - return ( - - ) + return } From 36fe82220018b5a98d4fd48f5f252a5bed3b5292 Mon Sep 17 00:00:00 2001 From: Bianca Date: Thu, 9 Apr 2026 23:55:49 +0200 Subject: [PATCH 3/3] refactor: reorganize AboutUs component structure and improve layout --- src/app/page.tsx | 2 +- src/components/home/about-us.tsx | 33 +++++++------------------------- 2 files changed, 8 insertions(+), 27 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index fc31262..690408f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,9 +1,9 @@ -import { AboutUs } from "@/components/home/about-us" import Image from "next/image" import { FiFacebook, FiGithub, FiInstagram, FiLinkedin } from "react-icons/fi" import discord from "@/assets/icons/discord.svg" import telegram from "@/assets/icons/telegram.svg" import { CardMultipleIcons } from "@/components/card-multiple-icons" +import { AboutUs } from "@/components/home/about-us" import { Hero } from "@/components/home/hero" import { Materials } from "@/components/home/materials" diff --git a/src/components/home/about-us.tsx b/src/components/home/about-us.tsx index 621e71c..9b070a1 100644 --- a/src/components/home/about-us.tsx +++ b/src/components/home/about-us.tsx @@ -1,34 +1,15 @@ import { Button } from "@/components/ui/button" export function AboutUs() { - const gradientText = "bg-gradient-to-r from-blue-primary to-blue-secondary bg-clip-text text-transparent" - return ( -
-
-
-
- PoliNetwork  - unisce gli studenti -
-
- del Poli:  - gruppi, risorse e -
-
- supporto,  - tutti in un'unica -
-
- - community. -
-
+
+

+ PoliNetwork unisce gli studenti del Poli con gruppi, risorse e supporto in un'unica community. +

- -
+
) }