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:
parent
2e4567de4f
commit
2d050bc737
39 changed files with 66 additions and 69 deletions
|
@ -1,4 +1,4 @@
|
|||
@import "../styles/constants.less";
|
||||
@import "../../styles/constants.less";
|
||||
|
||||
.errorcolor {
|
||||
padding: 4px;
|
|
@ -1,4 +1,4 @@
|
|||
@import "../styles/constants";
|
||||
@import "../../styles/constants";
|
||||
|
||||
.timer {
|
||||
display: grid;
|
45
src/index.js
45
src/index.js
|
@ -1,5 +1,4 @@
|
|||
import "preact/debug";
|
||||
import { Component } from 'preact';
|
||||
|
||||
// noinspection ES6UnusedImports
|
||||
import _style from './index.less';
|
||||
|
@ -16,7 +15,7 @@ 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 Copyright from './components/old/copyright';
|
||||
import Statistica from './routes/statistica';
|
||||
import OttimizzazioneLineare from "./routes/ottimizzazioneLineare";
|
||||
import BasiDiDati from './routes/basiDiDati';
|
||||
|
@ -25,26 +24,24 @@ import ApprendimentoSistemiArtificiali from "./routes/apprendimentoSistemiArtifi
|
|||
import LatexRenderColor from "./contexts/LatexRenderColor";
|
||||
|
||||
// noinspection JSUnusedGlobalSymbols
|
||||
export default class App extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div id="app">
|
||||
<LatexRenderColor.Provider value={"White"}>
|
||||
<h1><a href="/">Appuntiweb</a> <small>di <a href="https://steffo.eu/">Steffo</a></small></h1>
|
||||
<Router history={createHashHistory()}>
|
||||
<Home path="/"/>
|
||||
<Fisica path="/fisica"/>
|
||||
<VlDiGeometria path="/vldigeometria"/>
|
||||
<MingwInstall path="/mingwinstall"/>
|
||||
<Statistica path="/statistica"/>
|
||||
<OttimizzazioneLineare path="/ottimizzazionelineare"/>
|
||||
<BasiDiDati path="/basididati"/>
|
||||
<CalcoloNumerico path="/calcolonumerico"/>
|
||||
<ApprendimentoSistemiArtificiali path={"/apprendimentosistemiartificiali"}/>
|
||||
</Router>
|
||||
<Copyright/>
|
||||
</LatexRenderColor.Provider>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
export default function(props) {
|
||||
return (
|
||||
<div id="app">
|
||||
<LatexRenderColor.Provider value={"White"}>
|
||||
<h1><a href="/">Appuntiweb</a> <small>di <a href="https://steffo.eu/">Steffo</a></small></h1>
|
||||
<Router history={createHashHistory()}>
|
||||
<Home path="/"/>
|
||||
<Fisica path="/fisica"/>
|
||||
<VlDiGeometria path="/vldigeometria"/>
|
||||
<MingwInstall path="/mingwinstall"/>
|
||||
<Statistica path="/statistica"/>
|
||||
<OttimizzazioneLineare path="/ottimizzazionelineare"/>
|
||||
<BasiDiDati path="/basididati"/>
|
||||
<CalcoloNumerico path="/calcolonumerico"/>
|
||||
<ApprendimentoSistemiArtificiali path={"/apprendimentosistemiartificiali"}/>
|
||||
</Router>
|
||||
<Copyright/>
|
||||
</LatexRenderColor.Provider>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import {Component} from 'preact'
|
||||
import Split from "../components/split";
|
||||
import Split from "../components/old/split";
|
||||
import Latex from "../components/latex";
|
||||
import Panel from "../components/panel";
|
||||
import Example from "../components/example";
|
||||
import Todo from "../components/todo";
|
||||
import Code from "../components/code";
|
||||
import Panel from "../components/old/panel";
|
||||
import Example from "../components/old/example";
|
||||
import Todo from "../components/old/todo";
|
||||
import Code from "../components/old/code";
|
||||
|
||||
const r = String.raw;
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import {Component} from 'preact'
|
||||
import Split from "../components/split";
|
||||
import Split from "../components/old/split";
|
||||
import Latex from "../components/latex";
|
||||
import Panel from "../components/panel";
|
||||
import Example from "../components/example";
|
||||
import Todo from "../components/todo";
|
||||
import Timer from "../components/timer";
|
||||
import Panel from "../components/old/panel";
|
||||
import Example from "../components/old/example";
|
||||
import Todo from "../components/old/todo";
|
||||
import Timer from "../components/old/timer";
|
||||
|
||||
const r = String.raw;
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import {Component} from 'preact'
|
||||
import Split from "../components/split";
|
||||
import Split from "../components/old/split";
|
||||
import Latex from "../components/latex";
|
||||
import Panel from "../components/panel";
|
||||
import Example from "../components/example";
|
||||
import Todo from "../components/todo";
|
||||
import Timer from "../components/timer";
|
||||
import Panel from "../components/old/panel";
|
||||
import Example from "../components/old/example";
|
||||
import Todo from "../components/old/todo";
|
||||
import Timer from "../components/old/timer";
|
||||
|
||||
const r = String.raw;
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import { Component } from 'preact';
|
||||
import Latex from '../components/latex';
|
||||
import Panel from '../components/panel';
|
||||
import Split from '../components/split';
|
||||
import Plus from '../components/plus';
|
||||
import Minus from '../components/minus';
|
||||
import Todo from '../components/todo';
|
||||
import Panel from '../components/old/panel';
|
||||
import Split from '../components/old/split';
|
||||
import Plus from '../components/old/plus';
|
||||
import Minus from '../components/old/minus';
|
||||
import Todo from '../components/old/todo';
|
||||
|
||||
const r = String.raw;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Component } from 'preact';
|
||||
import Panel from '../components/panel';
|
||||
import Split from '../components/split';
|
||||
import Todo from "../components/todo";
|
||||
import Panel from '../components/old/panel';
|
||||
import Split from '../components/old/split';
|
||||
import Todo from "../components/old/todo";
|
||||
|
||||
export default class Home extends Component {
|
||||
render() {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Component } from 'preact';
|
||||
import Panel from '../components/panel';
|
||||
import Panel from '../components/old/panel';
|
||||
|
||||
export default class MingwInstall extends Component {
|
||||
render() {
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
import {Component} from 'preact'
|
||||
import Split from "../components/split";
|
||||
import Split from "../components/old/split";
|
||||
import Latex from "../components/latex";
|
||||
import Panel from "../components/panel";
|
||||
import Example from "../components/example";
|
||||
import Todo from "../components/todo";
|
||||
import Minus from "../components/minus";
|
||||
import Plus from "../components/plus";
|
||||
import Code from "../components/code";
|
||||
import Panel from "../components/old/panel";
|
||||
import Example from "../components/old/example";
|
||||
import Todo from "../components/old/todo";
|
||||
import Minus from "../components/old/minus";
|
||||
import Plus from "../components/old/plus";
|
||||
import Code from "../components/old/code";
|
||||
|
||||
const r = String.raw;
|
||||
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
import { Component } from 'preact';
|
||||
import Latex from '../components/latex';
|
||||
import Panel from '../components/panel';
|
||||
import Split from '../components/split';
|
||||
import Todo from '../components/todo';
|
||||
import Theorem from "../components/theorem";
|
||||
import Hypothesis from "../components/hypothesis";
|
||||
import Thesis from "../components/thesis";
|
||||
import Proof from "../components/proof";
|
||||
import Example from "../components/example";
|
||||
import Plus from "../components/plus";
|
||||
import Minus from "../components/minus";
|
||||
import Panel from '../components/old/panel';
|
||||
import Split from '../components/old/split';
|
||||
import Todo from '../components/old/todo';
|
||||
import Theorem from "../components/old/theorem";
|
||||
import Hypothesis from "../components/old/hypothesis";
|
||||
import Thesis from "../components/old/thesis";
|
||||
import Proof from "../components/old/proof";
|
||||
import Example from "../components/old/example";
|
||||
import Plus from "../components/old/plus";
|
||||
import Minus from "../components/old/minus";
|
||||
|
||||
const r = String.raw;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { Component } from 'preact';
|
||||
import Markdown from '../components/markdown';
|
||||
import Panel from '../components/panel';
|
||||
import Markdown from '../components/old/markdown';
|
||||
import Panel from '../components/old/panel';
|
||||
|
||||
const r = String.raw;
|
||||
|
||||
|
|
Loading…
Reference in a new issue