fix template

This commit is contained in:
Pooya Parsa 2022-09-05 15:33:39 +02:00
parent 72e3b7159b
commit 027324a67a

View File

@ -46,7 +46,7 @@
width: 100%;
}
50% {
width: 0%;
width: 0;
}
100% {
width: 100%;
@ -90,11 +90,15 @@
<div class="spotlight-wrapper">
<div class="fixed left-0 right-0 spotlight spotlight-bottom z-q0"></div>
</div>
<div class="nuxt-loader-bar"/>
<div class="nuxt-loader-bar"></div>
<script>
const nuxtImg = window.document.getElementById('nuxtImg')
const nuxtImg = window
.document
.getElementById('nuxtImg')
const body = window.document.body
const mouseLightContainer = window.document.getElementById('mouseLight')
const mouseLightContainer = window
.document
.getElementById('mouseLight')
let bodyRect
function calculateDistance(elem, mouseX, mouseY) {