diff --git a/components/blocks/TeamGrid.tsx b/components/blocks/TeamGrid.tsx index f167fdb1b..d614942b3 100644 --- a/components/blocks/TeamGrid.tsx +++ b/components/blocks/TeamGrid.tsx @@ -49,25 +49,25 @@ export function TeamGrid({ members }: TeamGridProps) { className="group flex flex-col bg-white rounded-[2rem] border border-neutral-100 shadow-[0_8px_30px_rgb(0,0,0,0.04)] hover:shadow-[0_20px_40px_rgba(238,114,3,0.1)] transition-all duration-500 hover:-translate-y-2 overflow-hidden" > {/* Card Banner */} -
+
{/* Overlapping Profile Picture */} -
+
{member.image && (typeof member.image === 'string' ? member.image : member.image.url) ? ( {member.name} ) : (
- +
)}
diff --git a/package.json b/package.json index 5013ed814..baa02c28a 100644 --- a/package.json +++ b/package.json @@ -140,7 +140,7 @@ "prepare": "husky", "preinstall": "npx only-allow pnpm" }, - "version": "2.4.47", + "version": "2.4.48", "pnpm": { "onlyBuiltDependencies": [ "@parcel/watcher", diff --git a/public/assets/photos/team/danny.jpg b/public/assets/photos/team/danny.jpg index 5d35bc715..82ddaf9e4 100644 Binary files a/public/assets/photos/team/danny.jpg and b/public/assets/photos/team/danny.jpg differ diff --git a/public/assets/photos/team/dirk.jpg b/public/assets/photos/team/dirk.jpg index 23a90e4a3..e85518b53 100644 Binary files a/public/assets/photos/team/dirk.jpg and b/public/assets/photos/team/dirk.jpg differ diff --git a/public/assets/photos/team/kathrin.jpg b/public/assets/photos/team/kathrin.jpg index fb0c591b3..292d9788b 100644 Binary files a/public/assets/photos/team/kathrin.jpg and b/public/assets/photos/team/kathrin.jpg differ diff --git a/public/assets/photos/team/katrin-heigold.jpg b/public/assets/photos/team/katrin-heigold.jpg index 0fb1fc4e3..5e1b91339 100644 Binary files a/public/assets/photos/team/katrin-heigold.jpg and b/public/assets/photos/team/katrin-heigold.jpg differ diff --git a/public/assets/photos/team/maik.jpg b/public/assets/photos/team/maik.jpg index c858bab31..0405a5877 100644 Binary files a/public/assets/photos/team/maik.jpg and b/public/assets/photos/team/maik.jpg differ diff --git a/public/assets/photos/team/martin.jpg b/public/assets/photos/team/martin.jpg index 8911b39e4..688154e1e 100644 Binary files a/public/assets/photos/team/martin.jpg and b/public/assets/photos/team/martin.jpg differ diff --git a/public/assets/photos/team/oliver.jpg b/public/assets/photos/team/oliver.jpg index 753bddf8a..c3f390b8b 100644 Binary files a/public/assets/photos/team/oliver.jpg and b/public/assets/photos/team/oliver.jpg differ diff --git a/public/assets/photos/team/sven.jpg b/public/assets/photos/team/sven.jpg index 875cf2188..10d54e30e 100644 Binary files a/public/assets/photos/team/sven.jpg and b/public/assets/photos/team/sven.jpg differ diff --git a/tests/team-images.test.ts b/tests/team-images.test.ts index ffb02053e..2f15fbd6d 100644 --- a/tests/team-images.test.ts +++ b/tests/team-images.test.ts @@ -58,4 +58,11 @@ describe('Team Images and Team Page Content', () => { expect(deContent).toContain('/assets/photos/team/katrin-heigold.jpg'); expect(enContent).toContain('/assets/photos/team/katrin-heigold.jpg'); }); + + it('should verify TeamGrid component uses larger profile picture dimensions', () => { + const teamGridPath = path.join(process.cwd(), 'components', 'blocks', 'TeamGrid.tsx'); + const teamGridContent = fs.readFileSync(teamGridPath, 'utf8'); + + expect(teamGridContent).toContain('w-32 h-32'); + }); });