PeachScript
2 years ago
8 changed files with 77 additions and 0 deletions
@ -0,0 +1,18 @@ |
|||
import React, { type FC } from 'react'; |
|||
|
|||
const NotFoundPage: FC = () => { |
|||
// TODO: implement 404 page
|
|||
// from: https://github.com/ant-design/ant-design/blob/0067b923b998eb8e68748a7c5b6f9414fb819052/site/theme/template/NotFound.tsx
|
|||
return ( |
|||
<section |
|||
style={{ |
|||
borderBottom: '1px solid #eee', |
|||
padding: 22, |
|||
}} |
|||
> |
|||
404 page |
|||
</section> |
|||
); |
|||
}; |
|||
|
|||
export default NotFoundPage; |
@ -0,0 +1 @@ |
|||
export { default } from '../changelog/index'; |
@ -0,0 +1,18 @@ |
|||
import React, { type FC } from 'react'; |
|||
|
|||
const Changelog: FC = () => { |
|||
// TODO: implement changelog
|
|||
// from: https://github.com/ant-design/ant-design/blob/2a754bd5cad7fd4892a065a8e044fb402f51f426/site/theme/template/Content/MainContent.jsx#L35
|
|||
return ( |
|||
<section |
|||
style={{ |
|||
borderBottom: '1px solid #eee', |
|||
padding: 22, |
|||
}} |
|||
> |
|||
changelog page |
|||
</section> |
|||
); |
|||
}; |
|||
|
|||
export default Changelog; |
@ -0,0 +1 @@ |
|||
export { default } from './overview'; |
@ -0,0 +1,18 @@ |
|||
import React, { type FC } from 'react'; |
|||
|
|||
const Overview: FC = () => { |
|||
// TODO: implement overview
|
|||
// from: https://github.com/ant-design/ant-design/blob/44d8e382bae77b82915effba051af58efd3d0551/site/theme/template/Content/ComponentOverview.jsx
|
|||
return ( |
|||
<section |
|||
style={{ |
|||
borderBottom: '1px solid #eee', |
|||
padding: 22, |
|||
}} |
|||
> |
|||
overview page |
|||
</section> |
|||
); |
|||
}; |
|||
|
|||
export default Overview; |
@ -0,0 +1 @@ |
|||
export { default } from '../index/index/index'; |
@ -0,0 +1,2 @@ |
|||
# workaround to keep /index route from umi conventional routes logic |
|||
# ref: https://github.com/umijs/umi/blob/cabb186057d801494340f533195b6b330e5ef4e0/packages/core/src/route/routesConvention.ts#L91 |
@ -0,0 +1,18 @@ |
|||
import React, { type FC } from 'react'; |
|||
|
|||
const Homepage: FC = () => { |
|||
// TODO: implement homepage
|
|||
// from: https://github.com/ant-design/ant-design/blob/2804cb843a1f6d8b46e44e13c2552f34c487b797/site/theme/template/Home/index.tsx
|
|||
return ( |
|||
<section |
|||
style={{ |
|||
borderBottom: '1px solid #eee', |
|||
padding: 22, |
|||
}} |
|||
> |
|||
home page |
|||
</section> |
|||
); |
|||
}; |
|||
|
|||
export default Homepage; |
Loading…
Reference in new issue