1
0
web/layouts/partials/particles.html

26 lines
660 B
HTML
Raw Normal View History

2024-04-28 06:25:43 +00:00
<script>
function sun_open() {
var n = document.querySelectorAll(".nasa");
2024-04-28 08:47:14 +00:00
var index = 0, length = n.length;
2024-04-28 06:25:43 +00:00
for ( ; index < length; index++) {
2024-04-28 08:47:14 +00:00
if (n[index].style.display == 'block') {
2024-04-28 06:25:43 +00:00
n[index].style.display = 'none';
} else {
n[index].style.display = 'block';
}
}
}
</script>
2024-04-27 08:42:31 +00:00
<link rel="stylesheet" href="/pkg/particles/particles.css" />
2024-04-28 06:25:43 +00:00
<div class="sun">
<div class="sun-button">
2024-04-28 08:00:52 +00:00
<img id="sun-img-button" src="/icon/sun.svg" onclick="sun_open()">
2024-04-28 06:25:43 +00:00
</div>
2024-04-28 08:47:14 +00:00
<div class="sun-particles">
<div id="particles-js"></div>
</div>
2024-04-28 06:25:43 +00:00
</div>
2024-04-07 17:50:00 +00:00
<script src="/pkg/particles/particles.min.js"></script>
<script src="/pkg/particles/config.js"></script>