This commit is contained in:
ntr 2019-06-11 21:32:18 +10:00
parent 76ff7ba43f
commit 3c4eac85f9

View File

@ -10,7 +10,7 @@ class Amplify extends Component {
} }
render() { render() {
const path = 'M0,100 C100,-100 100,300 200,100'; const path = 'M0,100 C100,-200 100,400 200,100';
return ( return (
<svg <svg
@ -29,7 +29,7 @@ class Amplify extends Component {
} }
componentDidMount() { componentDidMount() {
const altPath = 'M0,100 C100,300 100,-100 200,100'; const altPath = 'M0,100 C100,400 100,-200 200,100';
anime({ anime({
targets: '#amplify path', targets: '#amplify path',
d: [{ value: altPath }], d: [{ value: altPath }],