mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 14:39:30 -07:00
address PR comments for Beams component
This commit is contained in:
@@ -59,6 +59,7 @@ export const CATEGORIES = [
|
||||
name: 'Backgrounds',
|
||||
subcategories: [
|
||||
'Aurora',
|
||||
'Beams',
|
||||
'Dot Grid',
|
||||
'Silk',
|
||||
'Lightning',
|
||||
@@ -70,4 +71,4 @@ export const CATEGORIES = [
|
||||
'Threads',
|
||||
],
|
||||
}
|
||||
];
|
||||
];
|
||||
|
||||
@@ -15,7 +15,6 @@ export const beams: CodeObject = {
|
||||
:noise-intensity="1.75"
|
||||
:scale="0.2"
|
||||
:rotation="0"
|
||||
class="w-full h-full"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -453,17 +453,3 @@ onUnmounted(() => {
|
||||
cleanup()
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.beams-container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.beams-container canvas {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -12,14 +12,11 @@
|
||||
:noise-intensity="noiseIntensity"
|
||||
:scale="scale"
|
||||
:rotation="rotation"
|
||||
class="w-full h-full"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<Customize>
|
||||
<div class="flex gap-4 items-center">
|
||||
<PreviewColor title="Color" :model-value="lightColor" @update:model-value="lightColor = $event" />
|
||||
</div>
|
||||
<PreviewColor title="Color" :model-value="lightColor" @update:model-value="lightColor = $event" />
|
||||
|
||||
<PreviewSlider
|
||||
title="Beam Width"
|
||||
|
||||
Reference in New Issue
Block a user