saahildcom/src/App.tsx

33 lines
955 B
TypeScript
Raw Normal View History

2024-06-16 04:57:23 +00:00
import React from 'react'
import Main from './components/main'
import Navbar from './components/navbar'
import InfogramBelowMain from './components/infobelowmain'
2024-06-18 00:48:52 +00:00
import { HashRouter } from './components/HashRouter'
import Route from './components/HashRouter/Route'
import AboutPage from './components/AboutPage'
2024-06-20 04:08:44 +00:00
import SkillSet from './components/AboutPage/SkillSet'
import GithubStats from './components/AboutPage/Github'
2024-06-22 08:07:48 +00:00
import Projects from './components/Projects'
2024-06-11 03:46:47 +00:00
// import logo from './logo.svg';
// import './App.css';
2024-06-16 04:57:23 +00:00
function App () {
2024-06-11 03:46:47 +00:00
return (
2024-06-18 00:49:01 +00:00
<HashRouter>
<Route path={'#/'} index component={<div style={{ zIndex: 9999 }}>
<Main />
<InfogramBelowMain />
<br />
</div>} />
2024-06-20 04:08:44 +00:00
<Route path='#/about' component={<>
<AboutPage />
<SkillSet />
<GithubStats />
</>} />
2024-06-22 08:07:48 +00:00
<Route path='#/projects' component={<Projects />} />
2024-06-18 00:49:01 +00:00
</HashRouter>
2024-06-16 04:57:23 +00:00
)
2024-06-11 03:46:47 +00:00
}
2024-06-16 04:57:23 +00:00
export default App