Skip to content

Commit

Permalink
Merge pull request #231 from TogetherCrew/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
cyri113 authored Dec 22, 2023
2 parents 54de3ff + 465d5a2 commit ef5c07d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/components/layouts/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -115,6 +116,11 @@ const Sidebar = () => {
<div className="bg-secondary text-center w-10 h-10 rounded-full align-center flex flex-col justify-center text-xs" />
)}
</div>
<TcText
text={community?.name}
variant="body1"
fontWeight="bold"
/>
</div>
</div>
</div>
Expand Down
4 changes: 3 additions & 1 deletion src/components/layouts/xs/SidebarXs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -106,7 +107,7 @@ const Sidebar = () => {
<>
<div className="bg-gray-background sticky top-0 py-4 px-5 flex md:hidden flex-row justify-between items-center z-50">
<div className="flex flex-row">
<div className="flex flex-row text-center items-center">
<div className="flex flex-row text-center items-center space-x-3">
<div className="w-8 h-8 mb-2 mr-3">
<div className="w-10 h-10 mx-auto">
{connectedPlatform &&
Expand All @@ -128,6 +129,7 @@ const Sidebar = () => {
)}
</div>
</div>
<TcText text={community?.name} variant="h6" />
</div>
</div>
<FaBars size={30} onClick={handleDrawerOpen} />
Expand Down

0 comments on commit ef5c07d

Please sign in to comment.