From b8eecb4550daabaa40099cd00302776aad964ca6 Mon Sep 17 00:00:00 2001 From: zuies Date: Fri, 22 Dec 2023 12:28:19 +0300 Subject: [PATCH 1/2] add community name to sidebars --- src/components/layouts/Sidebar.tsx | 2 ++ src/components/layouts/xs/SidebarXs.tsx | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/layouts/Sidebar.tsx b/src/components/layouts/Sidebar.tsx index 89a91172..0daf0a76 100644 --- a/src/components/layouts/Sidebar.tsx +++ b/src/components/layouts/Sidebar.tsx @@ -17,6 +17,7 @@ import Link from 'next/link'; import { FiSettings } from 'react-icons/fi'; import { ICommunityDiscordPlatfromProps } from '../../utils/interfaces'; import { useToken } from '../../context/TokenContext'; +import TcText from '../shared/TcText'; const Sidebar = () => { const router = useRouter(); @@ -115,6 +116,7 @@ const Sidebar = () => {
)}
+ diff --git a/src/components/layouts/xs/SidebarXs.tsx b/src/components/layouts/xs/SidebarXs.tsx index ea5ad58a..bd95d84d 100644 --- a/src/components/layouts/xs/SidebarXs.tsx +++ b/src/components/layouts/xs/SidebarXs.tsx @@ -21,6 +21,7 @@ import { conf } from '../../../configs'; import { FiSettings } from 'react-icons/fi'; import { useToken } from '../../../context/TokenContext'; import { ICommunityDiscordPlatfromProps } from '../../../utils/interfaces'; +import TcText from '../../shared/TcText'; const Sidebar = () => { const router = useRouter(); @@ -106,7 +107,7 @@ const Sidebar = () => { <>
-
+
{connectedPlatform && @@ -128,6 +129,7 @@ const Sidebar = () => { )}
+
From 7fbbfec4ca20b5139cf32a95cbee8a44d7e55795 Mon Sep 17 00:00:00 2001 From: zuies Date: Fri, 22 Dec 2023 12:29:28 +0300 Subject: [PATCH 2/2] add fontWeight to community name --- src/components/layouts/Sidebar.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/layouts/Sidebar.tsx b/src/components/layouts/Sidebar.tsx index 0daf0a76..3fb55c95 100644 --- a/src/components/layouts/Sidebar.tsx +++ b/src/components/layouts/Sidebar.tsx @@ -116,7 +116,11 @@ const Sidebar = () => {
)}
- +