v0.3.0
This commit is contained in:
@ -5,12 +5,14 @@ $folder = implode(DIRECTORY_SEPARATOR, [
|
||||
__DIR__,
|
||||
'web'
|
||||
]);
|
||||
$files = new DirectoryIterator($folder);
|
||||
foreach ($files as $file) {
|
||||
if ($file->isDir()) {
|
||||
continue;
|
||||
if (file_exists($folder)) {
|
||||
$files = new DirectoryIterator($folder);
|
||||
foreach ($files as $file) {
|
||||
if ($file->isDir()) {
|
||||
continue;
|
||||
}
|
||||
include_once $file->getRealPath();
|
||||
}
|
||||
include_once $file->getRealPath();
|
||||
}
|
||||
|
||||
$app->get('/', Home::class);
|
||||
|
6
resources/routes/web/contacto.php
Normal file
6
resources/routes/web/contacto.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
use ProVM\NotariaRaby\Common\Controller\Web\Contacto;
|
||||
|
||||
$app->group('/contacto', function($app) {
|
||||
$app->get('[/]', Contacto::class);
|
||||
});
|
6
resources/routes/web/notaria.php
Normal file
6
resources/routes/web/notaria.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
use ProVM\NotariaRaby\Common\Controller\Web\Notaria;
|
||||
|
||||
$app->group('/notaria', function($app) {
|
||||
$app->get('[/]', Notaria::class);
|
||||
});
|
@ -5,5 +5,4 @@
|
||||
@include('home.suplente')
|
||||
@include('home.numero')
|
||||
@include('home.links')
|
||||
@include('home.horario')
|
||||
@endsection
|
||||
|
@ -1,19 +1,5 @@
|
||||
<div class="banner">
|
||||
<div class="mensaje">
|
||||
<p>
|
||||
<strong>
|
||||
5° NOTARÍA DE SANTIAGO
|
||||
<br />
|
||||
PATRICIO RABY BENAVENTE
|
||||
</strong>
|
||||
</p>
|
||||
<p>
|
||||
Gertrudis Echenique 30, of. 32, El Golf
|
||||
<br />
|
||||
<img class="ui icon" src="{{$urls->assets->images}}/logo_metro_blanco.png" />
|
||||
Metro Alcantara
|
||||
</p>
|
||||
</div>
|
||||
@include('home.banner.pastilla')
|
||||
</div>
|
||||
|
||||
@push('styles')
|
||||
|
16
resources/views/home/banner/pastilla.blade.php
Normal file
16
resources/views/home/banner/pastilla.blade.php
Normal file
@ -0,0 +1,16 @@
|
||||
<div class="mensaje">
|
||||
<p class="titulo">
|
||||
{!!nl2br($banner->titulo)!!}
|
||||
</p>
|
||||
<p>
|
||||
{!!nl2br($banner->contenido)!!}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@push('styles')
|
||||
<style type="text/css">
|
||||
.banner .mensaje .titulo {
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
@endpush
|
@ -1 +0,0 @@
|
||||
Horario
|
@ -1,5 +1,5 @@
|
||||
<header>
|
||||
<nav class="ui menu dark-blue inverted">
|
||||
<nav class="ui attached menu dark-blue inverted">
|
||||
<a class="left aligned item" href="{{$urls->base}}">
|
||||
NOTARÍA RABY
|
||||
</a>
|
||||
|
@ -15,4 +15,5 @@
|
||||
background-color: #003662 !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
@stack('styles')
|
||||
|
Reference in New Issue
Block a user