2022-04-28 17:47:30 +00:00
|
|
|
import React from 'react';
|
|
|
|
|
2022-04-28 18:08:46 +00:00
|
|
|
import { Layout } from 'soapbox/components/ui';
|
2022-04-28 17:47:30 +00:00
|
|
|
import {
|
|
|
|
LatestAccountsPanel,
|
|
|
|
} from 'soapbox/features/ui/util/async-components';
|
|
|
|
|
2022-11-16 13:32:32 +00:00
|
|
|
import LinkFooter from '../features/ui/components/link-footer';
|
2022-04-28 17:47:30 +00:00
|
|
|
|
2023-01-10 23:03:15 +00:00
|
|
|
interface IAdminPage {
|
2023-10-02 18:54:02 +00:00
|
|
|
children: React.ReactNode;
|
2023-01-10 23:03:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const AdminPage: React.FC<IAdminPage> = ({ children }) => {
|
2022-04-28 17:47:30 +00:00
|
|
|
return (
|
2022-04-28 23:18:55 +00:00
|
|
|
<>
|
2022-04-28 18:08:46 +00:00
|
|
|
<Layout.Main>
|
|
|
|
{children}
|
|
|
|
</Layout.Main>
|
|
|
|
|
|
|
|
<Layout.Aside>
|
2023-10-07 22:14:45 +00:00
|
|
|
<LatestAccountsPanel limit={5} />
|
2022-04-28 18:08:46 +00:00
|
|
|
<LinkFooter />
|
|
|
|
</Layout.Aside>
|
2022-04-28 23:18:55 +00:00
|
|
|
</>
|
2022-04-28 17:47:30 +00:00
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default AdminPage;
|