This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export default () => <div>File one</div>; export default () => <div>File one</div>; export default () => <div>File one</div>; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900&display=swap'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/tinder-swipe.framerfx/code/App.tsx | |
| +++ b/tinder-swipe.framerfx/code/App.tsx | |
| @@ -3,6 +3,7 @@ import { Override, useAnimation, useMotionValue, transform } from 'framer' | |
| // Override Docs: https://framer.com/docs/overrides | |
| window.log = console.log | |
| +var cardCounts = 3 - 1 | |
| export function Card(): Override { | |
| const anim = useAnimation() | |
| const dragX = useMotionValue(0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/tinder-swipe.framerfx/code/App.tsx | |
| +++ b/tinder-swipe.framerfx/code/App.tsx | |
| @@ -1,10 +1,13 @@ | |
| -import { Override, useAnimation } from 'framer' | |
| +import { Override, useAnimation, useMotionValue } from 'framer' | |
| // Override Docs: https://framer.com/docs/overrides | |
| window.log = console.log | |
| export function Card(): Override { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/tinder-swipe.framerfx/code/App.tsx | |
| +++ b/tinder-swipe.framerfx/code/App.tsx | |
| @@ -1,8 +1,10 @@ | |
| -import { Override } from 'framer' | |
| +import { Override, useAnimation } from 'framer' | |
| // Override Docs: https://framer.com/docs/overrides | |
| +window.log = console.log | |
| export function Card(): Override { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- /dev/null | |
| +++ b/tinder-swipe.framerfx/code/App.tsx | |
| @@ -0,0 +1,16 @@ | |
| +import { Override } from 'framer' | |
| + | |
| +// Override Docs: https://framer.com/docs/overrides | |
| + | |
| +export function Card(): Override { | |
| + return { | |
| + drag: true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/adidas-landing.framerfx/code/App.tsx | |
| +++ b/adidas-landing.framerfx/code/App.tsx | |
| @@ -32,8 +32,12 @@ export function Scroll(): Override { | |
| }) | |
| } | |
| - // Label | |
| + // Label0 | |
| setLabel0Top(transform(move, [-50, -400], [40, 40 + 350])) | |
| + // Label1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/adidas-landing.framerfx/code/App.tsx | |
| +++ b/adidas-landing.framerfx/code/App.tsx | |
| @@ -1,4 +1,5 @@ | |
| import { Override, useAnimation, transform } from 'framer' | |
| +import { useState } from 'react' | |
| // Override Docs: https://framer.com/docs/overrides | |
| window.log = console.log | |
| @@ -32,12 +33,7 @@ export function Scroll(): Override { | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/adidas-landing.framerfx/code/App.tsx | |
| +++ b/adidas-landing.framerfx/code/App.tsx | |
| @@ -1,4 +1,4 @@ | |
| -import { Override, useAnimation } from 'framer' | |
| +import { Override, useAnimation, transform } from 'framer' | |
| // Override Docs: https://framer.com/docs/overrides | |
| window.log = console.log | |
| @@ -30,6 +30,14 @@ export function Scroll(): Override { | |
| bottom: 0, |