diff --git a/app/(main)/components/PhotoUpload.module.css b/app/(main)/components/PhotoUpload.module.css index 28c22203..ea2bfa51 100644 --- a/app/(main)/components/PhotoUpload.module.css +++ b/app/(main)/components/PhotoUpload.module.css @@ -19,12 +19,6 @@ background 0.2s ease; } -.container img { - width: 100%; - height: 100%; - object-fit: cover; -} - .container:hover { border-color: #2d3748; background: #edf2f7; diff --git a/app/(main)/team/people/[userId]/components/Dropdown.tsx b/app/(main)/team/people/[userId]/components/Dropdown.tsx index b7d81e8d..60a3880c 100644 --- a/app/(main)/team/people/[userId]/components/Dropdown.tsx +++ b/app/(main)/team/people/[userId]/components/Dropdown.tsx @@ -60,6 +60,7 @@ export default function Dropdown({ > - +
+ +
); } diff --git a/app/(main)/team/people/[userId]/page.tsx b/app/(main)/team/people/[userId]/page.tsx index 2ad58297..1d6802a3 100644 --- a/app/(main)/team/people/[userId]/page.tsx +++ b/app/(main)/team/people/[userId]/page.tsx @@ -2,6 +2,7 @@ import { createClient } from '@/app/lib/supabase/server-client'; import Breadcrumbs from '@/app/(main)/components/Breadcrumbs'; import Dropdown from '@/app/(main)/team/people/[userId]/components/Dropdown'; import Image from 'next/image'; +import styles from '@/app/(main)/profile/components/ProfileForm.module.css'; import imagePlaceholder from '@/public/image-placeholder.svg'; export default async function TeamProfilePage({ @@ -43,19 +44,45 @@ export default async function TeamProfilePage({ [`/team/people/${userId}`]: `${user.first_name || 'FirstName'} ${user.last_name || 'LastName'}`, }} /> +

Profile

+ {/* same styling as profile page */} +
+
+
+ {user.first_name +
+

User Information

- {user.first_name -

- Name: {user.first_name || 'FirstName'} {user.last_name || 'LastName'} -

-

Email: {user.email}

- +
+
+
+ +

{user.first_name}

+
+
+ +

{user.last_name}

+
+
+
+ +
+ +

{user.email}

+
+ +
+ + +
+
+
); } diff --git a/app/globals.css b/app/globals.css index b81c6cbb..6507e355 100644 --- a/app/globals.css +++ b/app/globals.css @@ -421,5 +421,4 @@ Table { .button-spacing { display: flex; gap: 12px; - flex-wrap: wrap; }