Skip to content

Commit

Permalink
added exhibit component
Browse files Browse the repository at this point in the history
  • Loading branch information
jxmoose committed Mar 16, 2024
1 parent cdaf312 commit 39b0d9b
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 124 deletions.
26 changes: 26 additions & 0 deletions src/components/userComponents/Exhibit/Exhibit.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import React from 'react';

/**
*
* @param root0
* @param root0.title
* @param root0.createdAt
* @param root0.contentLink
* @param root0.id
* @returns exhibit component
*/
export default function Exhibit({
title,
createdAt,
contentLink,
id,
}: {
title: string;
createdAt: string;
contentLink: string;
id: string;
}) {
return (
<li key={id} />
);
}
124 changes: 0 additions & 124 deletions src/components/userComponents/ExhibitDisplay/ExhibitDisplay.module.css

This file was deleted.

13 changes: 13 additions & 0 deletions src/components/userComponents/ExhibitDisplay/ExhibitDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@ import React from 'react';
import Image from 'next/image';
import styles from './ExhibitDisplay.module.css';

/**
*
* @param root0
* @param root0.name
* @param root0.location
* @param root0.information
* @param root0.description
* @param root0.relatednews
* @param root0.topimage
* @param root0.media
* @param root0.bottomimage
* @param root0.moretext
*/
export default function ExhibitDisplay({
name,
location,
Expand Down

0 comments on commit 39b0d9b

Please sign in to comment.