From c621257533d46f3a720dc1c5b27bb1640deaaf48 Mon Sep 17 00:00:00 2001 From: THIS ONE IS A LITTLE BIT TRICKY KRUB Date: Tue, 19 Nov 2024 21:31:55 +0700 Subject: [PATCH] feat: update About page layout with new InfoCard and improved grid structure --- src/app/about/infoCard.tsx | 2 +- src/app/about/page.tsx | 36 +++++++++++++++++++++++++++++------- 2 files changed, 30 insertions(+), 8 deletions(-) diff --git a/src/app/about/infoCard.tsx b/src/app/about/infoCard.tsx index 50acb32..32042ba 100644 --- a/src/app/about/infoCard.tsx +++ b/src/app/about/infoCard.tsx @@ -22,7 +22,7 @@ const InfoCard = ({ imageSrc, imageAlt, heading, content, link, buttonText }: Ca

))} - + ); diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index a442bb0..f88b165 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -1,8 +1,5 @@ "use client"; -import Image from "next/image"; import { Separator } from "@/components/ui/separator"; -import { Button } from "@/components/ui/button"; -import Link from "next/link"; import InfoCard from "./infoCard"; export default function About() { @@ -45,6 +42,7 @@ export default function About() { const imageData = { img1: "https://assets.republic.com/assets/static_pages/about/growth_opportunities/individual_investors-0e85dfd02359a24ac4b232be008c7168fc57d3437a2f526f5d5889b874b20221.png", img2: "https://assets.republic.com/assets/static_pages/about/growth_opportunities/accredited_investors-42d6aa046861adb7f0648f26ca3f798b07f3b13bf7024f7dc17c17acb78fdf2c.png", + img3: "https://assets.republic.com/assets/static_pages/about/growth_opportunities/entrepreneurs-a0ff450c2f3ba0cea82e2c55cd9265ad5612455c79ec831adaa2c94d09a0e617.png", }; return ( @@ -60,7 +58,7 @@ export default function About() {
-
+
- -
+ +
-
+ +
{/*