1
Fork 0
mirror of https://github.com/Steffo99/unisteffo.git synced 2024-11-26 18:04:20 +00:00
triennale-appunti-steffo/src/index.js

27 lines
689 B
JavaScript
Raw Normal View History

2019-12-08 17:20:03 +00:00
import style from './index.css';
2019-11-07 10:22:09 +00:00
import { Component } from 'preact';
2019-12-08 17:20:03 +00:00
import Router from 'preact-router';
import Home from './pages/home';
2019-11-10 15:38:54 +00:00
import Fisica from './pages/fisica';
2019-12-08 17:20:03 +00:00
import VlDiGeometria from './pages/vldigeometria';
import MingwInstall from './pages/mingwinstall';
2019-11-10 15:38:54 +00:00
import Copyright from './components/copyright';
2019-11-07 10:22:09 +00:00
2019-12-02 11:31:33 +00:00
const r = String.raw;
2019-11-07 10:22:09 +00:00
export default class App extends Component {
render() {
return (
2019-11-10 16:12:47 +00:00
<div id="app">
2019-12-08 17:20:03 +00:00
<Router>
<Home path="/"></Home>
<Fisica path="/fisica"></Fisica>
<VlDiGeometria path="/vldigeometria"></VlDiGeometria>
<MingwInstall path="/mingwinstall"></MingwInstall>
</Router>
2019-11-10 15:38:54 +00:00
<Copyright></Copyright>
</div>
2019-11-07 10:22:09 +00:00
);
}
}