diff --git a/app/Utils/HtmlEngine.php b/app/Utils/HtmlEngine.php index 1106fe7c01f5..98fd27eb1a12 100644 --- a/app/Utils/HtmlEngine.php +++ b/app/Utils/HtmlEngine.php @@ -379,6 +379,8 @@ class HtmlEngine $data['$page_size'] = ['value' => $this->settings->page_size, 'label' => '']; $data['$page_layout'] = ['value' => property_exists($this->settings, 'page_layout') ? $this->settings->page_layout : 'Portrait', 'label' => '']; + $data['$tech_hero_image'] = ['value' => asset('images/pdf-designs/tech-hero-image.jpg'), 'label' => '']; + $arrKeysLength = array_map('strlen', array_keys($data)); array_multisort($arrKeysLength, SORT_DESC, $data); diff --git a/public/images/pdf-designs/a1w02-5arkz.jpg b/public/images/pdf-designs/tech-hero-image.jpg similarity index 100% rename from public/images/pdf-designs/a1w02-5arkz.jpg rename to public/images/pdf-designs/tech-hero-image.jpg diff --git a/resources/views/pdf-designs/tech.html b/resources/views/pdf-designs/tech.html index 73b73b3549e7..c992a4cf5fc6 100644 --- a/resources/views/pdf-designs/tech.html +++ b/resources/views/pdf-designs/tech.html @@ -73,7 +73,7 @@ .hero-section { margin-top: 50px; min-width: 100% !important; - background: url('https://s2.aconvert.com/convert/p3r68-cdx67/a1w02-5arkz.jpg'); + background: url('$tech_hero_image'); /** If you want to replace the image, this is the place to do it. */ -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover;