From f2fa76c736df3bdf052eb02caf747aedeec914f9 Mon Sep 17 00:00:00 2001 From: Jojo Ortiz Date: Fri, 12 Jan 2024 12:00:09 -0800 Subject: [PATCH] update TeamMember styles and add grid --- app/company/about-us/page.tsx | 19 +++++++------ app/components/about-us/TeamMember.tsx | 39 +++++++++++++++----------- 2 files changed, 32 insertions(+), 26 deletions(-) diff --git a/app/company/about-us/page.tsx b/app/company/about-us/page.tsx index e8cf470d..db79f3b0 100644 --- a/app/company/about-us/page.tsx +++ b/app/company/about-us/page.tsx @@ -49,18 +49,19 @@ const AboutPage = () => {
- {sections.map((section) => ( -
-
-
- ))} -
+
+
+
+
-
- - +
+ +
+
+
+
{ diff --git a/app/components/about-us/TeamMember.tsx b/app/components/about-us/TeamMember.tsx index 8a9085ef..d66ef814 100644 --- a/app/components/about-us/TeamMember.tsx +++ b/app/components/about-us/TeamMember.tsx @@ -1,4 +1,5 @@ import { imgPrefix } from "@/app/hooks/useImgPrefix"; +import Image from "next/image"; interface TeamMemberProps { image: string; @@ -12,24 +13,28 @@ const TeamMember: React.FC = ({ image, name, title, bio, url }) => { return ( -
-
-
- - {`${name}, - +
+
+
+
+ + {`${name}, + +
+
+
+

{name}

+

{title}

+ {bio && +

{bio}

+ }
-
-
-

{name}

-

{title}

- {bio && -

{bio}

- }
)