This commit is contained in:
ivan-sim
2024-07-08 10:38:44 +07:00
parent e3609a69b8
commit 7f904b2449
2 changed files with 19 additions and 5 deletions

View File

@@ -26,7 +26,8 @@
font-size: 20px;
margin: 0; /* Reset default margin */
padding: 0; /* Reset default padding */
background-image: url("{{public_path('images/background-vale.png')}}");
background-image: url("{{ 'data:image/png;base64,' . base64_encode(file_get_contents(public_path('images/background-vale.png'))) }}");
/* background-image: url("{{public_path('images/background-vale.png')}}"); */
background-repeat: no-repeat;
background-size: cover;
/* Adjust as needed */
@@ -113,7 +114,11 @@
<p class="text-lg"><b>{{ $member->startDate }}</b></p>
<div class="image-container">
<img src="{{ public_path('images/logo-default.png') }}" height="30px">
@php
$imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(public_path('images/logo-default.png')));
echo '<img src="' . $imgSrc . '" height="30px">';
@endphp
<!-- <img src="{{ public_path('images/logo-default.png') }}" height="30px"> -->
</div>
<span class="label">
<svg width="12" height="12" viewBox="0 0 12 12" fill="none"