🚀 feat: clickBoom2
This commit is contained in:
@@ -67,6 +67,11 @@
|
||||
<% if (theme.clickBoom){ %>
|
||||
<%- js('/js/clickBoom') %>
|
||||
<% } %>
|
||||
<!-- ClickBoom2 -->
|
||||
<% if (theme.clickBoom2){ %>
|
||||
<script src="https://cdn.jsdelivr.net/npm/animejs@latest/anime.min.js"></script>
|
||||
<%- js('/js/clickBoom2') %>
|
||||
<% } %>
|
||||
<!-- CodeCopy -->
|
||||
<% if (theme.copy_btn == true) { %>
|
||||
<%- css('/css/clipboard') %>
|
||||
|
@@ -2,7 +2,20 @@
|
||||
|
||||
<body>
|
||||
<% if (theme.clickBoom){ %>
|
||||
<canvas width="1777" height="841" style="position: fixed; left: 0px; top: 0px; z-index: 999; pointer-events: none;"></canvas>
|
||||
<canvas width="1777" height="841"
|
||||
style="position: fixed; left: 0px; top: 0px; z-index: 999; pointer-events: none;"></canvas>
|
||||
<% } %>
|
||||
<% if (theme.clickBoom2){ %>
|
||||
<canvas class="fireworks"></canvas>
|
||||
<style>
|
||||
.fireworks {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 99999;
|
||||
pointer-events: none;
|
||||
}
|
||||
</style>
|
||||
<% } %>
|
||||
<div id="app">
|
||||
<main class="content on">
|
||||
|
Reference in New Issue
Block a user