From 2871ec83585448beb816f01284007e131917ced3 Mon Sep 17 00:00:00 2001 From: Haziq Khairi Date: Wed, 10 Jan 2024 18:58:18 +0800 Subject: [PATCH] style: update art description page --- src/pages/ArtDescription.jsx | 39 ++++++++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 11 deletions(-) diff --git a/src/pages/ArtDescription.jsx b/src/pages/ArtDescription.jsx index 63faa50..834d417 100644 --- a/src/pages/ArtDescription.jsx +++ b/src/pages/ArtDescription.jsx @@ -19,7 +19,7 @@ const ArtDescription = () => { // } return ( -
+
{ objectFit="cover" width="100%" height="100%" + className="shadow-lg rounded-lg" />
- - -

{artItem.name}

-

by {artItem.artist}

+ + +
+

+ {artItem.name} +

+

by {artItem.artist}

+
- -

{artItem.description}

-

Year: {artItem.date}

-

Style: {artItem.style}

-

Dimensions: {artItem.dimensions}

-

Location: {artItem.location}

+ +
{artItem.description}
+
+
+ Year: {artItem.date} +
+
+ Style: {artItem.style} +
+
+ Dimensions:{' '} + {artItem.dimensions} +
+
+ Location:{' '} + {artItem.location} +
+