enhancement(lint): Fix lint errors for src/App.tsx

Co-authored-by: NeonGamerBot-QK <neon@saahild.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
zeon-neon[bot] 2025-06-17 23:24:09 +00:00 committed by GitHub
parent a9e74f983e
commit 179ffbe730
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,36 +1,50 @@
import React from 'react'
import Main from './components/main'
import Navbar from './components/navbar'
import InfogramBelowMain from './components/infobelowmain'
import { HashRouter } from './components/HashRouter'
import Route from './components/HashRouter/Route'
import AboutPage from './components/AboutPage'
import SkillSet from './components/AboutPage/SkillSet'
import GithubStats from './components/AboutPage/Github'
import Projects from './components/Projects'
import Page404 from './components/static/404'
import ContactPage from './components/ContactPage'
import ReWork from './components/ReWork'
import React from "react";
import Main from "./components/main";
import Navbar from "./components/navbar";
import InfogramBelowMain from "./components/infobelowmain";
import { HashRouter } from "./components/HashRouter";
import Route from "./components/HashRouter/Route";
import AboutPage from "./components/AboutPage";
import SkillSet from "./components/AboutPage/SkillSet";
import GithubStats from "./components/AboutPage/Github";
import Projects from "./components/Projects";
import Page404 from "./components/static/404";
import ContactPage from "./components/ContactPage";
import ReWork from "./components/ReWork";
function App ({ analytics }: any) {
return <ReWork />
function App({ analytics }: any) {
return <ReWork />;
return (
<HashRouter>
<Route path={'#/'} index component={<div style={{ zIndex: 9999 }}>
<Main />
<InfogramBelowMain />
<br />
</div>} />
<Route path='#/about' component={<>
<AboutPage />
<SkillSet />
<GithubStats />
</>} />
<Route path='#/projects' component={<Projects />} />
<Route path='#/contact' component={<ContactPage analytics={analytics} />} />
<Route path='*' component={<Page404 />} />
<Route
path={"#/"}
index
component={
<div style={{ zIndex: 9999 }}>
<Main />
<InfogramBelowMain />
<br />
</div>
}
/>
<Route
path="#/about"
component={
<>
<AboutPage />
<SkillSet />
<GithubStats />
</>
}
/>
<Route path="#/projects" component={<Projects />} />
<Route
path="#/contact"
component={<ContactPage analytics={analytics} />}
/>
<Route path="*" component={<Page404 />} />
</HashRouter>
)
);
}
export default App
export default App;