This commit is contained in:
2020-02-28 13:57:44 -03:00
parent 942308a2ca
commit 91b996201c
12 changed files with 118 additions and 80 deletions

View File

@ -10,8 +10,21 @@ class Home {
public function __invoke(Request $request, Response $response, View $view, Container $container): Response {
$banner = (object) [
'titulo' => "5° NOTARÍA DE SANTIAGO\nPATRICIO RABY BENAVENTE",
'contenido' => "Gertrudis Echenique 30, of. 32, El Golf\n<img class=\"ui icon\" src=\"" . $container->get('urls.images') . "/logo_metro_blanco.png\" />Metro Alcantara"
'contenido' => "Gertrudis Echenique 30, of. 32, El Golf\n<img style=\"height: 1em\" src=\"" . $container->get('urls.metro.logo') . "\" /> Metro Alcantara"
];
return $view->render($response, 'home', compact('banner'));
$suplente = (object) [
'horario' => (object) [
'titulo' => "Horario lunes a viernes\n9:30 - 13:30 | 15:30 - 18:00",
'contenido' => "La atención dentro del horario, puede verse
afectada circunstancialmente y sin previo
aviso, por encontrarse el notario cumpliendo
funciones fuera de la Notaría."
],
'datos' => (object) [
'fechas' => "DEL 1 DE ABRIL AL 15 DE MAYO",
'nombre' => "MARIA VIRGINIA\nWIELANDT COVARRUBIAS"
]
];
return $view->render($response, 'home', compact('banner', 'suplente'));
}
}