mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2025-07-29 09:36:06 +00:00
Compare commits
No commits in common. "5dd40519f739661db5b7954945560663496e020f" and "c55d4ac9fc0a7dbecc6c851f24bef90bd3725519" have entirely different histories.
5dd40519f7
...
c55d4ac9fc
3 changed files with 31 additions and 36 deletions
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
47
src/App.tsx
47
src/App.tsx
|
@ -1,19 +1,34 @@
|
||||||
import React from "react";
|
import React from 'react'
|
||||||
import Main from "./components/main";
|
import Main from './components/main'
|
||||||
import Navbar from "./components/navbar";
|
import Navbar from './components/navbar'
|
||||||
import InfogramBelowMain from "./components/infobelowmain";
|
import InfogramBelowMain from './components/infobelowmain'
|
||||||
import { HashRouter } from "./components/HashRouter";
|
import { HashRouter } from './components/HashRouter'
|
||||||
import Route from "./components/HashRouter/Route";
|
import Route from './components/HashRouter/Route'
|
||||||
//import AboutPage from "./components/AboutPage";
|
import AboutPage from './components/AboutPage'
|
||||||
//import SkillSet from "./components/AboutPage/SkillSet";
|
import SkillSet from './components/AboutPage/SkillSet'
|
||||||
//import GithubStats from "./components/AboutPage/Github";
|
import GithubStats from './components/AboutPage/Github'
|
||||||
//import Projects from "./components/Projects";
|
import Projects from './components/Projects'
|
||||||
import Page404 from "./components/static/404";
|
import Page404 from './components/static/404'
|
||||||
//import ContactPage from "./components/ContactPage";
|
import ContactPage from './components/ContactPage'
|
||||||
import ReWork from "./components/ReWork";
|
|
||||||
|
|
||||||
function App({ analytics }: any) {
|
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 />} />
|
||||||
|
</HashRouter>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App;
|
export default App
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
export default function ReWork() {
|
|
||||||
return (
|
|
||||||
<div>
|
|
||||||
<div className="hero bg-base-200 min-h-screen">
|
|
||||||
<div className="hero-content text-center">
|
|
||||||
<div className="max-w-md">
|
|
||||||
<h1 className="text-5xl font-bold">🚧 Being redone 🚧</h1>
|
|
||||||
<p className="py-6">
|
|
||||||
Hiii this site is currently being re done, until then visit my
|
|
||||||
retro site!
|
|
||||||
</p>
|
|
||||||
<a className="btn btn-primary" href="https://saahild.com/retro">
|
|
||||||
Retro site
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue