Skip to content

Commit f37c94e

Browse files
committed
docs: change titles and headers wording
1 parent 71c7dfa commit f37c94e

22 files changed

+94
-42
lines changed

docs/content/1.getting-started/2.nuxt.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# Nuxt Usage
1+
---
2+
title: Nuxt Usage
3+
description: Easily set up motions in your Nuxt project using the nuxt import.
4+
---
5+
26

37
If you are using [Nuxt](https://nuxtjs.org/), this package has a specific implementation that makes the declaration of custom directives even easier.
48

docs/content/2.features/0.presets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Presets
3-
description: Presets are a set of animations that are bundled with the package.
3+
description: Presets are a set of animations bundled with the package.
44
toc: false
55
---
66

docs/content/2.features/1.component-usage.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# Component usage
1+
---
2+
title: Component usage
3+
description: Directly use motions using components
4+
---
25

36
vueuse/motion allows you to implement your animations directly within the template of your components without the need to wrap target elements in any additional components.
47

docs/content/2.features/1.directive-usage.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# Directive Usage
1+
---
2+
title: Directive usage
3+
description: Directly use motions using directives
4+
---
25

36
vueuse/motion allows you to write your animations right from the template of your components without having to wrap the target elements in any wrapper component.
47

docs/content/2.features/2.composable-usage.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# Composable Usage
1+
---
2+
title: Composable usage
3+
description: Programmatic motions using composables
4+
---
5+
26

37
vueuse/motion is written using Composition API.
48

docs/content/2.features/3.motion-properties.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# Motion Properties
1+
---
2+
title: Motion Properties
3+
description: The animatable properties of an element used for motions
4+
---
25

36
Motion properties are represented by an object containing all the animatable properties of an element.
47

docs/content/2.features/4.transition-properties.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
title: Transition Properties
3+
description: Tweak your motions by setting transition properties
4+
---
5+
16
# Transition Properties
27

38
Transition properties are represented by an object containing all transition parameters of a variant.

docs/content/2.features/5.variants.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# Variants
1+
---
2+
title: Variants
3+
description: Variants are the states motions animate between
4+
---
25

36
Variants represent an animatable state for your element.
47

docs/content/2.features/6.motion-instance.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
title: Motion Instance
3+
description: The instance that exposes motions for programmatic usage
4+
---
5+
16
# Motion Instance
27

38
Motion instance is the object exposed when binding to a target element using [v-motion](/features/directive-usage) or [useMotion](/features/composable-usage).

docs/content/3.api/1.use-motion.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# useMotion
2-
3-
useMotion is the core composable of this package.
1+
---
2+
title: useMotion
3+
description: The core composable of this package.
4+
---
45

56
This composable imports every other composable and expose a motion instance.
67

0 commit comments

Comments
 (0)