Home back

This commit is contained in:
2023-03-17 18:38:28 -04:00
parent 19cf49869c
commit 36e95bb7f0
4 changed files with 9 additions and 4 deletions
+1
View File
@@ -7,6 +7,7 @@ class Home extends BaseController
public function index()
{
$data['envID'] = getenv('ENV_ID');
$data['home_background'] = getenv('HOME_PAGE_BACKGROUND');
return view('welcome_message',$data);
}
}
+4 -1
View File
@@ -1,3 +1,6 @@
<?php
//$home_background= $envID ?>
?>
<!DOCTYPE html>
<html lang="en">
@@ -15,7 +18,7 @@
body {
text-rendering: optimizeLegibility;
background-color: #141029;
background-image: url("api_bk.jpg");
background-image: url(<?=$home_background?>);
background-repeat: no-repeat;
background-size: cover;
background-position: center;