Skip to content

Commit 4cdc45e

Browse files
Update App.tsx (#17)
<!-- hint: follow the conventional commits look at CONTRIBUTING.md make sure this repo would take a PR. --> ## delete me
1 parent 9712bdc commit 4cdc45e

File tree

1 file changed

+5
-36
lines changed

1 file changed

+5
-36
lines changed

src/App.tsx

Lines changed: 5 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,16 @@ import Navbar from "./components/navbar";
44
import InfogramBelowMain from "./components/infobelowmain";
55
import { HashRouter } from "./components/HashRouter";
66
import Route from "./components/HashRouter/Route";
7-
import AboutPage from "./components/AboutPage";
8-
import SkillSet from "./components/AboutPage/SkillSet";
9-
import GithubStats from "./components/AboutPage/Github";
10-
import Projects from "./components/Projects";
7+
//import AboutPage from "./components/AboutPage";
8+
//import SkillSet from "./components/AboutPage/SkillSet";
9+
//import GithubStats from "./components/AboutPage/Github";
10+
//import Projects from "./components/Projects";
1111
import Page404 from "./components/static/404";
12-
import ContactPage from "./components/ContactPage";
12+
//import ContactPage from "./components/ContactPage";
1313
import ReWork from "./components/ReWork";
1414

1515
function App({ analytics }: any) {
1616
return <ReWork />;
17-
return (
18-
<HashRouter>
19-
<Route
20-
path={"#/"}
21-
index
22-
component={
23-
<div style={{ zIndex: 9999 }}>
24-
<Main />
25-
<InfogramBelowMain />
26-
<br />
27-
</div>
28-
}
29-
/>
30-
<Route
31-
path="#/about"
32-
component={
33-
<>
34-
<AboutPage />
35-
<SkillSet />
36-
<GithubStats />
37-
</>
38-
}
39-
/>
40-
<Route path="#/projects" component={<Projects />} />
41-
<Route
42-
path="#/contact"
43-
component={<ContactPage analytics={analytics} />}
44-
/>
45-
<Route path="*" component={<Page404 />} />
46-
</HashRouter>
47-
);
4817
}
4918

5019
export default App;

0 commit comments

Comments
 (0)