mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-18 06:31:27 +00:00
fix template
This commit is contained in:
parent
72e3b7159b
commit
027324a67a
@ -46,7 +46,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
50% {
|
50% {
|
||||||
width: 0%;
|
width: 0;
|
||||||
}
|
}
|
||||||
100% {
|
100% {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -90,11 +90,15 @@
|
|||||||
<div class="spotlight-wrapper">
|
<div class="spotlight-wrapper">
|
||||||
<div class="fixed left-0 right-0 spotlight spotlight-bottom z-q0"></div>
|
<div class="fixed left-0 right-0 spotlight spotlight-bottom z-q0"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="nuxt-loader-bar"/>
|
<div class="nuxt-loader-bar"></div>
|
||||||
<script>
|
<script>
|
||||||
const nuxtImg = window.document.getElementById('nuxtImg')
|
const nuxtImg = window
|
||||||
|
.document
|
||||||
|
.getElementById('nuxtImg')
|
||||||
const body = window.document.body
|
const body = window.document.body
|
||||||
const mouseLightContainer = window.document.getElementById('mouseLight')
|
const mouseLightContainer = window
|
||||||
|
.document
|
||||||
|
.getElementById('mouseLight')
|
||||||
let bodyRect
|
let bodyRect
|
||||||
|
|
||||||
function calculateDistance(elem, mouseX, mouseY) {
|
function calculateDistance(elem, mouseX, mouseY) {
|
||||||
|
Loading…
Reference in New Issue
Block a user