mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 02:43:33 +00:00
Move settings to route instead of modal
This commit is contained in:
parent
0c13b09029
commit
bc5f1f13f0
11 changed files with 159 additions and 151 deletions
21
src/renderer/features/settings/routes/settings-route.tsx
Normal file
21
src/renderer/features/settings/routes/settings-route.tsx
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import { Flex } from '@mantine/core';
|
||||
import { SettingsContent } from '/@/renderer/features/settings/components/settings-content';
|
||||
import { SettingsHeader } from '/@/renderer/features/settings/components/settings-header';
|
||||
import { AnimatedPage } from '/@/renderer/features/shared';
|
||||
|
||||
const SettingsRoute = () => {
|
||||
return (
|
||||
<AnimatedPage>
|
||||
<Flex
|
||||
direction="column"
|
||||
h="100%"
|
||||
w="100%"
|
||||
>
|
||||
<SettingsHeader />
|
||||
<SettingsContent />
|
||||
</Flex>
|
||||
</AnimatedPage>
|
||||
);
|
||||
};
|
||||
|
||||
export default SettingsRoute;
|
||||
Loading…
Add table
Add a link
Reference in a new issue