feat: stars behind Lilou and reduce amount
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<main
|
<main
|
||||||
class="h-full items-center p-5 justify-center flex flex-col space-y-4 bg-[#fa86c4]"
|
class="h-full items-center relative p-5 justify-center flex flex-col space-y-4 bg-[#fa86c4] z-10"
|
||||||
>
|
>
|
||||||
<NuxtRouteAnnouncer />
|
<NuxtRouteAnnouncer />
|
||||||
<h1
|
<h1
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
✨ Lilou ✨
|
✨ Lilou ✨
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<div class="fixed inset-0">
|
<div class="absolute inset-0">
|
||||||
<StarshineGlitter />
|
<StarshineGlitter />
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
const STARS = 500;
|
const STARS = 250;
|
||||||
|
|
||||||
const MIN_SPARKLE = 2;
|
const MIN_SPARKLE = 2;
|
||||||
const MAX_SPARKLE = 20;
|
const MAX_SPARKLE = 15;
|
||||||
|
|
||||||
const MIN_SIZE = 15;
|
const MIN_SIZE = 15;
|
||||||
const MAX_SIZE = 30;
|
const MAX_SIZE = 30;
|
||||||
@@ -39,7 +39,7 @@ onMounted(() => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div ref="container" class="fixed inset-0" />
|
<div ref="container" class="fixed inset-0 -z-10" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@@ -53,7 +53,6 @@ onMounted(() => {
|
|||||||
background-position: center;
|
background-position: center;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
z-index: 2;
|
|
||||||
color: tansparent;
|
color: tansparent;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
animation: glitter 6s linear 0s infinite normal;
|
animation: glitter 6s linear 0s infinite normal;
|
||||||
|
|||||||
Reference in New Issue
Block a user