Add OxygenToolbox to home page

This commit is contained in:
2023-09-14 18:14:22 +08:00
parent 2b1d8d7f27
commit fd47be620d
4 changed files with 19 additions and 22 deletions

View File

@@ -1,11 +0,0 @@
import React from 'react'
const Project: React.FC = () => {
return (
<>
<h1>App</h1>
</>
)
}
export default Project

View File

@@ -0,0 +1,17 @@
import React from 'react'
import FitCenter from '@/components/common/FitCenter.tsx'
const OxygenToolbox: React.FC = () => {
return (
<>
<FitCenter vertical>
<div>
<div style={{ fontSize: '4.5em', fontWeight: 'bold' }}>Oxygen Toolbox</div>
<div style={{ fontSize: '1.4em', textAlign: 'end' }}>is coming soon...</div>
</div>
</FitCenter>
</>
)
}
export default OxygenToolbox

View File

@@ -3,6 +3,7 @@ import FitFullScreen from '@/components/common/FitFullScreen'
import FitCenter from '@/components/common/FitCenter'
import { MainFrameworkContext } from '@/pages/MainFramework'
import Slogan from '@/components/home/Slogan'
import OxygenToolbox from '@/components/home/OxygenToolbox'
const Home: React.FC = () => {
const {
@@ -129,7 +130,7 @@ const Home: React.FC = () => {
ref: fitFullScreenRef,
children: <Slogan onClickScrollDown={handleScrollDown} />
},
{ children: <FitCenter>2</FitCenter> },
{ children: <OxygenToolbox /> },
{ children: <FitCenter>3</FitCenter> }
]