refactor: rename HomePage to Home
This commit is contained in:
23
src/app/main/home/HomeConfig.js
Normal file
23
src/app/main/home/HomeConfig.js
Normal file
@@ -0,0 +1,23 @@
|
||||
import i18next from 'i18next';
|
||||
|
||||
import Home from './Home';
|
||||
import en from './i18n/en';
|
||||
|
||||
i18next.addResourceBundle('en', 'homePage', en);
|
||||
|
||||
const HomeConfig = {
|
||||
settings: {
|
||||
layout: {
|
||||
config: {},
|
||||
style: 'layout2',
|
||||
},
|
||||
},
|
||||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
element: <Home />,
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export default HomeConfig;
|
||||
3
src/app/main/home/i18n/en.js
Normal file
3
src/app/main/home/i18n/en.js
Normal file
@@ -0,0 +1,3 @@
|
||||
const locale = {};
|
||||
|
||||
export default locale;
|
||||
Reference in New Issue
Block a user