forked from p15670423/monkey
UI: Replace " with ' in particle js code
This commit is contained in:
parent
a7259d3345
commit
d172b91143
|
@ -1,4 +1,4 @@
|
||||||
import Particles from "react-tsparticles";
|
import Particles from 'react-tsparticles';
|
||||||
import {particleParams} from '../../styles/components/particle-component/ParticleBackgroundParams';
|
import {particleParams} from '../../styles/components/particle-component/ParticleBackgroundParams';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
export const particleParams = {
|
export const particleParams = {
|
||||||
"fps_limit": 60,
|
'fps_limit': 60,
|
||||||
"particles": {
|
'particles': {
|
||||||
"color": {"value": "#646464"},
|
'color': {'value': '#646464'},
|
||||||
"links": {"color": "#555555", "distance": 150, "enable": true, "opacity": 0.4, "width": 1},
|
'links': {'color': '#555555', 'distance': 150, 'enable': true, 'opacity': 0.4, 'width': 1},
|
||||||
"move": {
|
'move': {
|
||||||
"bounce": false,
|
'bounce': false,
|
||||||
"direction": "none",
|
'direction': 'none',
|
||||||
"enable": true,
|
'enable': true,
|
||||||
"outMode": "out",
|
'outMode': 'out',
|
||||||
"random": false,
|
'random': false,
|
||||||
"speed": 2,
|
'speed': 2,
|
||||||
"straight": false
|
'straight': false
|
||||||
},
|
},
|
||||||
"number": {"density": {"enable": true, "area": 800}, "value": 50},
|
'number': {'density': {'enable': true, 'area': 800}, 'value': 50},
|
||||||
"shape": {"type": "circle"},
|
'shape': {'type': 'circle'},
|
||||||
"size": {"value": 3}
|
'size': {'value': 3}
|
||||||
},
|
},
|
||||||
"detectRetina": true
|
'detectRetina': true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue