@@ -15,52 +15,52 @@ Looking for a demo of swup animations in action? You are in fact looking at one!
15
15
with swup and CSS-only animations. See below for more isolated examples showcasing swup's
16
16
features and options.
17
17
18
- Click the <img src = " https://replit.com/badge?theme=dark&variant=small&caption=Try%20with%20Replit " > button
18
+ Click the <span class = " glitch__pill glitch__pill--dummy " >Edit on Glitch</ span > button
19
19
of each demo to see the code and fork it for experimenting yourself.
20
20
21
21
## Basic animation
22
22
23
23
Default swup installation with two containers and a fade animation between pages.
24
24
25
- ``` repl
26
- https://swup-demo-basic-temp.replit.app
25
+ ``` glitch
26
+ https://swup-demo-basic.glitch.me
27
27
Swup Demo: Basic
28
28
```
29
29
30
30
## Slide animation
31
31
32
32
Slide pages into view horizontally.
33
33
34
- ``` repl
35
- https://swup-demo-slide-temp.replit.app
34
+ ``` glitch
35
+ https://swup-demo-slide.glitch.me
36
36
Swup Demo: Slide
37
37
```
38
38
39
39
## Overlay animation
40
40
41
41
Cover content while loading the new page.
42
42
43
- ``` repl
44
- https://swup-demo-overlay-temp.replit.app
43
+ ``` glitch
44
+ https://swup-demo-overlay.glitch.me
45
45
Swup Demo: Overlay
46
46
```
47
47
48
48
## Multiple animations
49
49
50
50
Use swup's animation classes for other elements than the main content containers.
51
51
52
- ``` repl
53
- https://swup-demo-multiple-temp.replit.app
52
+ ``` glitch
53
+ https://swup-demo-multiple.glitch.me
54
54
Swup Demo: Mulitple animations
55
55
```
56
56
57
57
## Slideshow animation
58
58
59
- Animate between pages as a horizontal slideshow.
60
- Uses the [ Parallel Plugin] ( /plugins/parallel -plugin/ ) to show both pages at the same time .
59
+ Animate between pages as a horizontal slideshow. Uses the [ Parallel Plugin ] ( /plugins/parallel-plugin/ ) to show both pages at the same time
60
+ and the [ Preload Plugin] ( /plugins/preload -plugin/ ) to preload the slides .
61
61
62
- ``` repl
63
- https://swup-demo-slideshow-temp.replit.app
62
+ ``` glitch
63
+ https://swup-demo-slideshow.glitch.me
64
64
Swup Demo: Slideshow
65
65
```
66
66
@@ -69,8 +69,8 @@ Swup Demo: Slideshow
69
69
Reveal the next page using masks and gradients.
70
70
Uses the [ Parallel Plugin] ( /plugins/parallel-plugin/ ) to show both pages at the same time.
71
71
72
- ``` repl
73
- https://swup-demo-reveal-temp.replit.app
72
+ ``` glitch
73
+ https://swup-demo-reveal.glitch.me
74
74
Swup Demo: Reveal
75
75
```
76
76
@@ -79,41 +79,43 @@ Swup Demo: Reveal
79
79
Load sub-pages as modals.
80
80
Uses the [ Fragment Plugin] ( /plugins/fragment-plugin/ ) to dynamically select containers based on route.
81
81
82
- ``` repl
83
- https://swup-demo-modal-overlay-temp.replit.app/
82
+ ``` glitch
83
+ https://swup-demo-fragment-modal.glitch.me
84
+ Swup Fragment Demo: Modal
84
85
```
85
86
86
87
## Fragment support: list
87
88
88
89
Uses the [ Fragment Plugin] ( /plugins/fragment-plugin/ ) to replace only the items of a list when applying filters.
89
90
90
- ``` repl
91
- https://swup-demo-filter-a-list-temp.replit.app/
91
+ ``` glitch
92
+ https://swup-demo-fragment-list.glitch.me
93
+ Swup Fragment Demo: List
92
94
```
93
95
94
96
## Animated forms
95
97
96
98
Animate form submissions using the [ Forms Plugin] ( /plugins/forms-plugin/ ) .
97
99
98
- ``` repl
99
- https://swup-demo-forms-temp.replit.app
100
+ ``` glitch
101
+ https://swup-demo-forms.glitch.me
100
102
Swup Demo: Animated forms
101
103
```
102
104
103
105
## Inline forms
104
106
105
107
Submit simple forms in place without full page loads using the [ Forms Plugin] ( /plugins/forms-plugin/ ) .
106
108
107
- ``` repl
108
- https://swup-demo-inline-forms-temp.replit.app
109
+ ``` glitch
110
+ https://swup-demo-inline-forms.glitch.me
109
111
Swup Demo: Inline forms
110
112
```
111
113
112
114
## Infinite scroll cache
113
115
114
116
Persist items loaded with infinite scroll between page visits.
115
117
116
- ``` repl
117
- https://swup-demo-infinite-scroll-cache-temp.replit.app
118
+ ``` glitch
119
+ https://swup-demo-infinite-scroll-cache.glitch.me
118
120
Swup Demo: Infinite Scroll Cache
119
121
```
0 commit comments