Initial commit
This commit is contained in:
9
src/modules/home/HomePage.tsx
Normal file
9
src/modules/home/HomePage.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
export const HomePage = () => {
|
||||
return (
|
||||
<div className="flex items-center justify-center h-full">
|
||||
<h1 className="text-3xl font-light text-gray-600 dark:text-gray-300">
|
||||
开始今天的工作吧!
|
||||
</h1>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
11
src/modules/home/index.tsx
Normal file
11
src/modules/home/index.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Home } from 'lucide-react'
|
||||
import { HomePage } from './HomePage'
|
||||
import { HOME_MODULE } from '@shared/modules/home'
|
||||
import { createFrontendModule } from '@/lib/module-registry'
|
||||
|
||||
export default createFrontendModule(HOME_MODULE, {
|
||||
icon: Home,
|
||||
component: HomePage,
|
||||
})
|
||||
|
||||
export { HomePage }
|
||||
Reference in New Issue
Block a user