1
Fork 0
mirror of https://github.com/Steffo99/unisteffo.git synced 2024-11-26 09:54:19 +00:00

Move old components in a different folder

This commit is contained in:
Steffo 2020-05-23 23:32:09 +02:00
parent 2e4567de4f
commit 2d050bc737
Signed by: steffo
GPG key ID: 896A80F55F7C97F0
39 changed files with 66 additions and 69 deletions

View file

@ -1,4 +1,4 @@
@import "../styles/constants.less"; @import "../../styles/constants.less";
.errorcolor { .errorcolor {
padding: 4px; padding: 4px;

View file

@ -1,4 +1,4 @@
@import "../styles/constants"; @import "../../styles/constants";
.timer { .timer {
display: grid; display: grid;

View file

@ -1,5 +1,4 @@
import "preact/debug"; import "preact/debug";
import { Component } from 'preact';
// noinspection ES6UnusedImports // noinspection ES6UnusedImports
import _style from './index.less'; import _style from './index.less';
@ -16,7 +15,7 @@ import Home from './routes/home';
import Fisica from './routes/fisica'; import Fisica from './routes/fisica';
import VlDiGeometria from './routes/vldigeometria'; import VlDiGeometria from './routes/vldigeometria';
import MingwInstall from './routes/mingwinstall'; import MingwInstall from './routes/mingwinstall';
import Copyright from './components/copyright'; import Copyright from './components/old/copyright';
import Statistica from './routes/statistica'; import Statistica from './routes/statistica';
import OttimizzazioneLineare from "./routes/ottimizzazioneLineare"; import OttimizzazioneLineare from "./routes/ottimizzazioneLineare";
import BasiDiDati from './routes/basiDiDati'; import BasiDiDati from './routes/basiDiDati';
@ -25,26 +24,24 @@ import ApprendimentoSistemiArtificiali from "./routes/apprendimentoSistemiArtifi
import LatexRenderColor from "./contexts/LatexRenderColor"; import LatexRenderColor from "./contexts/LatexRenderColor";
// noinspection JSUnusedGlobalSymbols // noinspection JSUnusedGlobalSymbols
export default class App extends Component { export default function(props) {
render() { return (
return ( <div id="app">
<div id="app"> <LatexRenderColor.Provider value={"White"}>
<LatexRenderColor.Provider value={"White"}> <h1><a href="/">Appuntiweb</a> <small>di <a href="https://steffo.eu/">Steffo</a></small></h1>
<h1><a href="/">Appuntiweb</a> <small>di <a href="https://steffo.eu/">Steffo</a></small></h1> <Router history={createHashHistory()}>
<Router history={createHashHistory()}> <Home path="/"/>
<Home path="/"/> <Fisica path="/fisica"/>
<Fisica path="/fisica"/> <VlDiGeometria path="/vldigeometria"/>
<VlDiGeometria path="/vldigeometria"/> <MingwInstall path="/mingwinstall"/>
<MingwInstall path="/mingwinstall"/> <Statistica path="/statistica"/>
<Statistica path="/statistica"/> <OttimizzazioneLineare path="/ottimizzazionelineare"/>
<OttimizzazioneLineare path="/ottimizzazionelineare"/> <BasiDiDati path="/basididati"/>
<BasiDiDati path="/basididati"/> <CalcoloNumerico path="/calcolonumerico"/>
<CalcoloNumerico path="/calcolonumerico"/> <ApprendimentoSistemiArtificiali path={"/apprendimentosistemiartificiali"}/>
<ApprendimentoSistemiArtificiali path={"/apprendimentosistemiartificiali"}/> </Router>
</Router> <Copyright/>
<Copyright/> </LatexRenderColor.Provider>
</LatexRenderColor.Provider> </div>
</div> );
);
}
} }

View file

@ -1,10 +1,10 @@
import {Component} from 'preact' import {Component} from 'preact'
import Split from "../components/split"; import Split from "../components/old/split";
import Latex from "../components/latex"; import Latex from "../components/latex";
import Panel from "../components/panel"; import Panel from "../components/old/panel";
import Example from "../components/example"; import Example from "../components/old/example";
import Todo from "../components/todo"; import Todo from "../components/old/todo";
import Code from "../components/code"; import Code from "../components/old/code";
const r = String.raw; const r = String.raw;

View file

@ -1,10 +1,10 @@
import {Component} from 'preact' import {Component} from 'preact'
import Split from "../components/split"; import Split from "../components/old/split";
import Latex from "../components/latex"; import Latex from "../components/latex";
import Panel from "../components/panel"; import Panel from "../components/old/panel";
import Example from "../components/example"; import Example from "../components/old/example";
import Todo from "../components/todo"; import Todo from "../components/old/todo";
import Timer from "../components/timer"; import Timer from "../components/old/timer";
const r = String.raw; const r = String.raw;

View file

@ -1,10 +1,10 @@
import {Component} from 'preact' import {Component} from 'preact'
import Split from "../components/split"; import Split from "../components/old/split";
import Latex from "../components/latex"; import Latex from "../components/latex";
import Panel from "../components/panel"; import Panel from "../components/old/panel";
import Example from "../components/example"; import Example from "../components/old/example";
import Todo from "../components/todo"; import Todo from "../components/old/todo";
import Timer from "../components/timer"; import Timer from "../components/old/timer";
const r = String.raw; const r = String.raw;

View file

@ -1,10 +1,10 @@
import { Component } from 'preact'; import { Component } from 'preact';
import Latex from '../components/latex'; import Latex from '../components/latex';
import Panel from '../components/panel'; import Panel from '../components/old/panel';
import Split from '../components/split'; import Split from '../components/old/split';
import Plus from '../components/plus'; import Plus from '../components/old/plus';
import Minus from '../components/minus'; import Minus from '../components/old/minus';
import Todo from '../components/todo'; import Todo from '../components/old/todo';
const r = String.raw; const r = String.raw;

View file

@ -1,7 +1,7 @@
import { Component } from 'preact'; import { Component } from 'preact';
import Panel from '../components/panel'; import Panel from '../components/old/panel';
import Split from '../components/split'; import Split from '../components/old/split';
import Todo from "../components/todo"; import Todo from "../components/old/todo";
export default class Home extends Component { export default class Home extends Component {
render() { render() {

View file

@ -1,5 +1,5 @@
import { Component } from 'preact'; import { Component } from 'preact';
import Panel from '../components/panel'; import Panel from '../components/old/panel';
export default class MingwInstall extends Component { export default class MingwInstall extends Component {
render() { render() {

View file

@ -1,12 +1,12 @@
import {Component} from 'preact' import {Component} from 'preact'
import Split from "../components/split"; import Split from "../components/old/split";
import Latex from "../components/latex"; import Latex from "../components/latex";
import Panel from "../components/panel"; import Panel from "../components/old/panel";
import Example from "../components/example"; import Example from "../components/old/example";
import Todo from "../components/todo"; import Todo from "../components/old/todo";
import Minus from "../components/minus"; import Minus from "../components/old/minus";
import Plus from "../components/plus"; import Plus from "../components/old/plus";
import Code from "../components/code"; import Code from "../components/old/code";
const r = String.raw; const r = String.raw;

View file

@ -1,15 +1,15 @@
import { Component } from 'preact'; import { Component } from 'preact';
import Latex from '../components/latex'; import Latex from '../components/latex';
import Panel from '../components/panel'; import Panel from '../components/old/panel';
import Split from '../components/split'; import Split from '../components/old/split';
import Todo from '../components/todo'; import Todo from '../components/old/todo';
import Theorem from "../components/theorem"; import Theorem from "../components/old/theorem";
import Hypothesis from "../components/hypothesis"; import Hypothesis from "../components/old/hypothesis";
import Thesis from "../components/thesis"; import Thesis from "../components/old/thesis";
import Proof from "../components/proof"; import Proof from "../components/old/proof";
import Example from "../components/example"; import Example from "../components/old/example";
import Plus from "../components/plus"; import Plus from "../components/old/plus";
import Minus from "../components/minus"; import Minus from "../components/old/minus";
const r = String.raw; const r = String.raw;

View file

@ -1,6 +1,6 @@
import { Component } from 'preact'; import { Component } from 'preact';
import Markdown from '../components/markdown'; import Markdown from '../components/old/markdown';
import Panel from '../components/panel'; import Panel from '../components/old/panel';
const r = String.raw; const r = String.raw;