|
|
@ -8,25 +8,21 @@ const { getPossibleAttachmentSrc } = useAttachment() |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div |
|
|
|
<div class="nc-form-banner-wrapper w-full mx-auto rounded-2xl overflow-hidden" :style="{ aspectRatio: 4 / 1 }"> |
|
|
|
class="nc-form-banner-wrapper w-full mx-auto bg-white border-1 border-gray-200 rounded-2xl overflow-hidden" |
|
|
|
|
|
|
|
:style="{ aspectRatio: 4 / 1 }" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<LazyCellAttachmentImage |
|
|
|
<LazyCellAttachmentImage |
|
|
|
v-if="bannerImageUrl" |
|
|
|
v-if="bannerImageUrl" |
|
|
|
:srcs="getPossibleAttachmentSrc(parseProp(bannerImageUrl))" |
|
|
|
:srcs="getPossibleAttachmentSrc(parseProp(bannerImageUrl))" |
|
|
|
class="nc-form-banner-image object-cover w-full" |
|
|
|
class="nc-form-banner-image object-cover w-full" |
|
|
|
/> |
|
|
|
/> |
|
|
|
<!-- Todo: aspect ratio and cover image uploader and image cropper to crop image in fixed aspect ratio --> |
|
|
|
<div v-else class="h-full flex items-stretch justify-between bg-white"> |
|
|
|
<div v-else class="h-full flex items-stretch justify-between"> |
|
|
|
<div class="flex -mt-1"> |
|
|
|
<div class="flex"> |
|
|
|
|
|
|
|
<img src="~assets/img/form-banner-left.png" alt="form-banner-left'" /> |
|
|
|
<img src="~assets/img/form-banner-left.png" alt="form-banner-left'" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="w-[91px] flex justify-center"> |
|
|
|
<div class="w-[91px] flex justify-center"> |
|
|
|
<img class="max-h-full self-center" src="~assets/img/icons/256x256.png" alt="form-banner-logo'" /> |
|
|
|
<img class="max-h-full self-center" src="~assets/img/icons/256x256.png" alt="form-banner-logo" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="flex justify-end"> |
|
|
|
<div class="flex justify-end -mb-1"> |
|
|
|
<img src="~assets/img/form-banner-right.png" alt="form-banner-left'" /> |
|
|
|
<img src="~assets/img/form-banner-right.png" alt="form-banner-left'" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|