Skip to content

Commit

Permalink
fix: styling
Browse files Browse the repository at this point in the history
  • Loading branch information
gmat224 committed Dec 24, 2024
1 parent f9d8b9e commit 2a812e2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions strapi/src/api/people/content-types/people/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
"type": "string",
"required": true
},
"Is_Member": {
"type": "boolean",
"default": false,
"required": true
},
"Status": {
"type": "enumeration",
"enum": [
Expand Down
10 changes: 5 additions & 5 deletions web/src/components/home-page/SomePhotos.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ function SomePhotos({ photos, noPhotos }: SomePhotosProps) {
<h1 className="pt-12 text-center text-4xl font-bold text-black">
Previous Events
</h1>
<div className="flex w-full flex-col justify-center py-12">
<div className="flex flex-col justify-center lg:flex-row">
<div className="relative flex flex-col items-center space-x-4 lg:flex-row">
<div className="flex w-full justify-center py-12">
<div className="flex-row justify-center">
<div className="relative flex-row items-center space-x-4">
{noPhotos ? (
<p>Photos coming soon!</p>
) : (
<div>
<div className="flex-col lg:flex lg:flex-row">
{/* Only grab first 4 images */}
{photos.slice(0, 4).map((photo, index) => (
<div
Expand Down Expand Up @@ -50,4 +50,4 @@ function SomePhotos({ photos, noPhotos }: SomePhotosProps) {
);
}

export default SomePhotos;
export default SomePhotos;

0 comments on commit 2a812e2

Please sign in to comment.