2023-11-02 18:27:44 +00:00
|
|
|
import React, { ReactElement } from "react";
|
2024-04-29 07:29:49 +00:00
|
|
|
// components
|
2024-03-19 14:38:35 +00:00
|
|
|
import { PageHead } from "@/components/core";
|
|
|
|
import { UserProfileHeader } from "@/components/headers";
|
|
|
|
import { ProfileIssuesPage } from "@/components/profile/profile-issues";
|
2024-04-29 07:29:49 +00:00
|
|
|
import ProfileIssuesMobileHeader from "@/components/profile/profile-issues-mobile-header";
|
|
|
|
// layouts
|
2024-03-19 14:38:35 +00:00
|
|
|
import { AppLayout } from "@/layouts/app-layout";
|
|
|
|
import { ProfileAuthWrapper } from "@/layouts/user-profile-layout";
|
2023-07-28 08:09:42 +00:00
|
|
|
// types
|
2024-03-19 14:38:35 +00:00
|
|
|
import { NextPageWithLayout } from "@/lib/types";
|
2023-07-28 08:09:42 +00:00
|
|
|
|
2024-02-20 08:06:38 +00:00
|
|
|
const ProfileAssignedIssuesPage: NextPageWithLayout = () => (
|
|
|
|
<>
|
|
|
|
<PageHead title="Profile - Assigned" />
|
|
|
|
<ProfileIssuesPage type="assigned" />
|
|
|
|
</>
|
|
|
|
);
|
2023-11-02 18:27:44 +00:00
|
|
|
|
|
|
|
ProfileAssignedIssuesPage.getLayout = function getLayout(page: ReactElement) {
|
2023-10-17 10:53:54 +00:00
|
|
|
return (
|
2024-04-29 07:29:49 +00:00
|
|
|
<AppLayout header={<UserProfileHeader type="Assigned" />} mobileHeader={<ProfileIssuesMobileHeader />}>
|
2023-11-02 18:27:44 +00:00
|
|
|
<ProfileAuthWrapper showProfileIssuesFilter>{page}</ProfileAuthWrapper>
|
2023-10-25 10:18:57 +00:00
|
|
|
</AppLayout>
|
2023-10-17 10:53:54 +00:00
|
|
|
);
|
2023-11-02 18:27:44 +00:00
|
|
|
};
|
2023-07-28 08:09:42 +00:00
|
|
|
|
2023-11-02 18:27:44 +00:00
|
|
|
export default ProfileAssignedIssuesPage;
|