Skip to content

Commit 289a53e

Browse files
author
Mohamad Faris
committed
update animation content
1 parent ec7cf9b commit 289a53e

File tree

6 files changed

+34
-7
lines changed

6 files changed

+34
-7
lines changed

docs/contentful/Animations.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Animations On Scroll
2+
Animation Contentful components on scroll is implemented currently for following components:
3+
- [Viewport](./Viewport.md)
4+
- [Image](./Image.md)
5+
- [ContentBlock](./ContentBlock.md)
6+
7+
![screenshot](./pics/Animation/screenshot.png)
8+
9+
**Preview:** https://community-app.topcoder.com/examples/contentful/viewport/1HRSb4Bls4S2mQesG6mJOn
10+
11+
Defining a scroll animation is easy via the Web UI. Search for the "Animation On Scroll" field and either select existing animation or create new one.
12+
![](./pics/anim1.png)
13+
14+
## Animation Model
15+
To define a default animation only `Name` and `Animate On Scroll` fields are required. There is help hint bellow each fields what is does and how to use it. For further detailed examples see: https://michalsnik.github.io/aos/. All available properties are supported from Contentful animatable components as well.
16+
![](./pics/anim2.png)

docs/contentful/Route.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Route
2-
A Route that can render a Viewport at its endpoint, and also include sub-routes with Viewports. When linked to community-app it will render its [Viewport](./viewport.md) under the specified `URL`.
2+
A Route that can render a Viewport at its endpoint, and also include sub-routes with Viewports. When linked to community-app it will render its [Viewport](./Viewport.md) under the specified `URL`.
33

44
## Fields
55
![](./pics/Route.png)

docs/contentful/Viewport.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Viewport
2+
3+
A generic container for other objects, that renders its children into a container element. It supports nested viewports, different layout options for viewport content via themes. Viewport should be considered as the main content layout and grouping component.
4+
5+
## Fields
6+
![](./pics/Viewport.png)

docs/contentful/animations.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# Animations On Scroll
2-
Animationg Contentful components on scroll is implemetented currently for following components:
3-
- Viewport
4-
- Image
5-
- ContentBlock
2+
Animation Contentful components on scroll is implemented currently for following components:
3+
- [Viewport](./Viewport.md)
4+
- [Image](./Image.md)
5+
- [ContentBlock](./ContentBlock.md)
66

7-
Definig a scroll animation is easy via the Web UI. Search for the "Animation On Scroll" field and either select existing animation or create new one.
7+
![screenshot](./pics/Animation/screenshot.png)
8+
9+
**Preview:** https://community-app.topcoder.com/examples/contentful/viewport/1HRSb4Bls4S2mQesG6mJOn
10+
11+
Defining a scroll animation is easy via the Web UI. Search for the "Animation On Scroll" field and either select existing animation or create new one.
812
![](./pics/anim1.png)
913

1014
## Animation Model

docs/contentful/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Instructions are also provided below for developments that want to modify/create
1818
- [Basics](./content-writer-basics.md)
1919
- Content Types
2020
- [Accordion](./accordion.md)
21+
- [Animation](./Animation.md)
2122
- [App Component](./AppComponent.md)
2223
- [Banner](./banner.md)
2324
- [ContentBlock](./ContentBlock.md)
@@ -33,7 +34,7 @@ Instructions are also provided below for developments that want to modify/create
3334
- [Navigation Menu](./NavigationMenu.md)
3435
- [Quote](./Quote.md)
3536
- [Route](./Route.md)
36-
- [Viewport](./viewport.md)
37+
- [Viewport](./Viewport.md)
3738
- [Member Card](./memberCard.md)
3839
- [Article](./Article.md)
3940
- [Preview Content](./preview-content.md)
126 KB
Loading

0 commit comments

Comments
 (0)