From 2b1ef7be3e2e8f040d4c2b7db6774eeb220b568e Mon Sep 17 00:00:00 2001 From: Awesh Choudhary <66569398+aweshchoudhary@users.noreply.github.com> Date: Thu, 23 Mar 2023 20:01:45 +0530 Subject: [PATCH] SEO Fixed and Added Semantic Html Tags (#98) --- components/Mobile/Navbar.tsx | 4 ++-- components/Sidebar/Sidebar.tsx | 8 ++++---- pages/index.tsx | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/components/Mobile/Navbar.tsx b/components/Mobile/Navbar.tsx index 8728476..f9ff9c7 100644 --- a/components/Mobile/Navbar.tsx +++ b/components/Mobile/Navbar.tsx @@ -9,7 +9,7 @@ interface Props { export const Navbar: FC = ({ selectedConversation, onNewConversation }) => { return ( -
+
+ ); }; diff --git a/components/Sidebar/Sidebar.tsx b/components/Sidebar/Sidebar.tsx index 5f6d298..03fc41c 100644 --- a/components/Sidebar/Sidebar.tsx +++ b/components/Sidebar/Sidebar.tsx @@ -40,8 +40,8 @@ export const Sidebar: FC = ({ loading, conversations, lightMode, selected }, [searchTerm, conversations]); return ( -
-
+
+ {conversations.length > 1 && ( = ({ loading, conversations, lightMode, selected onExportConversations={onExportConversations} onImportConversations={onImportConversations} /> -
+ ); }; diff --git a/pages/index.tsx b/pages/index.tsx index b57eeea..5af5df4 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -352,7 +352,7 @@ export default function Home() { /> {selectedConversation && ( -
+
-
+
{showSidebar ? ( <> -
-
+ + )} );