-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from tsparticles/dev
Added prettier for checking files formatting and GA4
- Loading branch information
Showing
91 changed files
with
4,057 additions
and
3,264 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,44 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<head> | ||
<!-- Google tag (gtag.js) --> | ||
<script | ||
async | ||
src="https://www.googletagmanager.com/gtag/js?id=G-1752YPLP7H" | ||
></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag() { | ||
dataLayer.push(arguments); | ||
} | ||
gtag("js", new Date()); | ||
|
||
gtag("config", "G-1752YPLP7H"); | ||
</script> | ||
|
||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Autumn | tsParticles 404</title> | ||
<link type="text/css" rel="stylesheet" href="styles/404.css" /> | ||
<title>Autumn 404</title> | ||
<link rel="icon" type="image/x-icon" href="../images/tsParticles-64.png"> | ||
</head> | ||
<body> | ||
<link rel="icon" type="image/x-icon" href="../images/tsParticles-64.png" /> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<div id="tsparticles"></div> | ||
<div id="tsparticles"></div> | ||
|
||
<div class="wrapper"> | ||
<img src="/autumn/images/pumpkin.png"></img> | ||
<h1>404</h1> | ||
<h3>Uh-oh, page not found :(</h3> | ||
<a href="#"><button class="link">Go Back</button></a> | ||
</div> | ||
<div class="wrapper"> | ||
<img src="/autumn/images/pumpkin.png" /> | ||
<h1>404</h1> | ||
<h3>Uh-oh, page not found :(</h3> | ||
<a href="#"><button class="link">Go Back</button></a> | ||
</div> | ||
</div> | ||
<script type="text/javascript" | ||
src="https://cdn.jsdelivr.net/npm/tsparticles-slim@2.3.4/tsparticles.slim.bundle.min.js"></script> | ||
<script | ||
type="text/javascript" | ||
src="https://cdn.jsdelivr.net/npm/tsparticles-slim@2.3.4/tsparticles.slim.bundle.min.js" | ||
></script> | ||
<script type="text/javascript" defer="defer" src="scripts/404.js"></script> | ||
</body> | ||
</html> | ||
</body> | ||
</html> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,82 +1,82 @@ | ||
tsParticles.load("tsparticles", { | ||
fpsLimit: 60, | ||
fullScreen: { | ||
enable: true | ||
fpsLimit: 60, | ||
fullScreen: { | ||
enable: true, | ||
}, | ||
interactivity: { | ||
detectsOn: "window", | ||
events: { | ||
resize: true, | ||
onHover: { | ||
enable: true, | ||
mode: "bubble", | ||
}, | ||
}, | ||
interactivity: { | ||
detectsOn: "window", | ||
events: { | ||
resize: true, | ||
onHover: { | ||
enable: true, | ||
mode: "bubble" | ||
} | ||
}, | ||
modes: { | ||
bubble: { distance: 100, duration: 2, opacity: 1, size: 40, speed: 3 }, | ||
grab: { distance: 400, links: { opacity: 1 } }, | ||
push: { quantity: 4 }, | ||
remove: { quantity: 2 }, | ||
repulse: { distance: 200, duration: 0.4 } | ||
} | ||
modes: { | ||
bubble: { distance: 100, duration: 2, opacity: 1, size: 40, speed: 3 }, | ||
grab: { distance: 400, links: { opacity: 1 } }, | ||
push: { quantity: 4 }, | ||
remove: { quantity: 2 }, | ||
repulse: { distance: 200, duration: 0.4 }, | ||
}, | ||
particles: { | ||
color: { value: "random" }, | ||
links: { | ||
color: "random", | ||
distance: 150, | ||
enable: false, | ||
opacity: 1, | ||
width: 1 | ||
}, | ||
move: { | ||
attract: { enable: false, rotateX: 600, rotateY: 1200 }, | ||
bounce: false, | ||
direction: "none", | ||
enable: true, | ||
out_mode: "out", | ||
random: false, | ||
speed: 3, | ||
straight: false | ||
}, | ||
rotate: { | ||
animation: { | ||
enable: true, | ||
speed: 10, | ||
sync: false | ||
} | ||
}, | ||
number: { density: { enable: true, area: 800 }, value: 100 }, | ||
opacity: { | ||
animation: { enable: true, minimumValue: 1, speed: 1, sync: false }, | ||
random: false, | ||
value: 1 | ||
}, | ||
shape: { | ||
character: [ | ||
{ | ||
fill: true, | ||
font: "Verdana", | ||
value: ["🍂", "🍁"], | ||
style: "", | ||
weight: 400 | ||
} | ||
], | ||
image: { | ||
height: 100, | ||
replace_color: true, | ||
src: "images/github.svg", | ||
width: 100 | ||
}, | ||
polygon: { nb_sides: 5 }, | ||
stroke: { color: "random", width: 1 }, | ||
type: "char" | ||
}, | ||
particles: { | ||
color: { value: "random" }, | ||
links: { | ||
color: "random", | ||
distance: 150, | ||
enable: false, | ||
opacity: 1, | ||
width: 1, | ||
}, | ||
move: { | ||
attract: { enable: false, rotateX: 600, rotateY: 1200 }, | ||
bounce: false, | ||
direction: "none", | ||
enable: true, | ||
out_mode: "out", | ||
random: false, | ||
speed: 3, | ||
straight: false, | ||
}, | ||
rotate: { | ||
animation: { | ||
enable: true, | ||
speed: 10, | ||
sync: false, | ||
}, | ||
}, | ||
number: { density: { enable: true, area: 800 }, value: 100 }, | ||
opacity: { | ||
animation: { enable: true, minimumValue: 1, speed: 1, sync: false }, | ||
random: false, | ||
value: 1, | ||
}, | ||
shape: { | ||
character: [ | ||
{ | ||
fill: true, | ||
font: "Verdana", | ||
value: ["🍂", "🍁"], | ||
style: "", | ||
weight: 400, | ||
}, | ||
size: { | ||
anim: { enable: true, minimumValue: 8, speed: 20, sync: false }, | ||
random: { minimumValue: 8, enable: true }, | ||
value: 32 | ||
} | ||
], | ||
image: { | ||
height: 100, | ||
replace_color: true, | ||
src: "images/github.svg", | ||
width: 100, | ||
}, | ||
polygon: { nb_sides: 5 }, | ||
stroke: { color: "random", width: 1 }, | ||
type: "char", | ||
}, | ||
size: { | ||
anim: { enable: true, minimumValue: 8, speed: 20, sync: false }, | ||
random: { minimumValue: 8, enable: true }, | ||
value: 32, | ||
}, | ||
detectRetina: true | ||
}, | ||
detectRetina: true, | ||
}); |
Oops, something went wrong.