Skip to content

Commit ee4ea39

Browse files
Refactor loading component styles and add new blog post on web project structure
1 parent a481da3 commit ee4ea39

4 files changed

Lines changed: 357 additions & 112 deletions

File tree

components/Loading.vue

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div id="loading">
2+
<div id="loading" class="fixed inset-0 z-100 flex items-center justify-center bg-[#22223B]">
33
<img class="w-24 lg:w-46" src="../assets/img/Loading.png" alt="">
44
</div>
55
</template>
@@ -25,18 +25,3 @@
2525
});
2626
})
2727
</script>
28-
29-
<style>
30-
#loading {
31-
display: flex;
32-
position: fixed;
33-
justify-content: center;
34-
align-items: center;
35-
top: 0;
36-
left: 0;
37-
z-index: 100;
38-
width: 100vw;
39-
height: 100vh;
40-
background-color: #22223B;
41-
}
42-
</style>

0 commit comments

Comments
 (0)