diff --git a/web/src/components/DemoBanner.tsx b/web/src/components/DemoBanner.tsx index 2f3dd56..a648ae1 100644 --- a/web/src/components/DemoBanner.tsx +++ b/web/src/components/DemoBanner.tsx @@ -13,7 +13,7 @@ const DemoBanner: React.FC = () => { return (
-
+
✨Slash - An open source, self-hosted bookmarks and link sharing platform { return ( <>
-
+
diff --git a/web/src/components/setting/AccountSection.tsx b/web/src/components/setting/AccountSection.tsx index 72f8884..1b4e27a 100644 --- a/web/src/components/setting/AccountSection.tsx +++ b/web/src/components/setting/AccountSection.tsx @@ -12,7 +12,7 @@ const AccountSection: React.FC = () => { return ( <> -
+

Account

{currentUser.nickname} diff --git a/web/src/components/setting/UserSection.tsx b/web/src/components/setting/UserSection.tsx index 49c4d40..fc11391 100644 --- a/web/src/components/setting/UserSection.tsx +++ b/web/src/components/setting/UserSection.tsx @@ -20,7 +20,7 @@ const MemberSection = () => { return ( <> -

+
diff --git a/web/src/components/setting/WorkspaceSection.tsx b/web/src/components/setting/WorkspaceSection.tsx index 44606e9..d05c4f1 100644 --- a/web/src/components/setting/WorkspaceSection.tsx +++ b/web/src/components/setting/WorkspaceSection.tsx @@ -17,7 +17,7 @@ const WorkspaceSection: React.FC = () => { }; return ( -
+

Workspace settings

{ return ( <> -
+

{currentUser.nickname}

Email: diff --git a/web/src/pages/Home.tsx b/web/src/pages/Home.tsx index 9313765..961e718 100644 --- a/web/src/pages/Home.tsx +++ b/web/src/pages/Home.tsx @@ -43,7 +43,7 @@ const Home: React.FC = () => { return ( <> -

+
diff --git a/web/src/pages/Setting.tsx b/web/src/pages/Setting.tsx index ecaeaec..ca3bb34 100644 --- a/web/src/pages/Setting.tsx +++ b/web/src/pages/Setting.tsx @@ -8,7 +8,7 @@ const Setting: React.FC = () => { const isAdmin = currentUser.role === "ADMIN"; return ( -
+
{isAdmin && ( <>