UI: Replace " with ' in particle js code

This commit is contained in:
vakarisz 2022-04-05 11:00:01 +03:00
parent a7259d3345
commit d172b91143
2 changed files with 17 additions and 17 deletions

View File

@ -1,4 +1,4 @@
import Particles from "react-tsparticles";
import Particles from 'react-tsparticles';
import {particleParams} from '../../styles/components/particle-component/ParticleBackgroundParams';
import React from 'react';

View File

@ -1,20 +1,20 @@
export const particleParams = {
"fps_limit": 60,
"particles": {
"color": {"value": "#646464"},
"links": {"color": "#555555", "distance": 150, "enable": true, "opacity": 0.4, "width": 1},
"move": {
"bounce": false,
"direction": "none",
"enable": true,
"outMode": "out",
"random": false,
"speed": 2,
"straight": false
'fps_limit': 60,
'particles': {
'color': {'value': '#646464'},
'links': {'color': '#555555', 'distance': 150, 'enable': true, 'opacity': 0.4, 'width': 1},
'move': {
'bounce': false,
'direction': 'none',
'enable': true,
'outMode': 'out',
'random': false,
'speed': 2,
'straight': false
},
"number": {"density": {"enable": true, "area": 800}, "value": 50},
"shape": {"type": "circle"},
"size": {"value": 3}
'number': {'density': {'enable': true, 'area': 800}, 'value': 50},
'shape': {'type': 'circle'},
'size': {'value': 3}
},
"detectRetina": true
'detectRetina': true
}