diff --git a/src/App.tsx b/src/App.tsx index 5c6f486..b0bca6c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -6,7 +6,6 @@ import Link from '@mui/material/Link'; import Grid from '@mui/material/Unstable_Grid2'; import Tabs from '@mui/material/Tabs'; import Tab from '@mui/material/Tab'; -import TabsPannel from './Tabs'; function Copyright() { return ( @@ -20,7 +19,46 @@ function Copyright() { ); } +interface TabPanelProps { + children?: React.ReactNode; + index: number; + value: number; +} + +function TabPanel(props: TabPanelProps) { + const { children, value, index, ...other } = props; + + return ( + + ); +} + +function a11yProps(index: number) { + return { + id: `simple-tab-${index}`, + 'aria-controls': `simple-tabpanel-${index}`, + }; +} + export default function App() { + + const [value, setValue] = React.useState(0); + + const handleChange = (event: React.SyntheticEvent, newValue: number) => { + setValue(newValue); + }; return ( {'Avatar'} - - - + + + + + + + + Yoo! + + I'm Nofated. I am a newbie in the coding world.
+ Find me on GitHub, Twitter and Telegram. +
+ + + Misc + + 🏫 I am a student who lives in Beijing, China.
+ 📒️ I have a blog based on the Hexo.
+ ⌨️ Coding and open-source are great! Though I haven't learnt any languages...
+ 🏢 I am a member of LittleSkin Community Support . I help maintain the bot and manual.
+ 🚔 I am a fan of Minecraft, Grand Theft Auto, and anime.
+
+
+ + + + About + + I am in senior high and I'm preparing for the Chinese College Entrance Examination, aka GaoKao.
+ + I do open-source works, you can check them on GitHub. But I didn't have a completely independent open-source project.😢
+ + I am happy to chat. Chinese is OK but I am very poor at English listening and speaking.😰
+
+
+
{/* */} diff --git a/src/Tabs.tsx b/src/Tabs.tsx deleted file mode 100644 index b5803e3..0000000 --- a/src/Tabs.tsx +++ /dev/null @@ -1,90 +0,0 @@ -import * as React from 'react'; -import Tabs from '@mui/material/Tabs'; -import Tab from '@mui/material/Tab'; -import Typography from '@mui/material/Typography'; -import Box from '@mui/material/Box'; -import GitHubIcon from '@mui/icons-material/GitHub'; - -interface TabPanelProps { - children?: React.ReactNode; - index: number; - value: number; -} - -function TabPanel(props: TabPanelProps) { - const { children, value, index, ...other } = props; - - return ( - - ); -} - -function a11yProps(index: number) { - return { - id: `simple-tab-${index}`, - 'aria-controls': `simple-tabpanel-${index}`, - }; -} - -export default function BasicTabs() { - const [value, setValue] = React.useState(0); - - const handleChange = (event: React.SyntheticEvent, newValue: number) => { - setValue(newValue); - }; - - return ( - - - - - - - - - - - - Yoo! - - I'm Nofated. I am a newbie in the coding world.
- Find me on GitHub;GitHub, Twitter and Telegram. -
- - - Misc - - 🏫 I am a student who lives in Beijing, China.
- 📒️ I have a blog based on the Hexo.
- ⌨️ Coding and open-source are great! Though I haven't learnt any languages...
- 🏢 I am a member of LittleSkin Community Support . I help maintain the bot and manual.
- 🚔 I am a fan of Minecraft, Grand Theft Auto, and anime.
-
-
- - - - About - - I am in senior high and I'm preparing for the Chinese College Entrance Examination, aka GaoKao.
- - I do open-source works, you can check them on GitHub. But I didn't have a completely independent open-source project.😢
- - I am happy to chat. Chinese is OK but I am very poor at English listening and speaking.😰
-
-
-
- ); -} \ No newline at end of file