mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
added sample settings page
This commit is contained in:
parent
7a6a44cccf
commit
100c4c138a
29 changed files with 527 additions and 113 deletions
|
@ -6,8 +6,8 @@ import Head from 'next/head';
|
|||
import { PageCoverProvider } from '~/components/containers/PageCoverProvider';
|
||||
import { Modal } from '~/containers/dialogs/Modal';
|
||||
import { BottomContainer } from '~/containers/main/BottomContainer';
|
||||
import { MainLayout } from '~/containers/main/MainLayout';
|
||||
import { DragDetectorProvider } from '~/hooks/dom/useDragDetector';
|
||||
import { MainLayout } from '~/layouts/MainLayout';
|
||||
import { Sprites } from '~/sprites/Sprites';
|
||||
import { getMOBXStore } from '~/store';
|
||||
import { CONFIG } from '~/utils/config';
|
||||
|
|
18
src/pages/settings/index.tsx
Normal file
18
src/pages/settings/index.tsx
Normal file
|
@ -0,0 +1,18 @@
|
|||
import React from 'react';
|
||||
|
||||
import { PageTitle } from '~/components/common/PageTitle';
|
||||
import { ProfileSettings } from '~/components/profile/ProfileSettings';
|
||||
import { SettingsLayout } from '~/layouts/SettingsLayout';
|
||||
import { getPageTitle } from '~/utils/ssr/getPageTitle';
|
||||
|
||||
const SettingsPage = () => (
|
||||
<div>
|
||||
<PageTitle title={getPageTitle('Лаборатория')} />
|
||||
|
||||
<SettingsLayout>
|
||||
<ProfileSettings />
|
||||
</SettingsLayout>
|
||||
</div>
|
||||
);
|
||||
|
||||
export default SettingsPage;
|
18
src/pages/settings/notes.tsx
Normal file
18
src/pages/settings/notes.tsx
Normal file
|
@ -0,0 +1,18 @@
|
|||
import React from 'react';
|
||||
|
||||
import { PageTitle } from '~/components/common/PageTitle';
|
||||
import { SettingsLayout } from '~/layouts/SettingsLayout';
|
||||
import { getPageTitle } from '~/utils/ssr/getPageTitle';
|
||||
import { SettingsNotes } from '~/containers/settings/SettingsNotes';
|
||||
|
||||
const SettingsNotesPage = () => (
|
||||
<div>
|
||||
<PageTitle title={getPageTitle('Лаборатория')} />
|
||||
|
||||
<SettingsLayout>
|
||||
<SettingsNotes />
|
||||
</SettingsLayout>
|
||||
</div>
|
||||
);
|
||||
|
||||
export default SettingsNotesPage;
|
18
src/pages/settings/trash.tsx
Normal file
18
src/pages/settings/trash.tsx
Normal file
|
@ -0,0 +1,18 @@
|
|||
import React from 'react';
|
||||
|
||||
import { PageTitle } from '~/components/common/PageTitle';
|
||||
import { SettingsDeleted } from '~/containers/settings/SettingsDeleted';
|
||||
import { SettingsLayout } from '~/layouts/SettingsLayout';
|
||||
import { getPageTitle } from '~/utils/ssr/getPageTitle';
|
||||
|
||||
const SettingsDeletedPage = () => (
|
||||
<div>
|
||||
<PageTitle title={getPageTitle('Лаборатория')} />
|
||||
|
||||
<SettingsLayout>
|
||||
<SettingsDeleted />
|
||||
</SettingsLayout>
|
||||
</div>
|
||||
);
|
||||
|
||||
export default SettingsDeletedPage;
|
Loading…
Add table
Add a link
Reference in a new issue