2023-04-05 14:29:57 +00:00
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
import { Layout } from 'soapbox/components/ui';
|
|
|
|
import LinkFooter from 'soapbox/features/ui/components/link-footer';
|
|
|
|
import { MyGroupsPanel, NewGroupPanel } from 'soapbox/features/ui/util/async-components';
|
|
|
|
|
|
|
|
interface IGroupsPage {
|
2023-10-02 18:54:02 +00:00
|
|
|
children: React.ReactNode;
|
2023-04-05 14:29:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/** Page to display groups. */
|
|
|
|
const ManageGroupsPage: React.FC<IGroupsPage> = ({ children }) => (
|
|
|
|
<>
|
|
|
|
<Layout.Main>
|
|
|
|
{children}
|
|
|
|
</Layout.Main>
|
|
|
|
|
|
|
|
<Layout.Aside>
|
2023-10-07 22:14:45 +00:00
|
|
|
<NewGroupPanel />
|
|
|
|
<MyGroupsPanel />
|
2023-04-05 14:29:57 +00:00
|
|
|
<LinkFooter />
|
|
|
|
</Layout.Aside>
|
|
|
|
</>
|
|
|
|
);
|
|
|
|
|
|
|
|
export default ManageGroupsPage;
|