Skip to content

Commit 428d9e0

Browse files
committed
Remove Particles.js config from the landing page JavaScript.
1 parent b1d87a7 commit 428d9e0

File tree

1 file changed

+0
-113
lines changed

1 file changed

+0
-113
lines changed

assets/js/landing_page.js

Lines changed: 0 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -27,116 +27,3 @@ function tag_search() {
2727
const url = "/search?tags=" + encodeURIComponent(JSON.stringify(tags));
2828
window.location.replace(url);
2929
}
30-
31-
/* ---- particles.js config ---- */
32-
33-
particlesJS("particles-js", {
34-
particles: {
35-
number: {
36-
value: 80,
37-
density: {
38-
enable: true,
39-
value_area: 800,
40-
},
41-
},
42-
color: {
43-
value: "#444",
44-
},
45-
shape: {
46-
type: "circle",
47-
stroke: {
48-
width: 0,
49-
color: "#444",
50-
},
51-
polygon: {
52-
nb_sides: 5,
53-
},
54-
image: {
55-
src: "img/github.svg",
56-
width: 100,
57-
height: 100,
58-
},
59-
},
60-
opacity: {
61-
value: 0.5,
62-
random: false,
63-
anim: {
64-
enable: false,
65-
speed: 1,
66-
opacity_min: 0.1,
67-
sync: false,
68-
},
69-
},
70-
size: {
71-
value: 3,
72-
random: true,
73-
anim: {
74-
enable: false,
75-
speed: 40,
76-
size_min: 0.1,
77-
sync: false,
78-
},
79-
},
80-
line_linked: {
81-
enable: true,
82-
distance: 150,
83-
color: "#888",
84-
opacity: 0.4,
85-
width: 1,
86-
},
87-
move: {
88-
enable: true,
89-
speed: 1,
90-
direction: "bottom",
91-
random: true,
92-
straight: false,
93-
out_mode: "out",
94-
bounce: false,
95-
attract: {
96-
enable: false,
97-
rotateX: 600,
98-
rotateY: 1200,
99-
},
100-
},
101-
},
102-
interactivity: {
103-
detect_on: "canvas",
104-
events: {
105-
onhover: {
106-
enable: false,
107-
mode: "repulse",
108-
},
109-
onclick: {
110-
enable: false,
111-
mode: "push",
112-
},
113-
resize: true,
114-
},
115-
modes: {
116-
grab: {
117-
distance: 140,
118-
line_linked: {
119-
opacity: 1,
120-
},
121-
},
122-
bubble: {
123-
distance: 400,
124-
size: 40,
125-
duration: 2,
126-
opacity: 8,
127-
speed: 3,
128-
},
129-
repulse: {
130-
distance: 200,
131-
duration: 0.4,
132-
},
133-
push: {
134-
particles_nb: 4,
135-
},
136-
remove: {
137-
particles_nb: 2,
138-
},
139-
},
140-
},
141-
retina_detect: true,
142-
});

0 commit comments

Comments
 (0)