saahildcom/src/App.tsx

25 lines
670 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-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>} />
<Route path='#/about' component={<AboutPage />} />
</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