Add snow fall to the site
Some tweaks to the node dependencies and compression script also done
This commit is contained in:
parent
84383ecd31
commit
70e5b9bec7
5 changed files with 198 additions and 283 deletions
|
@ -72,6 +72,16 @@
|
|||
<!--scripts go here when needed-->
|
||||
@section('scripts')
|
||||
<script type="module" src="/assets/js/app.js"></script>
|
||||
|
||||
<!-- Snow fall -->
|
||||
<script type="module" src="/assets/frontend/is-land.js"></script>
|
||||
<script type="module" src="/assets/frontend/snow-fall.js"></script>
|
||||
<is-land on:media="(prefers-reduced-motion: no-preference)">
|
||||
<snow-fall
|
||||
count="240"
|
||||
style="--snow-fall-color: rebeccapurple; --snow-fall-size: 8px"
|
||||
></snow-fall>
|
||||
</is-land>
|
||||
@show
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue