Skip to content

Commit 198da77

Browse files
authored
chore: refactors lessons into sub-components as vertical slides (#700)
* chore: refactor lessons into separate modules Signed-off-by: Anthony D. Mays <[email protected]> * chore: finishes refactoring lessons Signed-off-by: Anthony D. Mays <[email protected]> * chore: finishes refactoring lessons Signed-off-by: Anthony D. Mays <[email protected]> --------- Signed-off-by: Anthony D. Mays <[email protected]>
1 parent bb56e3a commit 198da77

36 files changed

+3148
-2727
lines changed

slides/css/theme/source/ml.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ $headingLetterSpacing: .02em;
6969
text-align: left;
7070

7171
h1 {
72-
font-size: 2em;
72+
font-size: 1.75em;
7373
font-weight: 700;
74+
line-height: 1.1em;
7475
}
7576

7677
h2 {

slides/dist/theme/ml.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ section.has-light-background, section.has-light-background h1, section.has-light
2828
text-align: left;
2929
}
3030
.reveal .ml-title-slide h1 {
31-
font-size: 2em;
31+
font-size: 1.75em;
3232
font-weight: 700;
33+
line-height: 1.1em;
3334
}
3435
.reveal .ml-title-slide h2 {
3536
font-weight: 700;

slides/src/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import RevealHighlight from "../plugin/highlight/highlight.esm.js";
66
import RevealMarkdown from "../plugin/markdown/markdown.esm.js";
77
import RevealNotes from "../plugin/notes/notes.esm.js";
88
import RevealSearch from "../plugin/search/search.esm.js";
9-
import Slides from "./Slides.js";
9+
import { Slides } from "./Slides/index.js";
1010

1111
const html = htm.bind(createElement);
1212

@@ -23,7 +23,7 @@ function App() {
2323
if (deckRef.current) return;
2424

2525
deckRef.current = new Reveal(deckDivRef.current, {
26-
transition: "slide",
26+
transition: "none",
2727
// other config options
2828
plugins: [
2929
RevealMarkdown,

0 commit comments

Comments
 (0)