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-22 20:20:57 +00:00
|
|
|
import Page404 from './components/static/404'
|
2024-06-22 20:56:11 +00:00
|
|
|
import ContactPage from './components/ContactPage'
|
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-22 20:56:11 +00:00
|
|
|
<Route path='#/contact' component={<ContactPage />} />
|
2024-06-22 20:20:57 +00:00
|
|
|
<Route path='*' component={<Page404 />} />
|
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
|