feat: extend rate card profiles with brands, terms, and custom HTML, and remove search bar from search index view
This commit is contained in:
@@ -171,10 +171,35 @@
|
||||
}
|
||||
|
||||
.footer {
|
||||
margin-top: 40px;
|
||||
text-align: center;
|
||||
margin-top: 60px;
|
||||
color: #D1D5DB;
|
||||
font-size: 12px;
|
||||
color: #D1D5DB;
|
||||
}
|
||||
|
||||
/* Quill WYSIWYG Compatibility */
|
||||
.ql-align-center {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.ql-align-right {
|
||||
text-align: right !important;
|
||||
}
|
||||
|
||||
.ql-align-justify {
|
||||
text-align: justify !important;
|
||||
}
|
||||
|
||||
.ql-size-small {
|
||||
font-size: 0.75em !important;
|
||||
}
|
||||
|
||||
.ql-size-large {
|
||||
font-size: 1.5em !important;
|
||||
}
|
||||
|
||||
.ql-size-huge {
|
||||
font-size: 2.5em !important;
|
||||
}
|
||||
|
||||
.pdf-btn {
|
||||
@@ -283,6 +308,34 @@
|
||||
<p style="text-align:center; color:#9CA3AF; padding: 60px 0;">No rate cards published yet.</p>
|
||||
@endforelse
|
||||
|
||||
@if(!empty($profile->past_brands))
|
||||
@php
|
||||
$logoSizesPublic = [
|
||||
'small' => 'max-height:45px; max-width:90px;',
|
||||
'medium' => 'max-height:60px; max-width:120px;',
|
||||
'large' => 'max-height:80px; max-width:160px;',
|
||||
];
|
||||
$sizeStylePublic = $logoSizesPublic[$profile->brand_logo_size ?? 'medium'] ?? $logoSizesPublic['medium'];
|
||||
@endphp
|
||||
<div class="platform-section" style="margin-top:40px;">
|
||||
<div class="platform-title" style="justify-content:center;">Brand Collaborations</div>
|
||||
<div style="display:flex; flex-wrap:wrap; justify-content:center; gap:24px; margin-top:20px;">
|
||||
@foreach($profile->past_brands as $brandPath)
|
||||
<img src="{{ asset('storage/' . $brandPath) }}"
|
||||
style="{{ $sizeStylePublic }} object-fit:contain; border-radius:8px;">
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if($profile->terms_and_conditions)
|
||||
<div class="platform-section" style="margin-top:40px;">
|
||||
<div class="platform-title">Terms & Conditions</div>
|
||||
<div class="card" style="font-size:13px; color:#6B7280; line-height:1.6;">
|
||||
{!! $profile->terms_and_conditions !!}</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="footer">
|
||||
{{ $profile->custom_footer ?: 'Prices may vary. Contact for custom packages.' }}
|
||||
<!--<br>Generated by Cathy's App · {{ now()->format('Y-M-D') }}-->
|
||||
|
||||
Reference in New Issue
Block a user