From 2a812e28ad050f62d5767a3abd43da50987ece93 Mon Sep 17 00:00:00 2001 From: Guryash Date: Tue, 24 Dec 2024 21:24:29 +1300 Subject: [PATCH] fix: styling --- strapi/src/api/people/content-types/people/schema.json | 5 +++++ web/src/components/home-page/SomePhotos.tsx | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/strapi/src/api/people/content-types/people/schema.json b/strapi/src/api/people/content-types/people/schema.json index c884861..a01a971 100644 --- a/strapi/src/api/people/content-types/people/schema.json +++ b/strapi/src/api/people/content-types/people/schema.json @@ -32,6 +32,11 @@ "type": "string", "required": true }, + "Is_Member": { + "type": "boolean", + "default": false, + "required": true + }, "Status": { "type": "enumeration", "enum": [ diff --git a/web/src/components/home-page/SomePhotos.tsx b/web/src/components/home-page/SomePhotos.tsx index 79845ef..c218bd9 100644 --- a/web/src/components/home-page/SomePhotos.tsx +++ b/web/src/components/home-page/SomePhotos.tsx @@ -12,13 +12,13 @@ function SomePhotos({ photos, noPhotos }: SomePhotosProps) {

Previous Events

-
-
-
+
+
+
{noPhotos ? (

Photos coming soon!

) : ( -
+
{/* Only grab first 4 images */} {photos.slice(0, 4).map((photo, index) => (