init commit,

This commit is contained in:
louiscklaw
2025-05-28 09:55:51 +08:00
commit efe70ceb69
8042 changed files with 951668 additions and 0 deletions

View File

@@ -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 />
</>
);
}

View File

@@ -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 />
</>
);
}

View File

@@ -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 />
</>
);
}

View File

@@ -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 />
</>
);
}

View File

@@ -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 />
</>
);
}

View 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 />
</>
);
}

View 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} />
</>
);
}

View 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 />
</>
);
}

View 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 />
</>
);
}

View 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 />
</>
);
}