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 {
|
.errorcolor {
|
||||||
padding: 4px;
|
padding: 4px;
|
|
@ -1,4 +1,4 @@
|
||||||
@import "../styles/constants";
|
@import "../../styles/constants";
|
||||||
|
|
||||||
.timer {
|
.timer {
|
||||||
display: grid;
|
display: grid;
|
45
src/index.js
45
src/index.js
|
@ -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>
|
);
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue