mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
709d3a115b
* [WEB-711] style: profile and its settings pages responsiveness * chore: linting issues fix * fix: mobile-view padding --------- Co-authored-by: LAKHAN BAHETI <lakhanbaheti9@gmail.com>
29 lines
1023 B
TypeScript
29 lines
1023 B
TypeScript
import React, { ReactElement } from "react";
|
|
// components
|
|
import { PageHead } from "@/components/core";
|
|
import { UserProfileHeader } from "@/components/headers";
|
|
import { ProfileIssuesPage } from "@/components/profile/profile-issues";
|
|
import ProfileIssuesMobileHeader from "@/components/profile/profile-issues-mobile-header";
|
|
// layouts
|
|
import { AppLayout } from "@/layouts/app-layout";
|
|
import { ProfileAuthWrapper } from "@/layouts/user-profile-layout";
|
|
// types
|
|
import { NextPageWithLayout } from "@/lib/types";
|
|
|
|
const ProfileAssignedIssuesPage: NextPageWithLayout = () => (
|
|
<>
|
|
<PageHead title="Profile - Assigned" />
|
|
<ProfileIssuesPage type="assigned" />
|
|
</>
|
|
);
|
|
|
|
ProfileAssignedIssuesPage.getLayout = function getLayout(page: ReactElement) {
|
|
return (
|
|
<AppLayout header={<UserProfileHeader type="Assigned" />} mobileHeader={<ProfileIssuesMobileHeader />}>
|
|
<ProfileAuthWrapper showProfileIssuesFilter>{page}</ProfileAuthWrapper>
|
|
</AppLayout>
|
|
);
|
|
};
|
|
|
|
export default ProfileAssignedIssuesPage;
|