mirror of
https://github.com/lukaszraczylo/beat-delivery-methodology.git
synced 2026-10-23 06:57:07 +00:00
Add page deployment
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<script setup>
|
||||
defineProps({
|
||||
hover: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
gradient: {
|
||||
type: String,
|
||||
default: null
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div
|
||||
class="glass p-6 rounded-xl transition-all duration-300"
|
||||
:class="{ 'hover:shadow-lg hover:-translate-y-1': hover }"
|
||||
>
|
||||
<div v-if="gradient" class="flex items-start gap-4">
|
||||
<div
|
||||
class="icon-box"
|
||||
:class="gradient"
|
||||
>
|
||||
<slot name="icon"></slot>
|
||||
</div>
|
||||
<div class="flex-1">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</div>
|
||||
<slot v-else></slot>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user