Skip to content

Commit

Permalink
enable home animation with instant load
Browse files Browse the repository at this point in the history
  • Loading branch information
adhadse committed Aug 17, 2023
1 parent ee83817 commit d42aaf9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions content/assets/js/home.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
document$.subscribe(() => {
VANTA.HALO({
el: ".hero-container",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
baseColor: 0x0,
backgroundColor: 0x0,
xOffset: 0.09,
size: 0.90
})
})
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ extra_css:
extra_javascript:
- assets/js/katex.js
- assets/js/highlight.js
- assets/js/home.js

extra:
social:
Expand Down

0 comments on commit d42aaf9

Please sign in to comment.