2019-12-09 15:29:44 +00:00
|
|
|
import './index.css';
|
|
|
|
import './manifest.json';
|
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';
|
2020-01-14 17:06:58 +00:00
|
|
|
import Statistica from './pages/statistica';
|
2019-11-07 10:22:09 +00:00
|
|
|
|
2019-12-09 15:29:44 +00:00
|
|
|
// noinspection JSUnusedGlobalSymbols
|
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-09 15:29:44 +00:00
|
|
|
<h1><a href="/">Appuntiweb</a> <small>di <a href="https://steffo.eu/">Steffo</a></small></h1>
|
2019-12-08 17:20:03 +00:00
|
|
|
<Router>
|
2019-12-09 15:29:44 +00:00
|
|
|
<Home path="/"/>
|
|
|
|
<Fisica path="/fisica"/>
|
|
|
|
<VlDiGeometria path="/vldigeometria"/>
|
|
|
|
<MingwInstall path="/mingwinstall"/>
|
2020-01-14 17:06:58 +00:00
|
|
|
<Statistica path="/statistica"/>
|
2019-12-08 17:20:03 +00:00
|
|
|
</Router>
|
2019-12-09 15:29:44 +00:00
|
|
|
<Copyright/>
|
2019-11-10 15:38:54 +00:00
|
|
|
</div>
|
2019-11-07 10:22:09 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|