From 1a8fec2215080f996755099c9fb230bdba8d86c5 Mon Sep 17 00:00:00 2001 From: Diksha Shukla Date: Thu, 31 Mar 2022 00:46:42 +0530 Subject: [PATCH] Updated the UI of button and elements - My story page --- src/components/ProductList.jsx | 2 +- src/components/StoriesList.js | 6 +++++- src/pages/MyStories.js | 26 +++++++++++++++----------- 3 files changed, 21 insertions(+), 13 deletions(-) diff --git a/src/components/ProductList.jsx b/src/components/ProductList.jsx index 5159cc02..ed7ea7aa 100644 --- a/src/components/ProductList.jsx +++ b/src/components/ProductList.jsx @@ -72,7 +72,7 @@ const ProductList = ({ setProductQuery }) => { return (
-

Select a Product

+

Select a Product

{!products && Array(productCount) diff --git a/src/components/StoriesList.js b/src/components/StoriesList.js index 7bc2b931..ecfaf11a 100644 --- a/src/components/StoriesList.js +++ b/src/components/StoriesList.js @@ -112,7 +112,11 @@ const StoriesList = (props) => { ) }) ) : ( -

No stories

+
+

+ No stories! Create your first story here +

+
)}
) diff --git a/src/pages/MyStories.js b/src/pages/MyStories.js index ac7fc487..e6de72e5 100644 --- a/src/pages/MyStories.js +++ b/src/pages/MyStories.js @@ -25,25 +25,29 @@ const MyStories = () => {
-

My Stories

+

My Stories