Added JSDoc comments to Gallery page

This commit is contained in:
Sarim-Sheikh-2003 2024-01-20 13:36:54 -07:00
parent 225c241ac0
commit 503d989e1b

View File

@ -11,6 +11,13 @@ const images = [
{ src: 'https://i.redd.it/people-already-making-good-use-of-that-public-domain-v0-krh76hi874ac1.png?width=2000&format=png&auto=webp&s=405581952294275a5d6cf05a97c05b3387b73f34', alt: 'Image 6'} { src: 'https://i.redd.it/people-already-making-good-use-of-that-public-domain-v0-krh76hi874ac1.png?width=2000&format=png&auto=webp&s=405581952294275a5d6cf05a97c05b3387b73f34', alt: 'Image 6'}
]; ];
/**
* @param {null} null - requires onthing
* @returns {JSX.Element} JSX - HTML tags and JS functionality
* @description Gallery Page
* @author Sarim <sheikhsarim20@gmail.com>
* @todo move url links to json file until backend is imlemented
*/
export default function Gallery() { export default function Gallery() {
const [open, setOpen] = useState(false) const [open, setOpen] = useState(false)
const [display, setDisplay] = useState('') const [display, setDisplay] = useState('')