diff --git a/src/pages/ArtDescription.jsx b/src/pages/ArtDescription.jsx index 229fb13..8ff0646 100644 --- a/src/pages/ArtDescription.jsx +++ b/src/pages/ArtDescription.jsx @@ -41,13 +41,23 @@ const ArtDescription = () => { {/* Card Body */} -
{artItem.description}
- - - +
{artItem.description}
+ +
+ Year: + {artItem.date} +
+
+ Style: + {artItem.style} +
+
+ Dimensions: + {artItem.dimensions} +
{/* Location Detail */} -
+
Location: {artItem.location} {flagSrc && ( @@ -81,11 +91,4 @@ const getFlagSrc = (countryCode) => { : ''; }; -const ArtDetail = ({ label, detail }) => ( -
- {label}: - {detail} -
-); - export default ArtDescription;