Skip to content

Commit 8eace3c

Browse files
committed
🎉 feat: animation
1 parent c12516f commit 8eace3c

File tree

8 files changed

+8
-16
lines changed

8 files changed

+8
-16
lines changed

docs/components/fern/benchmark.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { useFlyIn, useFadeIn, useExpandWidth } from './animate'
66
const scope = ref(null)
77
const isInView = useInView(scope, {
88
once: true,
9-
margin: '100px',
10-
amount: 'all'
9+
margin: '0px 0px -50% 0px',
1110
})
1211
const flyIn = useFlyIn(isInView)
1312
const fadeIn = useFadeIn(isInView)

docs/components/fern/beyond.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,7 @@ import { useFlyIn } from './animate'
155155
const scope = ref(null)
156156
const isInView = useInView(scope, {
157157
once: true,
158-
margin: '100px',
159-
amount: 'all'
158+
margin: '0px 0px -50% 0px',
160159
})
161160
const flyIn = useFlyIn(isInView)
162161

docs/components/fern/doc.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { useFlyIn } from './animate'
66
const scope = ref(null)
77
const isInView = useInView(scope, {
88
once: true,
9-
margin: '-300px',
10-
amount: 'some'
9+
margin: '0px 0px -50% 0px'
1110
})
1211
const flyIn = useFlyIn(isInView)
1312
</script>

docs/components/fern/easy.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { useFlyIn } from './animate'
66
const scope = ref(null)
77
const isInView = useInView(scope, {
88
once: true,
9-
margin: '100px',
10-
amount: 'all'
9+
margin: '0px 0px -50% 0px',
1110
})
1211
const flyIn = useFlyIn(isInView)
1312
</script>

docs/components/fern/features.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { useFlyIn } from './animate'
66
const scope = ref(null)
77
const isInView = useInView(scope, {
88
once: true,
9-
margin: '100px',
10-
amount: 'all'
9+
margin: '0px 0px -50% 0px',
1110
})
1211
const flyIn = useFlyIn(isInView)
1312
</script>

docs/components/fern/sponsor.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,7 @@ import { data, type Sponsor } from './sponsor.data'
247247
const scope = ref(null)
248248
const isInView = useInView(scope, {
249249
once: true,
250-
margin: '100px',
251-
amount: 'all'
250+
margin: '0px 0px -50% 0px',
252251
})
253252
const flyIn = useFlyIn(isInView)
254253

docs/components/fern/tweets.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@ import { useFlyIn } from './animate'
126126
const scope = ref(null)
127127
const isInView = useInView(scope, {
128128
once: true,
129-
margin: '-300px',
130-
amount: 'some'
129+
margin: '0px 0px -50% 0px',
131130
})
132131
const flyIn = useFlyIn(isInView)
133132
</script>

docs/components/fern/type-integrity.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ import { useFlyIn } from './animate'
6363
const scope = ref(null)
6464
const isInView = useInView(scope, {
6565
once: true,
66-
margin: '-300px',
67-
amount: 'some'
66+
margin: '0px 0px -50% 0px'
6867
})
6968
const flyIn = useFlyIn(isInView)
7069

0 commit comments

Comments
 (0)