✨ Add preferences page to navbar
This commit is contained in:
@@ -13,6 +13,7 @@ import { IconArrowRight } from '@tabler/icons-react';
|
||||
import { useSession } from 'next-auth/react';
|
||||
import Head from 'next/head';
|
||||
import Image from 'next/image';
|
||||
import Link from 'next/link';
|
||||
import { MainLayout } from '~/components/layout/admin/main-admin.layout';
|
||||
import { useScreenLargerThan } from '~/hooks/useScreenLargerThan';
|
||||
|
||||
@@ -85,7 +86,7 @@ const ManagementPage = () => {
|
||||
</Group>
|
||||
</Card>
|
||||
</UnstyledButton>
|
||||
<UnstyledButton>
|
||||
<UnstyledButton component={Link} href="/manage/user/invites">
|
||||
<Card className={classes.quickActionCard}>
|
||||
<Group spacing={30} noWrap>
|
||||
<Stack spacing={0}>
|
||||
@@ -96,7 +97,7 @@ const ManagementPage = () => {
|
||||
</Group>
|
||||
</Card>
|
||||
</UnstyledButton>
|
||||
<UnstyledButton>
|
||||
<UnstyledButton component={Link} href="/manage/preferences">
|
||||
<Card className={classes.quickActionCard}>
|
||||
<Group spacing={30} noWrap>
|
||||
<Stack spacing={0}>
|
||||
|
||||
@@ -1,12 +1,16 @@
|
||||
import { Title } from "@mantine/core";
|
||||
import { MainLayout } from "~/components/layout/admin/main-admin.layout";
|
||||
import { Title } from '@mantine/core';
|
||||
import Head from 'next/head';
|
||||
import { MainLayout } from '~/components/layout/admin/main-admin.layout';
|
||||
|
||||
const PreferencesPage = () => {
|
||||
return (
|
||||
<MainLayout>
|
||||
<Title>Preferences</Title>
|
||||
</MainLayout>
|
||||
)
|
||||
}
|
||||
return (
|
||||
<MainLayout>
|
||||
<Head>
|
||||
<title>Preferences • Homarr</title>
|
||||
</Head>
|
||||
<Title>Preferences</Title>
|
||||
</MainLayout>
|
||||
);
|
||||
};
|
||||
|
||||
export default PreferencesPage
|
||||
export default PreferencesPage;
|
||||
|
||||
Reference in New Issue
Block a user