transfer project in github

This commit is contained in:
hamid.zarghami1@gmail.com
2024-05-12 15:29:27 +03:30
commit e644edbd65
348 changed files with 164991 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
<template>
<div class="pageLoad"></div>
</template>
<script>
export default {
async mounted() {
for (let i = 0; i < 50; i++) {
$('.pageLoad').append(`<div class="cCol" data-col-n="${i}"></div>`)
if (i === 49) {
const cubeHeight = window.innerHeight / 50
$('.pageLoad .cCol').css({height: `${cubeHeight}px`})
}
}
window.addEventListener('resize', function () {
const cubeHeight = window.innerHeight / 50
$('.pageLoad .cCol').css({height: `${cubeHeight}px`})
})
}
}
</script>