From b5f50fe16fa672a038bdbd2161e170c5c5d2605a Mon Sep 17 00:00:00 2001 From: Wahyu Kurniawan Date: Tue, 5 Mar 2024 16:16:45 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20style:=20adjust=20layout=20for?= =?UTF-8?q?=20mobile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/shared/Sidebar/Sidebar.tsx | 18 +++------- .../frontend/src/pages/org-slug/index.tsx | 4 +-- .../frontend/src/pages/org-slug/layout.tsx | 33 +++++++++++++++++-- 3 files changed, 36 insertions(+), 19 deletions(-) diff --git a/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx b/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx index c60ab4d3..b61b1fee 100644 --- a/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx +++ b/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx @@ -1,5 +1,5 @@ import React, { useCallback, useEffect, useState } from 'react'; -import { Link, NavLink, useNavigate, useParams } from 'react-router-dom'; +import { NavLink, useNavigate, useParams } from 'react-router-dom'; import { Organization } from 'gql-client'; import { Option } from '@material-tailwind/react'; @@ -16,7 +16,7 @@ import { SettingsSlidersIcon, } from 'components/shared/CustomIcon'; import { Tabs } from 'components/shared/Tabs'; -import { Heading } from 'components/shared/Heading'; +import { Logo } from 'components/Logo'; export const Sidebar = () => { const { orgSlug } = useParams(); @@ -43,18 +43,8 @@ export const Sidebar = () => { }, [disconnect, navigate]); return ( -