Skip to content

Commit 33798bc

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

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

docs/components/fern/benchmark.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { useFlyIn, useFadeIn, useExpandWidth } from './animate'
66
const scope = ref(null)
77
const isInView = useInView(scope, {
88
once: true,
9-
margin: '0px 0px -50% 0px',
9+
margin: '0px 0px -40% 0px'
1010
})
1111
const flyIn = useFlyIn(isInView)
1212
const fadeIn = useFadeIn(isInView)

docs/components/fern/beyond.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ import { useFlyIn } from './animate'
155155
const scope = ref(null)
156156
const isInView = useInView(scope, {
157157
once: true,
158-
margin: '0px 0px -50% 0px',
158+
margin: '0px 0px -40% 0px'
159159
})
160160
const flyIn = useFlyIn(isInView)
161161

docs/components/fern/easy.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { useFlyIn } from './animate'
66
const scope = ref(null)
77
const isInView = useInView(scope, {
88
once: true,
9-
margin: '0px 0px -50% 0px',
9+
margin: '0px 0px -40% 0px'
1010
})
1111
const flyIn = useFlyIn(isInView)
1212
</script>

docs/components/fern/features.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { useFlyIn } from './animate'
66
const scope = ref(null)
77
const isInView = useInView(scope, {
88
once: true,
9-
margin: '0px 0px -50% 0px',
9+
margin: '0px 0px -40% 0px'
1010
})
1111
const flyIn = useFlyIn(isInView)
1212
</script>

docs/components/fern/sponsor.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@
4949
</a>
5050
</motion.div>
5151
<section v-if="goldSponsors.length">
52-
<header class="mt-4 text-center" v-bind="flyIn(0.4)">
52+
<header class="mt-4 text-center" v-bind="flyIn(0.3)">
5353
<motion.h4
5454
class="text-4xl text-center font-semibold text-gradient from-sky-500 to-violet-500"
55+
v-bind="flyIn(0.4)"
5556
>
5657
Gold Sponsors <span class="text-pink-400 ml-0.5">💖</span>
5758
</motion.h4>
@@ -247,7 +248,7 @@ import { data, type Sponsor } from './sponsor.data'
247248
const scope = ref(null)
248249
const isInView = useInView(scope, {
249250
once: true,
250-
margin: '0px 0px -50% 0px',
251+
margin: '0px 0px -40% 0px'
251252
})
252253
const flyIn = useFlyIn(isInView)
253254

docs/components/fern/test.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 -40% 0px'
1110
})
1211
const flyIn = useFlyIn(isInView)
1312
</script>

docs/components/fern/tweets.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ import { useFlyIn } from './animate'
126126
const scope = ref(null)
127127
const isInView = useInView(scope, {
128128
once: true,
129-
margin: '0px 0px -50% 0px',
129+
margin: '0px 0px -40% 0px'
130130
})
131131
const flyIn = useFlyIn(isInView)
132132
</script>

0 commit comments

Comments
 (0)