refactor: remove main/example files

This commit is contained in:
2023-06-02 22:24:16 +01:00
parent 2b61f24e45
commit fd59c53372
3 changed files with 0 additions and 97 deletions

View File

@@ -1,41 +0,0 @@
import { styled } from '@mui/material/styles';
import { useTranslation } from 'react-i18next';
import FusePageSimple from '@fuse/core/FusePageSimple';
import DemoContent from '@fuse/core/DemoContent';
const Root = styled(FusePageSimple)(({ theme }) => ({
'& .FusePageSimple-header': {
backgroundColor: theme.palette.background.paper,
borderBottomWidth: 1,
borderStyle: 'solid',
borderColor: theme.palette.divider,
},
'& .FusePageSimple-toolbar': {},
'& .FusePageSimple-content': {},
'& .FusePageSimple-sidebarHeader': {},
'& .FusePageSimple-sidebarContent': {},
}));
function ExamplePage(props) {
const { t } = useTranslation('examplePage');
return (
<Root
header={
<div className="p-24">
<h4>{t('TITLE')}</h4>
</div>
}
content={
<div className="p-24">
<h4>Content</h4>
<br />
<DemoContent />
</div>
}
scroll="content"
/>
);
}
export default ExamplePage;

View File

@@ -1,51 +0,0 @@
import i18next from 'i18next';
import en from './i18n/en';
import tr from './i18n/tr';
import ar from './i18n/ar';
import Example from './Example';
i18next.addResourceBundle('en', 'examplePage', en);
i18next.addResourceBundle('tr', 'examplePage', tr);
i18next.addResourceBundle('ar', 'examplePage', ar);
const ExampleConfig = {
settings: {
layout: {
config: {},
},
},
routes: [
{
path: 'example',
element: <Example />,
},
],
};
export default ExampleConfig;
/**
* Lazy load Example
*/
/*
import React from 'react';
const Example = lazy(() => import('./Example'));
const ExampleConfig = {
settings: {
layout: {
config: {},
},
},
routes: [
{
path: 'example',
element: <Example />,
},
],
};
export default ExampleConfig;
*/

View File

@@ -1,5 +0,0 @@
const locale = {
TITLE: 'Example Page',
};
export default locale;