From ed2626c7000e06b6263e585d620d9b3bbd534981 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 5 Nov 2024 20:03:29 +0100 Subject: [PATCH] fix and format examples decks --- examples/500-slides.html | 15 +- examples/auto-animate.html | 341 ++++++++++++++++++++++----- examples/backgrounds.html | 41 ++-- examples/barebones.html | 15 +- examples/layout-helpers.html | 63 +++-- examples/markdown.html | 254 ++++++++++---------- examples/math.html | 30 +-- examples/media.html | 37 +-- examples/multiple-presentations.html | 63 +++-- examples/scroll.html | 132 +++++++---- examples/transitions.html | 15 +- 11 files changed, 642 insertions(+), 364 deletions(-) diff --git a/examples/500-slides.html b/examples/500-slides.html index 2270c747912..995805d8b35 100644 --- a/examples/500-slides.html +++ b/examples/500-slides.html @@ -1,14 +1,17 @@ - + - + reveal.js - 500 slides - + - - + + @@ -519,7 +522,7 @@ diff --git a/examples/auto-animate.html b/examples/auto-animate.html index 199810e409a..bcc083a8169 100644 --- a/examples/auto-animate.html +++ b/examples/auto-animate.html @@ -1,27 +1,27 @@ - + - - + reveal.js - Auto Animate - + - - - + + + -
-

Auto-Animate Example

This will fade out

- +

 						function Example() {
 						  const [count, setCount] = useState(0);
@@ -30,9 +30,9 @@ 

Auto-Animate Example

Auto-Animate Example

-

This will fade out

+

This will fade out

This element is unmatched

- +

 						function Example() {
 						  New line!
@@ -42,10 +42,14 @@ 

Auto-Animate Example

-

Line Height & Letter Spacing

+

+ Line Height & Letter Spacing +

-

Line Height & Letter Spacing

+

+ Line Height & Letter Spacing +

@@ -125,36 +129,204 @@

Swapping list items

-

SLIDE 1

-

Animate Anything

-
-
-
-
+

SLIDE 1

+

Animate Anything

+
+
+
+
-

SLIDE 2

+

SLIDE 2

With Auto Animate

-
-
-
-
+
+
+
+
-

SLIDE 3

-

With Auto Animate

-
-
-
-
+

SLIDE 3

+

With Auto Animate

+
+
+
+
-

SLIDE 3

-

With Auto Animate

-
-
-
-
+

SLIDE 3

+

With Auto Animate

+
+
+
+
@@ -178,48 +350,93 @@

B2

- Slide 1
- Slide 2
- Slide 3
- Slide 4
-
A
+ Slide 1
+ Slide 2
+ Slide 3
+ Slide 4
+
+ A +
- Slide 1
- Slide 2
- Slide 3
- Slide 4
-
A
+ Slide 1
+ Slide 2
+ Slide 3
+ Slide 4
+
+ A +
- Slide 1
- Slide 2
- Slide 3
- Slide 4
-
A
+ Slide 1
+ Slide 2
+ Slide 3
+ Slide 4
+
+ A +
- Slide 1
- Slide 2
- Slide 3
- Slide 4
-
A
+ Slide 1
+ Slide 2
+ Slide 3
+ Slide 4
+
+ A +
-
-
- + - diff --git a/examples/backgrounds.html b/examples/backgrounds.html index 19d40c3463e..a971e7d9b9c 100644 --- a/examples/backgrounds.html +++ b/examples/backgrounds.html @@ -1,15 +1,17 @@ - + - - + reveal.js - Slide Backgrounds - + - - + + - - - + + + - diff --git a/examples/scroll.html b/examples/scroll.html index c87903ccbae..92199105b81 100644 --- a/examples/scroll.html +++ b/examples/scroll.html @@ -1,25 +1,24 @@ - + - - + reveal.js - Scroll View - + - - - - + + + + -
-
-

Scroll View

Scroll triggered fragments

@@ -29,35 +28,81 @@

Scroll triggered fragments

  • Step three
  • -

    Scrollbar inverts
    based on slide bg

    -
    +
    +

    Scrollbar inverts
    based on slide bg

    +
    +

    Auto-Animate

    Scroll triggered auto-animations 😍

    -
    -
    -
    +
    +
    +
    -
    +
    -
    -
    -
    +
    +
    +
    -

    Auto-Animate

    +

    Auto-Animate

    -
    +
    -
    -
    -
    +
    +
    +
    -

    Auto-Animate

    +

    Auto-Animate

    -
    +

    Code highlights,
    meet scroll triggers

    -
    -
    -

    Image Backgrounds

    -
    -
    -

    Video background

    -
    -
    +
    +

    Image Backgrounds

    +
    +
    +

    Video background

    +
    +

    The end

    -
    -
    - - - + + + - diff --git a/examples/transitions.html b/examples/transitions.html index adbfd150e72..aa2e2727431 100644 --- a/examples/transitions.html +++ b/examples/transitions.html @@ -1,13 +1,12 @@ - + - - + reveal.js - Slide Transitions - - + +