feat: add description_html to tenant heroConfig and update tests for hero banner rendering
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<div class="hero-banner-container">
|
||||
<div [class.hero-banner-container]="heroConfig">
|
||||
<div
|
||||
class="hero-banner position-relative rounded"
|
||||
[class.hero-banner]="heroConfig"
|
||||
[class.position-relative]="heroConfig"
|
||||
[class.rounded]="heroConfig"
|
||||
[ngStyle]="{
|
||||
'background-image': heroConfig?.background_image_id
|
||||
? 'url(' + heroConfig.background_image_id + ')'
|
||||
@@ -33,7 +35,10 @@
|
||||
}
|
||||
|
||||
@if (eventConfig) {
|
||||
<div class="event-card-container position-absolute w-100 d-flex justify-content-center">
|
||||
<div
|
||||
class="event-card-container w-100 d-flex justify-content-center"
|
||||
[class.position-absolute]="heroConfig"
|
||||
>
|
||||
<div class="event-card bg-white shadow rounded p-3 p-md-4 text-center">
|
||||
@if (eventConfig.title) {
|
||||
<h3 class="event-title text-primary fw-bold mb-3">{{ eventConfig.title }}</h3>
|
||||
|
||||
Reference in New Issue
Block a user