Визуальные правки приложения
This commit is contained in:
22
resources/js/Components/Noise.vue
Normal file
22
resources/js/Components/Noise.vue
Normal file
@@ -0,0 +1,22 @@
|
||||
<script setup>
|
||||
const props = defineProps({
|
||||
opacity: {
|
||||
type: Number,
|
||||
default: 0.025,
|
||||
},
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div
|
||||
class="pointer-events-none fixed inset-0 z-9999 size-full"
|
||||
:style="{
|
||||
backgroundImage: 'url(/assets/noise.png)',
|
||||
opacity: props.opacity,
|
||||
}"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user