init commit,
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { CONFIG } from 'src/global-config';
|
||||
|
||||
import { AccountBillingView } from 'src/sections/account/view';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
const metadata = { title: `Account billing settings | Dashboard - ${CONFIG.appName}` };
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<>
|
||||
<title>{metadata.title}</title>
|
||||
|
||||
<AccountBillingView />
|
||||
</>
|
||||
);
|
||||
}
|
@@ -0,0 +1,17 @@
|
||||
import { CONFIG } from 'src/global-config';
|
||||
|
||||
import { AccountChangePasswordView } from 'src/sections/account/view';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
const metadata = { title: `Account change password settings | Dashboard - ${CONFIG.appName}` };
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<>
|
||||
<title>{metadata.title}</title>
|
||||
|
||||
<AccountChangePasswordView />
|
||||
</>
|
||||
);
|
||||
}
|
@@ -0,0 +1,17 @@
|
||||
import { CONFIG } from 'src/global-config';
|
||||
|
||||
import { AccountGeneralView } from 'src/sections/account/view';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
const metadata = { title: `Account general settings | Dashboard - ${CONFIG.appName}` };
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<>
|
||||
<title>{metadata.title}</title>
|
||||
|
||||
<AccountGeneralView />
|
||||
</>
|
||||
);
|
||||
}
|
@@ -0,0 +1,19 @@
|
||||
import { CONFIG } from 'src/global-config';
|
||||
|
||||
import { AccountNotificationsView } from 'src/sections/account/view';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
const metadata = {
|
||||
title: `Account notifications settings | Dashboard - ${CONFIG.appName}`,
|
||||
};
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<>
|
||||
<title>{metadata.title}</title>
|
||||
|
||||
<AccountNotificationsView />
|
||||
</>
|
||||
);
|
||||
}
|
@@ -0,0 +1,17 @@
|
||||
import { CONFIG } from 'src/global-config';
|
||||
|
||||
import { AccountSocialsView } from 'src/sections/account/view';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
const metadata = { title: `Account socials settings | Dashboard - ${CONFIG.appName}` };
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<>
|
||||
<title>{metadata.title}</title>
|
||||
|
||||
<AccountSocialsView />
|
||||
</>
|
||||
);
|
||||
}
|
17
03_source/frontend/src/pages/dashboard/user/cards.tsx
Normal file
17
03_source/frontend/src/pages/dashboard/user/cards.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { CONFIG } from 'src/global-config';
|
||||
|
||||
import { UserCardsView } from 'src/sections/user/view';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
const metadata = { title: `User cards | Dashboard - ${CONFIG.appName}` };
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<>
|
||||
<title>{metadata.title}</title>
|
||||
|
||||
<UserCardsView />
|
||||
</>
|
||||
);
|
||||
}
|
24
03_source/frontend/src/pages/dashboard/user/edit.tsx
Normal file
24
03_source/frontend/src/pages/dashboard/user/edit.tsx
Normal file
@@ -0,0 +1,24 @@
|
||||
import { useParams } from 'src/routes/hooks';
|
||||
|
||||
import { CONFIG } from 'src/global-config';
|
||||
import { _userList } from 'src/_mock/_user';
|
||||
|
||||
import { UserEditView } from 'src/sections/user/view';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
const metadata = { title: `User edit | Dashboard - ${CONFIG.appName}` };
|
||||
|
||||
export default function Page() {
|
||||
const { id = '' } = useParams();
|
||||
|
||||
const currentUser = _userList.find((user) => user.id === id);
|
||||
|
||||
return (
|
||||
<>
|
||||
<title>{metadata.title}</title>
|
||||
|
||||
<UserEditView user={currentUser} />
|
||||
</>
|
||||
);
|
||||
}
|
17
03_source/frontend/src/pages/dashboard/user/list.tsx
Normal file
17
03_source/frontend/src/pages/dashboard/user/list.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { CONFIG } from 'src/global-config';
|
||||
|
||||
import { UserListView } from 'src/sections/user/view';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
const metadata = { title: `User list | Dashboard - ${CONFIG.appName}` };
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<>
|
||||
<title>{metadata.title}</title>
|
||||
|
||||
<UserListView />
|
||||
</>
|
||||
);
|
||||
}
|
17
03_source/frontend/src/pages/dashboard/user/new.tsx
Normal file
17
03_source/frontend/src/pages/dashboard/user/new.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { CONFIG } from 'src/global-config';
|
||||
|
||||
import { UserCreateView } from 'src/sections/user/view';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
const metadata = { title: `Create a new user | Dashboard - ${CONFIG.appName}` };
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<>
|
||||
<title>{metadata.title}</title>
|
||||
|
||||
<UserCreateView />
|
||||
</>
|
||||
);
|
||||
}
|
17
03_source/frontend/src/pages/dashboard/user/profile.tsx
Normal file
17
03_source/frontend/src/pages/dashboard/user/profile.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { CONFIG } from 'src/global-config';
|
||||
|
||||
import { UserProfileView } from 'src/sections/user/view';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
const metadata = { title: `User profile | Dashboard - ${CONFIG.appName}` };
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<>
|
||||
<title>{metadata.title}</title>
|
||||
|
||||
<UserProfileView />
|
||||
</>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user