2019-11-07 10:22:09 +00:00
|
|
|
import { Component } from 'preact';
|
2020-03-01 21:18:41 +00:00
|
|
|
|
2020-03-01 20:25:46 +00:00
|
|
|
// noinspection ES6UnusedImports
|
2020-03-11 11:37:34 +00:00
|
|
|
import _style from './index.less';
|
2020-03-01 20:25:46 +00:00
|
|
|
// noinspection ES6UnusedImports
|
|
|
|
import _manifest from './meta/manifest.json';
|
|
|
|
// noinspection ES6UnusedImports
|
|
|
|
import _cname from './meta/CNAME';
|
|
|
|
// noinspection ES6UnusedImports
|
|
|
|
import _nojekyll from './meta/.nojekyll';
|
2020-03-01 21:18:41 +00:00
|
|
|
|
|
|
|
import Router from 'preact-router';
|
2020-03-01 20:25:46 +00:00
|
|
|
import {createHashHistory} from "history";
|
2020-03-01 21:18:41 +00:00
|
|
|
import Home from './routes/home';
|
|
|
|
import Fisica from './routes/fisica';
|
|
|
|
import VlDiGeometria from './routes/vldigeometria';
|
|
|
|
import MingwInstall from './routes/mingwinstall';
|
|
|
|
import Copyright from './components/copyright';
|
|
|
|
import Statistica from './routes/statistica';
|
2020-03-09 23:19:30 +00:00
|
|
|
import OttimizzazioneLineare from "./routes/ottimizzazioneLineare";
|
2020-03-11 16:15:17 +00:00
|
|
|
import BasiDiDati from './routes/basiDiDati';
|
|
|
|
import CalcoloNumerico from './routes/calcoloNumerico';
|
2020-03-11 18:12:30 +00:00
|
|
|
import ApprendimentoSistemiArtificiali from "./routes/apprendimentoSistemiArtificiali";
|
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>
|
2020-03-01 20:25:46 +00:00
|
|
|
<Router history={createHashHistory()}>
|
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"/>
|
2020-03-09 23:19:30 +00:00
|
|
|
<OttimizzazioneLineare path="/ottimizzazionelineare"/>
|
2020-03-11 16:15:17 +00:00
|
|
|
<BasiDiDati path="/basididati"/>
|
|
|
|
<CalcoloNumerico path="/calcolonumerico"/>
|
2020-03-11 18:12:30 +00:00
|
|
|
<ApprendimentoSistemiArtificiali path={"/apprendimentosistemiartificiali"}/>
|
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
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|