mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
added sample settings page
This commit is contained in:
parent
7a6a44cccf
commit
100c4c138a
29 changed files with 527 additions and 113 deletions
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