diff --git a/src/components/latex.css b/src/components/latex.css
new file mode 100644
index 0000000..a5ca1b1
--- /dev/null
+++ b/src/components/latex.css
@@ -0,0 +1,4 @@
+.latex {
+ display: inline-block;
+ vertical-align: bottom;
+}
diff --git a/src/components/latex.js b/src/components/latex.js
new file mode 100644
index 0000000..e3f3b1e
--- /dev/null
+++ b/src/components/latex.js
@@ -0,0 +1,12 @@
+import style from "./latex.css";
+import { Component } from 'preact';
+
+export default class Latex extends Component {
+ render() {
+ let equation = `{\\color{White} ${this.props.children} }`
+ return ;
+ }
+}
\ No newline at end of file
diff --git a/src/components/panel.css b/src/components/panel.css
new file mode 100644
index 0000000..c7fa245
--- /dev/null
+++ b/src/components/panel.css
@@ -0,0 +1,6 @@
+.panel {
+ background-color: rgba(62.7%, 80%, 100%, 10%);
+ padding: 4px;
+ border-radius: 4px;
+ margin: 4px;
+}
\ No newline at end of file
diff --git a/src/components/panel.js b/src/components/panel.js
new file mode 100644
index 0000000..0267c2e
--- /dev/null
+++ b/src/components/panel.js
@@ -0,0 +1,8 @@
+import style from "./panel.css";
+import { Component } from 'preact';
+
+export default class Panel extends Component {
+ render() {
+ return
{this.props.children}
;
+ }
+}
\ No newline at end of file
diff --git a/src/components/split.css b/src/components/split.css
new file mode 100644
index 0000000..5c07519
--- /dev/null
+++ b/src/components/split.css
@@ -0,0 +1,8 @@
+.split {
+ display: flex;
+}
+
+.splitchild {
+ flex-grow: 0;
+ flex-shrink: 0;
+}
diff --git a/src/components/split.js b/src/components/split.js
new file mode 100644
index 0000000..f628ed7
--- /dev/null
+++ b/src/components/split.js
@@ -0,0 +1,12 @@
+import style from "./split.css";
+import { Component } from 'preact';
+
+export default class Split extends Component {
+ render() {
+ let percent = 100 / this.props.children.count;
+ let children = this.props.children.map(element => {
+ return ({element}
);
+ });
+ return {children}
;
+ }
+}
\ No newline at end of file
diff --git a/src/index.css b/src/index.css
new file mode 100644
index 0000000..2f839de
--- /dev/null
+++ b/src/index.css
@@ -0,0 +1,13 @@
+body {
+ background-color: #0d193b;
+ color: #a0ccff;
+ font-family: sans-serif;
+ box-sizing: border-box;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ text-align: center;
+ margin-top: 4px;
+ margin-bottom: 4px;
+ color: #ffffff;
+}
diff --git a/src/index.js b/src/index.js
index 1a28277..4c8fa2d 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,11 +1,59 @@
-import './style';
+import './index.css';
import { Component } from 'preact';
+import Latex from './components/latex';
+import Panel from './components/panel';
+import Split from './components/split';
export default class App extends Component {
render() {
return (
-
Hello, World!
+
+ Titolo
+
+
+ Sottotitolo
+
+
+ Ciao! Sono un paragrafo che include formule matematiche: a_1 + b_2 + c_3!
+
+
+
+ Sottoaceto
+
+
+ Ligma
+
+ Andross gave his troops ligma!
+
+
+
+ Sugma
+
+ SLIPPY NO
+
+
+
+ Bofa
+
+ Falco Lombardi
+
+
+
+
+
+ Sottolio
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+
+
+
+ Kebab
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+
+
+
);
}
diff --git a/src/style.css b/src/style.css
deleted file mode 100644
index 8a03e91..0000000
--- a/src/style.css
+++ /dev/null
@@ -1,8 +0,0 @@
-html, body {
- font: 14px/1.21 'Helvetica Neue', arial, sans-serif;
- font-weight: 400;
-}
-
-h1 {
- text-align: center;
-}