better admin page/list link
This commit is contained in:
17
src/features/admin/components/admin-page.tsx
Normal file
17
src/features/admin/components/admin-page.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { Title, List, Divider } from "@mantine/core";
|
||||
import ListLink from "@/components/list-link";
|
||||
import Page from "@/components/page";
|
||||
import { TrophyIcon } from "@phosphor-icons/react";
|
||||
|
||||
const AdminPage = () => {
|
||||
return (
|
||||
<Page noPadding>
|
||||
<Title pl='sm' order={2} mb="md">Admin</Title>
|
||||
<List>
|
||||
<ListLink label="Manage Tournaments" Icon={TrophyIcon} to="/admin/tournaments" />
|
||||
</List>
|
||||
</Page>
|
||||
);
|
||||
};
|
||||
|
||||
export default AdminPage;
|
||||
Reference in New Issue
Block a user