-
Notifications
You must be signed in to change notification settings - Fork 2
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 #24 from UR-dandyhacks/feature/particles-fireflies
Fireflies particles! 🔥
- Loading branch information
Showing
5 changed files
with
152 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
{ | ||
"particles": { | ||
"number": { | ||
"value": 50, | ||
"density": { | ||
"enable": true, | ||
"value_area": 500 | ||
} | ||
}, | ||
"color": { | ||
"value": "#fed936" | ||
}, | ||
"shape": { | ||
"type": "circle", | ||
"stroke": { | ||
"width": 0, | ||
"color": "#000000" | ||
}, | ||
"polygon": { | ||
"nb_sides": 5 | ||
}, | ||
"image": { | ||
"src": "img/github.svg", | ||
"width": 100, | ||
"height": 100 | ||
} | ||
}, | ||
"opacity": { | ||
"value": 1, | ||
"random": true, | ||
"anim": { | ||
"enable": true, | ||
"speed": 1, | ||
"opacity_min": 0.1, | ||
"sync": true | ||
} | ||
}, | ||
"size": { | ||
"value": 8, | ||
"random": true, | ||
"anim": { | ||
"enable": true, | ||
"speed": 4.794898228285104, | ||
"size_min": 0.1, | ||
"sync": true | ||
} | ||
}, | ||
"line_linked": { | ||
"enable": false, | ||
"distance": 150, | ||
"color": "#ffffff", | ||
"opacity": 0.4, | ||
"width": 1 | ||
}, | ||
"move": { | ||
"enable": true, | ||
"speed": 3, | ||
"direction": "none", | ||
"random": true, | ||
"straight": false, | ||
"out_mode": "out", | ||
"bounce": false, | ||
"attract": { | ||
"enable": false, | ||
"rotateX": 600, | ||
"rotateY": 1200 | ||
} | ||
} | ||
}, | ||
"interactivity": { | ||
"detect_on": "canvas", | ||
"events": { | ||
"onhover": { | ||
"enable": true, | ||
"mode": "repulse" | ||
}, | ||
"onclick": { | ||
"enable": false, | ||
"mode": "push" | ||
}, | ||
"resize": true | ||
}, | ||
"modes": { | ||
"grab": { | ||
"distance": 400, | ||
"line_linked": { | ||
"opacity": 1 | ||
} | ||
}, | ||
"bubble": { | ||
"distance": 400, | ||
"size": 40, | ||
"duration": 2, | ||
"opacity": 8, | ||
"speed": 3 | ||
}, | ||
"repulse": { | ||
"distance": 200, | ||
"duration": 0.4 | ||
}, | ||
"push": { | ||
"particles_nb": 4 | ||
}, | ||
"remove": { | ||
"particles_nb": 2 | ||
} | ||
} | ||
}, | ||
"retina_detect": true | ||
} |
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 |
---|---|---|
|
@@ -73,10 +73,10 @@ <h2 class="text-2xl lg:text-5xl">What is DandyHacks?</h2> | |
</div> | ||
<img class="hidden lg:block lg:relative lg:b-[150px]" src="img/sticker1.png" /> | ||
</div> | ||
<div id="faq" class="px-5 lg:bg-repeat-y lg:bg-center-top lg:bg-fireflies lg:px-0"> | ||
<div id="faq" class="relative px-5"> | ||
<div class="flex flex-col items-center py-24 box-border gap-12 lg:gap-20"> | ||
<h2 class="text-5xl">FAQS</h2> | ||
<div class="flex flex-col px-10 py-4 lg:py-0 gap-5 lg:px-0"> | ||
<div class="flex flex-col px-10 py-4 pointer-events-none lg:py-0 gap-5 lg:px-0"> | ||
<details> | ||
<summary> | ||
What is a hackathon? | ||
|
@@ -213,6 +213,7 @@ <h3 class="text-3xl text-center pb-7">Why sponsor?</h3> | |
<span>© 2023 DandyHacks</span> | ||
</div> | ||
</footer> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/particles.min.js"></script> | ||
<script src="script.js"></script> | ||
</body> | ||
|
||
|
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