[WEB-700] chore: sidebar hamburger refactor (#3960)
This commit is contained in:
parent
861a1c4132
commit
4a93fdbdb4
33 changed files with 289 additions and 320 deletions
|
|
@ -17,6 +17,7 @@ import { AppLayout } from "layouts/app-layout";
|
|||
// assets
|
||||
import { NextPageWithLayout } from "lib/types";
|
||||
import emptyCycle from "public/empty-state/cycle.svg";
|
||||
import { CycleMobileHeader } from "components/cycles/cycle-mobile-header";
|
||||
// types
|
||||
|
||||
const CycleDetailPage: NextPageWithLayout = observer(() => {
|
||||
|
|
@ -85,7 +86,7 @@ const CycleDetailPage: NextPageWithLayout = observer(() => {
|
|||
|
||||
CycleDetailPage.getLayout = function getLayout(page: ReactElement) {
|
||||
return (
|
||||
<AppLayout header={<CycleIssuesHeader />} withProjectWrapper>
|
||||
<AppLayout header={<CycleIssuesHeader />} mobileHeader={<CycleMobileHeader />} withProjectWrapper>
|
||||
{page}
|
||||
</AppLayout>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ import { TCycleFilters } from "@plane/types";
|
|||
// constants
|
||||
import { CYCLE_TABS_LIST } from "constants/cycle";
|
||||
import { EmptyStateType } from "constants/empty-state";
|
||||
import CyclesListMobileHeader from "components/cycles/cycles-list-mobile-header";
|
||||
|
||||
const ProjectCyclesPage: NextPageWithLayout = observer(() => {
|
||||
// states
|
||||
|
|
@ -137,7 +138,7 @@ const ProjectCyclesPage: NextPageWithLayout = observer(() => {
|
|||
|
||||
ProjectCyclesPage.getLayout = function getLayout(page: ReactElement) {
|
||||
return (
|
||||
<AppLayout header={<CyclesHeader />} withProjectWrapper>
|
||||
<AppLayout header={<CyclesHeader />} mobileHeader={<CyclesListMobileHeader />} withProjectWrapper>
|
||||
{page}
|
||||
</AppLayout>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue