chore:readme

This commit is contained in:
Damien Ostler 2024-05-26 18:21:18 -04:00
parent 4c16ebd1d7
commit 812c01e518
2 changed files with 4 additions and 1 deletions

View File

@ -59,6 +59,9 @@ The `GalleryThumbnail` component is a React component used to display a thumbnai
- `id` (string): The ID of the gallery to fetch the thumbnail for. - `id` (string): The ID of the gallery to fetch the thumbnail for.
- `onSelect` (function): A function to be called when the thumbnail is clicked. The gallery ID is passed as an argument. - `onSelect` (function): A function to be called when the thumbnail is clicked. The gallery ID is passed as an argument.
- `title` (string) : The name of the gallery.
- `subscription` (subscription) : The name of the subscription required for the gallery.
### State ### State
- `galleryId` (string): A state to store the gallery ID. - `galleryId` (string): A state to store the gallery ID.

View File

@ -46,7 +46,7 @@ const GalleryThumbnail = ({ id, columns, onSelect, title, subscription }: Galler
onClick={openGallery} onClick={openGallery}
style={{ width: '20rem', height: '20rem', objectFit: 'cover' }} style={{ width: '20rem', height: '20rem', objectFit: 'cover' }}
/> />
<div className="absolute top-2 left-0 w-full h-10% bg-gray-900 bg-opacity-10 backdrop-blur-md p-2 rounded-md shadow-lg flex flex-col justify-end"> <div className="absolute top-2 left-0 w-full h-10% bg-gray-900 bg-opacity-10 backdrop-blur-sm p-2 rounded-md shadow-lg flex flex-col justify-end">
<div className="text-white flex justify-between"> <div className="text-white flex justify-between">
<div> <div>
<div className="flex"> <div className="flex">