mirror of https://github.com/nocodb/nocodb
braks
2 years ago
1 changed files with 14 additions and 0 deletions
@ -0,0 +1,14 @@
|
||||
<script lang="ts" setup> |
||||
interface Props { |
||||
width?: number |
||||
height?: number |
||||
} |
||||
|
||||
const { width = 90, height = 90 } = defineProps<Props>() |
||||
</script> |
||||
|
||||
<template> |
||||
<div :style="{ left: `calc(50% - ${width / 2}px)`, top: `-${height * 0.6}px` }" class="absolute rounded-lg bg-primary"> |
||||
<img :width="width" :height="height" alt="NocoDB" src="~/assets/img/icons/512x512-trans.png" /> |
||||
</div> |
||||
</template> |
Loading…
Reference in new issue