blob: 771b84a074f5fe35e9b32f13b8203a82999d70a6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import './app.css'
import { Navbar } from './components/navbar'
import Contact from './pages/contact';
import Games from './pages/games';
import Home from './pages/home'
import { Router, Route } from 'preact-router';
import Projects from './pages/projects';
export function App() {
return (
<>
<Navbar />
<div id="app-main">
<Router>
<Route path="/" component={Home} />
<Route path="/contact" component={Contact} />
<Route path="/games" component={Games} />
<Route path="/projects" component={Projects} />
</Router>
</div>
</>
)
}
|