mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
403 B
15 lines
403 B
2 years ago
|
<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>
|