This commit is contained in:
ivan-sim
2024-01-08 13:26:47 +07:00
parent 2ae0f2d19b
commit 390352d255

View File

@@ -183,12 +183,12 @@
right: 10px; right: 10px;
text-align: left; text-align: left;
} }
.logo_vale-<?php echo now()->timestamp; ?> { .logo_company-<?php echo now()->timestamp; ?> {
position: absolute; position: absolute;
top: -35.12px; top: -35.12px;
left: -35.91px; left: -35.91px;
width: 10%; width: 10%;
max-width: 400px; /* batasan lebar maksimum gambar */ max-width: 40px; /* batasan lebar maksimum gambar */
margin-top: 1px; /* jarak antara segitiga dan gambar */ margin-top: 1px; /* jarak antara segitiga dan gambar */
margin-bottom: 5px; margin-bottom: 5px;
} }
@@ -197,7 +197,12 @@
<body> <body>
<div class="triangle2"></div> <div class="triangle2"></div>
<div class="triangle1"></div> <div class="triangle1"></div>
<img class="logo_vale-<?php echo now()->timestamp; ?>" src="data:image/png;base64,{{ base64_encode(file_get_contents(public_path('images/vale_logo.png'))) }}"> @php
if(!empty($logoPerusahaan->path)) {
$imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(storage_path('app/public/' . $logoPerusahaan->path)));
echo '<img class="logo_company-' . now()->timestamp . '" src="' . $imgSrc . '">';
}
@endphp
<div class="content-<?php echo now()->timestamp; ?>"> <div class="content-<?php echo now()->timestamp; ?>">
<div class="corner-text-<?php echo now()->timestamp; ?> top-right-<?php echo now()->timestamp; ?>"> <div class="corner-text-<?php echo now()->timestamp; ?> top-right-<?php echo now()->timestamp; ?>">
The Future Of Healthcare At Your Fingertips The Future Of Healthcare At Your Fingertips