Modificacions varias.

This commit is contained in:
Laegnur 2022-10-06 10:54:15 +02:00
parent 7f22ca51d6
commit 76cbb9e824
22 changed files with 1510 additions and 137 deletions

BIN
favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 KiB

View file

@ -2,8 +2,8 @@
<footer id="pe">
<h2 class="visually-hidden"><?php echo _x('Footer', 'Page footer');?></h2>
<div class="contedor">
<p>&copy;2022 <?php echo $configuracion['nome_sitio']
. ' ' . $configuracion['descripcion_sitio']; ?>.</p>
<p>&copy;2022 <?php echo $configuracion['sitio_nome']
. ' ' . $configuracion['sitio_descripcion']; ?>.</p>
<p><?php echo _x('All rights reserved', 'copyright');?></p>
<p><?php echo _x('Designed and Developed by', 'developer');?> <a target="_blank" href="https://artabro.org">Codigo Artabro</a></p>
</div>

View file

@ -6,14 +6,14 @@ function getConfig($paxina)
foreach($paxina->configuracion as $config)
{
switch ($config->tipo_parametro->value)
switch ($config->parametro_tipo->value)
{
case 'texto':
$configuracion[$config->nome_parametro] = $config->valor_parametro;
$configuracion[$config->parametro_nome] = $config->parametro_valor;
break;
case 'cor':
list($r, $g, $b) = sscanf($config->cor, "%02x%02x%02x");
$configuracion[$config->nome_parametro] = $r . ', ' . $g . ', ' . $b;
list($r, $g, $b) = sscanf($config->parametro_cor, "%02x%02x%02x");
$configuracion[$config->parametro_nome] = $r . ', ' . $g . ', ' . $b;
break;
}
@ -31,23 +31,23 @@ function getSeccions($seccions)
switch($seccion->template)
{
case 'repeater_seccions':
switch ($seccion->tipo_seccion->value)
switch ($seccion->seccion_tipo->value)
{
case 'texto':
$saida .= renderTexto($seccion->titular, $seccion->artigo);
break;
case 'galeria':
$saida .= renderGaleria($seccion->titular, $seccion->galeria);
break;
case 'imaxe_texto_lateral':
$saida .= renderTextoImaxe($seccion->titular, $seccion->artigo, $seccion->imaxe, $seccion->posicion_imaxe->value);
$saida .= renderGaleria($seccion->titular, $seccion->imaxes_galeria);
break;
case 'reixa':
$saida .= renderReixa($seccion->titular, $seccion->reixa);
$saida .= renderReixa($seccion->titular, $seccion->imaxes_reixa);
break;
case 'imaxe_texto_lateral':
$saida .= renderTextoImaxe($seccion->titular, $seccion->artigo, $seccion->imaxe, $seccion->imaxe_posicion->value);
break;
}
break;
case 'repeater_mensaxe_mantemento':
case 'repeater_mantemento_mensaxe':
$saida .= renderTextoMantemento($seccion->titular, $seccion->artigo, $seccion->imaxe);
break;
case 'repeater_imaxe_ligazon':
@ -72,11 +72,11 @@ function renderMenu($paxinas, $maxDepth = 0, $id = 'nav')
if($paxina->id == wire('page')->id)
{
$saida .= ' <li class="activo">';
$saida .= '<li class="activo">';
}
else
{
$saida .= ' <li>';
$saida .= '<li>';
}
$saida .= '<a href="' . $paxina->url . '">' . $paxina->title . '</a>';
@ -95,7 +95,7 @@ function renderMenu($paxinas, $maxDepth = 0, $id = 'nav')
if($saida)
{
$saida = ' <ul id="' . $id . '">' . "\n" . $saida . ' </ul>' . "\n";
$saida = '<ul id="' . $id . '">' . "\n" . $saida . '</ul>' . "\n";
}
return $saida;
@ -106,7 +106,7 @@ function renderMigasPan($paxina, $separador = '<i class="icon-chevrons-right"></
$saida = '';
$saida .= '<div class="contedor migas_pan" role="navigation" aria-label="' . _x('Current page', 'navigation') . ':">' . "\n";
$saida .= ' ' . $separador . ' ';
$saida .= $separador;
foreach($paxina->parents() as $pai)
{
$saida .= '<span><a href="' . $pai->url . '">' . $pai->title . '</a></span> ' . $separador . ' ';
@ -116,7 +116,7 @@ function renderMigasPan($paxina, $separador = '<i class="icon-chevrons-right"></
$saida .= ' [ <a href="' . $paxina->editURL . '"> <i class="icon-edit"></i> ' . _x('Edit', 'Edit page') . ' </a> ]';
endif;
$saida .= "\n";
$saida .= ' </div>';
$saida .= '</div>';
return $saida;
}
@ -125,13 +125,13 @@ function renderTexto($titulo, $texto)
{
$saida = '';
$saida .= ' <div class="celda">' . "\n";
$saida .= ' ' . $texto . "\n";
$saida .= ' </div>' . "\n";
$saida .= '<div class="celda">' . "\n";
$saida .= $texto . "\n";
$saida .= '</div>' . "\n";
if($titulo)
{
$saida = '<section>' . "\n" . ' <h3>' . $titulo . '</h3>' . "\n" . $texto . "\n" . ' </section>';
$saida = '<section>' . "\n" . '<h3>' . $titulo . '</h3>' . "\n" . $texto . "\n" . '</section>';
}
return $saida;
@ -141,8 +141,8 @@ function renderGaleria($titulo, $galeria)
{
$saida = '';
$saida .= ' <section class="contedor columna swiper">' . "\n";
$saida .= ' <h3 class="visually-hidden">';
$saida .= '<section class="contedor columna swiper">' . "\n";
$saida .= '<h3 class="visually-hidden">';
if($titulo)
{
$saida .= $titulo;
@ -152,21 +152,21 @@ function renderGaleria($titulo, $galeria)
$saida .= 'Galeria';
}
$saida .= '</h3>' . "\n";
$saida .= ' <div class="swiper-wrapper">' . "\n";
$saida .= '<div class="swiper-wrapper">' . "\n";
foreach($galeria as $imaxe)
{
$saida .= ' <div class="swiper-slide">' . "\n";
$saida .= ' <figure>' . "\n";
$saida .= ' <img src="' . $imaxe->url . '" alt="' . $imaxe->description . '">' . "\n";
$saida .= ' <figcaption>' . $imaxe->description . '</figcaption>' . "\n";
$saida .= ' </figure>' . "\n";
$saida .= ' </div>' . "\n";
$saida .= '<div class="swiper-slide">' . "\n";
$saida .= '<figure>' . "\n";
$saida .= '<img src="' . $imaxe->url . '" alt="' . $imaxe->description . '">' . "\n";
$saida .= '<figcaption>' . $imaxe->description . '</figcaption>' . "\n";
$saida .= '</figure>' . "\n";
$saida .= '</div>' . "\n";
}
$saida .= ' </div>' . "\n";
$saida .= ' <div class="swiper-button-prev"></div>' . "\n";
$saida .= ' <div class="swiper-button-next"></div>' . "\n";
$saida .= ' <div class="swiper-paxination"></div>' . "\n";
$saida .= ' </section>';
$saida .= '</div>' . "\n";
$saida .= '<div class="swiper-button-prev"></div>' . "\n";
$saida .= '<div class="swiper-button-next"></div>' . "\n";
$saida .= '<div class="swiper-paxination"></div>' . "\n";
$saida .= '</section>';
return $saida;
}
@ -176,7 +176,7 @@ function renderReixa($titulo, $reixa)
$saida = '';
$saida .= '<section class="contedor">' . "\n";
$saida .= ' <h3 class="visually-hidden">';
$saida .= '<h3 class="visually-hidden">';
if($titulo)
{
$saida .= $titulo;
@ -186,16 +186,16 @@ function renderReixa($titulo, $reixa)
$saida .= 'Reixa de imaxes';
}
$saida .= '</h3>' . "\n";
$saida .= ' <div class="reixa ' . $posicion . '">' . "\n";
$saida .= '<div class="reixa ' . $posicion . '">' . "\n";
foreach($reixa as $imaxe)
{
$saida .= ' <figure>' . "\n";
$saida .= ' <img src="' . $imaxe->url . '" alt="' . $imaxe->description . '">' . "\n";
$saida .= ' <figcaption>' . $imaxe->description . '</figcaption>' . "\n";
$saida .= ' </figure>' . "\n";
$saida .= '<figure>' . "\n";
$saida .= '<img src="' . $imaxe->url . '" alt="' . $imaxe->description . '">' . "\n";
$saida .= '<figcaption>' . $imaxe->description . '</figcaption>' . "\n";
$saida .= '</figure>' . "\n";
}
$saida .= ' </div>' . "\n";
$saida .= ' </section>';
$saida .= '</div>' . "\n";
$saida .= '</section>';
return $saida;
}
@ -204,20 +204,20 @@ function renderTextoImaxe($titulo, $texto, $imaxe, $posicion)
{
$saida = '';
$saida .= ' <div class="celda ' . $posicion . '">' . "\n";
$saida .= ' <figure>' . "\n";
$saida .= ' <img src="' . $imaxe->url . '" alt="' . $imaxe->description . '">' . "\n";
$saida .= ' <figcaption>' . $imaxe->description . '</figcaption>' . "\n";
$saida .= ' </figure>' . "\n";
$saida .= '<div class="celda ' . $posicion . '">' . "\n";
$saida .= '<figure>' . "\n";
$saida .= '<img src="' . $imaxe->url . '" alt="' . $imaxe->description . '">' . "\n";
$saida .= '<figcaption>' . $imaxe->description . '</figcaption>' . "\n";
$saida .= '</figure>' . "\n";
if($texto)
{
$saida .= ' ' . $texto . "\n";
$saida .= $texto . "\n";
}
$saida .= ' </div>' . "\n";
$saida .= '</div>' . "\n";
if($titulo)
{
$saida = '<section>' . "\n" . ' <h3>' . $titulo . '</h3>' . "\n" . $saida . ' </section>';
$saida = '<section>' . "\n" . '<h3>' . $titulo . '</h3>' . "\n" . $saida . '</section>';
}
return $saida;
@ -228,19 +228,19 @@ function renderTextoMantemento($titulo, $texto, $imaxe)
$saida = '';
$saida .= '<section>' . "\n";
$saida .= ' <h3>' . $titulo . '</h3>' . "\n";
$saida .= '<h3>' . $titulo . '</h3>' . "\n";
if($imaxe)
{
$saida .= ' <figure>' . "\n";
$saida .= ' <img src="' . $imaxe->url . '" alt="' . $imaxe->description . '">' . "\n";
$saida .= ' <figcaption>' . $texto . '</figcaption>' . "\n";
$saida .= ' </figure>' . "\n";
$saida .= '<figure>' . "\n";
$saida .= '<img src="' . $imaxe->url . '" alt="' . $imaxe->description . '">' . "\n";
$saida .= '<figcaption>' . $texto . '</figcaption>' . "\n";
$saida .= '</figure>' . "\n";
}
else
{
$saida .= ' ' . $texto . "\n";
$saida .= $texto . "\n";
}
$saida .= ' </section>';
$saida .= '</section>';
return $saida;
}
@ -249,14 +249,14 @@ function renderImaxeLigazon($titular, $imaxe, $ligazon)
{
$saida = '';
$saida .= ' <div class="celda">' . "\n";
$saida .= ' <figure class="enlace">' . "\n";
$saida .= ' <img src="' . $imaxe->url . '" alt="' . $imaxe->description . '">' . "\n";
$saida .= ' <figcaption class="columna">' . "\n";
$saida .= ' <a href=' . $ligazon->url . '>' . $ligazon->title . '</a>' . "\n";
$saida .= ' </figcaption>' . "\n";
$saida .= ' </figure>' . "\n";
$saida .= ' </div>' . "\n";
$saida .= '<div class="celda">' . "\n";
$saida .= '<figure class="enlace">' . "\n";
$saida .= '<img src="' . $imaxe->url . '" alt="' . $imaxe->description . '">' . "\n";
$saida .= '<figcaption class="columna">' . "\n";
$saida .= '<a href=' . $ligazon->url . '>' . $ligazon->title . '</a>' . "\n";
$saida .= '</figcaption>' . "\n";
$saida .= '</figure>' . "\n";
$saida .= '</div>' . "\n";
return $saida;
}

View file

@ -4,8 +4,8 @@
<title><?php echo $titulo; ?></title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<?php if($configuracion['descripcion_sitio']): ?>
<meta name="description" content="<?php echo $configuracion['nome_sitio'] . ' ' . $configuracion['descripcion_sitio']; ?>" />
<?php if($configuracion['sitio_descripcion']): ?>
<meta name="description" content="<?php echo $configuracion['sitio_nome'] . ' ' . $configuracion['sitio_descripcion']; ?>" />
<?php endif; ?>
<meta name="msapplication-TileColor" content="#00aba9">
<meta name="msapplication-config" content="<?php echo $config->urls->templates; ?>images/browserconfig.xml">
@ -13,14 +13,14 @@
<!-- Facebook Social Tags
<meta property="og:title" content="<?php echo $titulo; ?>">
<meta property="og:description" content="<?php echo $configuracion['nome_sitio'] . ' ' . $configuracion['descripcion_sitio']; ?>">
<meta property="og:description" content="<?php echo $configuracion['sitio_nome'] . ' ' . $configuracion['sitio_descripcion']; ?>">
<meta property="og:image" content="https://your-website.com/og-image.png">
<meta property="og:url" content="<?php echo $page->httpUrl(); ?>">
-->
<!-- Twitter Socual Tags
<meta name="twitter:title" content="<?php echo $titulo; ?>">
<meta name="twitter:description" content="<?php echo $configuracion['nome_sitio'] . ' ' . $configuracion['descripcion_sitio']; ?>">
<meta name="twitter:description" content="<?php echo $configuracion['sitio_nome'] . ' ' . $configuracion['sitio_descripcion']; ?>">
<meta name="twitter:url" content="https://your-website.com/twitter-image.png">
<meta name="twitter:card" content="summary">
-->
@ -44,9 +44,9 @@
{
font-size: 16px;
--color_60: <?php echo $configuracion['color_fondo'] ?>;
--color_30: <?php echo $configuracion['color_principal'] ?>;
--color_10: <?php echo $configuracion['color_secundario'] ?>;
--cor_60: <?php echo $configuracion['cor_fondo'] ?>;
--cor_30: <?php echo $configuracion['cor_principal'] ?>;
--cor_10: <?php echo $configuracion['cor_secundario'] ?>;
--imaxe_destacada: <?php echo $page->imaxe ? 'url("'. $page->imaxe->url . '")' : 'none'; ?>;
}
</style>
@ -61,7 +61,7 @@
<source srcset="<?php echo $config->urls->templates?>images/logo-praia-seselle-230x179.jpg" media="(min-width: 768px)">
<img src="<?php echo $config->urls->templates?>images/logo-praia-seselle.svg" alt="<?php echo _x('Logo of Praia de Seselle Tourist Apartments', 'Site logo'); ?>">
</picture>
<h1 class="visually-hidden"><?php echo $configuracion['nome_sitio']; ?> <?php echo $configuracion['descripcion_sitio']; ?></h1>
<h1 class="visually-hidden"><?php echo $configuracion['sitio_nome']; ?> <?php echo $configuracion['sitio_descripcion']; ?></h1>
</div>
<label class="visually-hidden" for="interruptor"><?php echo _x('Open/Close menu', 'Menu Switch'); ?></label><input type="checkbox" name="interruptor" id="interruptor">
<div class="interruptor">

View file

@ -4,4 +4,4 @@ include_once('./_func.php');
$inicio = $pages->get('/');
$configuracion = getConfig($inicio);
$titulo = $page->title . ' - ' . $configuracion['nome_sitio'];
$titulo = $page->title . ' - ' . $configuracion['sitio_nome'];

View file

@ -2,7 +2,7 @@
* @FONTS
* =============================================================================
*
* fonts.css v0.0.1 | GNU GPL License |
* fonts.css v0.1.10 | GNU GPL License |
*
*/
@ -90,16 +90,16 @@
@font-face
{
font-family: 'icomoon';
src: url('../fonts/icomoon_Regular.eot'); /* 1 */
src: url('../fonts/icomoon_Regular.eot?#iefix') format('embedded-opentype'), /* 2 */
url('../fonts/icomoon_Regular.woff2') format('woff2'), /* 3 */
url('../fonts/icomoon_Regular.woff') format('woff'), /* 4 */
url('../fonts/icomoon_Regular.otf') format('opentype'), /* 5 */
url('../fonts/icomoon_Regular.ttf') format('truetype'), /* 5 */
url('../fonts/icomoon_Regular.svg#icomoon') format('svg'); /* 6 */
font-weight: normal;
font-style: normal;
src: url('../fonts/icomoon_Regular.eot?nvq8gi'); /* 1 */
src: url('../fonts/icomoon_Regular.eot?nvq8gi#iefix') format('embedded-opentype'), /* 2 */
url('../fonts/icomoon_Regular.woff2?nvq8gi') format('woff2'), /* 3 */
url('../fonts/icomoon_Regular.woff?nvq8gi') format('woff'), /* 4 */
url('../fonts/icomoon_Regular.otf?nvq8gi') format('opentype'), /* 5 */
url('../fonts/icomoon_Regular.ttf?nvq8gi') format('truetype'), /* 5 */
url('../fonts/icomoon_Regular.svg?nvq8gi#icomoon') format('svg'); /* 6 */
font-display: block;
font-style: normal;
font-weight: normal;
}
/**
@ -107,23 +107,84 @@
*
*/
[class^="icon-"],
[class*=" icon-"]
{
[class^="icon-"],
[class*=" icon-"]
{
font-family: 'icomoon' !important;
font-variant: normal;
font-style: normal;
line-height: 1;
text-transform: none;
speak: never;
}
}
.icon-chevrons-right:before
{
.icon-chevrons-right:before
{
content: "\e900";
}
}
.icon-edit:before
{
.icon-edit:before
{
content: "\e901";
}
}
.icon-document-file-txt:before
{
content: "\e902";
}
.icon-corner-right-down:before
{
content: "\e903";
}
.icon-folder:before
{
content: "\e904";
}
.icon-tag:before
{
content: "\e905";
}
.icon-book-open:before
{
content: "\e906";
}
.icon-book:before
{
content: "\e907";
}
.icon-arrow-right:before
{
content: "\e908";
}
.icon-user:before
{
content: "\e909";
}
.icon-skip-back:before
{
content: "\e90a";
}
.icon-skip-forward:before
{
content: "\e90b";
}
.icon-play:before
{
content: "\e90c";
}
.icon-search:before
{
content: "\e90d";
}

View file

@ -12,18 +12,18 @@ body
margin: 0;
color: rgb(var(--color_10));
color: rgb(var(--cor_10));
font-family: 'Source Sans Pro', sans-serif;
font-size: 1rem;
background-color: rgb(var(--color_60));
background-color: rgb(var(--cor_60));
}
h1, h2, h3, h4, h5, h6
{
margin-top: 0;
color: rgb(var(--color_30));
color: rgb(var(--cor_30));
font-family: 'Libre Baskerville', serif;
font-weight: bold;
}
@ -65,7 +65,7 @@ p
a
{
color: rgb(var(--color_10));
color: rgb(var(--cor_10));
text-decoration-line: underline;
text-decoration-style: dotted;
}
@ -84,7 +84,7 @@ figure figcaption
{
padding: 10px 40px 20px;
color: rgb(var(--color_30));
color: rgb(var(--cor_30));
font-family: 'Source Sans Pro', sans-serif;
font-weight: normal;
font-size: 1rem;
@ -103,7 +103,7 @@ figure img
height: auto;
object-fit: cover;
background-color: rgb(var(--color_60));
background-color: rgb(var(--cor_60));
}
picture
@ -174,7 +174,7 @@ header#cabeceira .interruptor .linna
border-radius: 0.625rem;
background: rgb(var(--color_10));
background: rgb(var(--cor_10));
}
header#cabeceira .interruptor .linna1
@ -206,11 +206,11 @@ nav#menu
padding: 0;
border-right: 2px solid rgb(var(--color_30));
border-right: 2px solid rgb(var(--cor_30));
color: rgb(var(--color_30));
color: rgb(var(--cor_30));
background-color: rgb(var(--color_60));
background-color: rgb(var(--cor_60));
transform: translateX(-100%);
transition: transform 0.5s;
@ -218,7 +218,7 @@ nav#menu
nav#menu a
{
color: rgb(var(--color_10));
color: rgb(var(--cor_10));
}
ul#idiomas
@ -235,7 +235,7 @@ ul#idiomas
ul#idiomas a
{
color: rgb(var(--color_10));
color: rgb(var(--cor_10));
}
ul#paxinas
@ -259,36 +259,36 @@ ul#idiomas li a
padding: 0.625rem;
border: 1px solid rgb(var(--color_10));
border: 1px solid rgb(var(--cor_10));
text-decoration: none;
}
ul#idiomas li.activo a
{
color: rgb(var(--color_60));
color: rgb(var(--cor_60));
background-color: rgb(var(--color_10));
background-color: rgb(var(--cor_10));
}
nav#menu li a:focus
{
outline: 2px dotted rgb(var(--color_10));
outline: 2px dotted rgb(var(--cor_10));
}
ul#paxinas li
{
border-left: 0.625rem solid rgb(var(--color_60));
border-left: 0.625rem solid rgb(var(--cor_60));
}
ul#paxinas li.activo
{
border-left: 0.625rem solid rgb(var(--color_30));
border-left: 0.625rem solid rgb(var(--cor_30));
}
ul#paxinas li:hover
{
border-left: 0.625rem solid rgb(var(--color_30));
border-left: 0.625rem solid rgb(var(--cor_30));
}
ul#paxinas li a
@ -308,7 +308,7 @@ header#cabeceira input#interruptor:checked ~ nav#menu
header#cabeceira input#interruptor:focus ~ .interruptor
{
outline: 2px dotted rgb(var(--color_10));
outline: 2px dotted rgb(var(--cor_10));
}
header#cabeceira input#interruptor:checked ~ .interruptor .linna1
@ -328,7 +328,7 @@ header#cabeceira input#interruptor:checked ~ .interruptor .linna3
header#cabeceira input#interruptor:checked:focus ~ .interruptor
{
outline: 2px dotted rgb(var(--color_10));
outline: 2px dotted rgb(var(--cor_10));
}
header#cabeceira div.contedor
@ -373,9 +373,9 @@ footer#pe
padding: 1.25rem 0.625rem;
color: rgb(var(--color_60));
color: rgb(var(--cor_60));
background-color: rgb(var(--color_30));
background-color: rgb(var(--cor_30));
}
footer#pe p
@ -386,7 +386,7 @@ footer#pe p
footer#pe a
{
color: rgb(var(--color_60));
color: rgb(var(--cor_60));
}
section.swiper
@ -418,7 +418,7 @@ div.swiper-slide
bottom: 15px;
top: unset;
color: rgb(var(--color_10));
color: rgb(var(--cor_10));
}
div.celda
@ -490,7 +490,7 @@ figure.enlace figcaption
figure.enlace figcaption a
{
color: rgb(var(--color_30));
color: rgb(var(--cor_30));
font-family: 'Libre Baskerville', serif;
font-weight: 700;
text-transform: uppercase;
@ -539,8 +539,8 @@ figure.enlace figcaption a
height: 40px;
line-height: 40px;
text-align: center;
background: rgb(var(--color_30));
color: rgb(var(--color_60));
background: rgb(var(--cor_30));
color: rgb(var(--cor_60));
}
@media (min-width:768px)

View file

@ -2,7 +2,7 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<metadata>
Created by FontForge 20201107 at Wed Apr 6 10:36:19 2022
Created by FontForge 20201107 at Fri Sep 30 10:22:43 2022
By Unknown
</metadata>
<defs>
@ -15,7 +15,7 @@ Created by FontForge 20201107 at Wed Apr 6 10:36:19 2022
panose-1="0 0 0 0 0 0 0 0 0 0"
ascent="960"
descent="-64"
bbox="43 -43 987 901"
bbox="43 -43 1024 901"
underline-thickness="0"
underline-position="0"
unicode-range="U+0001-FFFD"
@ -38,5 +38,43 @@ d="M469 811h-298q-27 0 -50.5 -10t-40.5 -28q-17 -17 -27 -40.5t-10 -49.5v-598q0 -2
t-9.5 -14t-13.5 -9t-16.5 -3h-597q-9 0 -17 3t-13 9q-6 6 -9.5 14t-3.5 16v598q0 8 3.5 16t9.5 14q5 6 13 9t17 3h298q18 0 30.5 12.5t12.5 30.5t-12.5 30.5t-30.5 12.5v0zM759 862l-405 -405q-4 -4 -7 -9t-4 -11l-43 -171q-1 -4 -1 -9.5t1 -10.5q4 -18 19.5 -27t32.5 -4
l170 42q6 2 11 4.5t9 6.5l406 406q19 19 29 43.5t10 50.5q0 25 -10 50t-29 44q-20 20 -44.5 29.5t-50.5 9.5q-25 0 -49.5 -9.5t-44.5 -29.5v0zM819 802q8 7 16.5 10.5t17.5 3.5q10 0 18.5 -3.5t15.5 -10.5t10.5 -16t3.5 -18t-3.5 -18t-10.5 -16l-397 -397l-90 -22l23 90z
" />
<glyph glyph-name="uniE902" unicode="&#xe902;"
d="M672 544v96l-192 224h-352q-26 0 -45 -19t-19 -45v-736q0 -26 18.5 -45t45.5 -19h480q27 0 45.5 18.5t18.5 45.5v64h256q40 0 68 28t28 68v224q0 40 -28 68t-68 28h-256v0zM640 128v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-480q-13 0 -22.5 9.5t-9.5 22.5v736q0 13 9.5 22.5
t22.5 9.5h320v-160q0 -27 18.5 -45.5t45.5 -18.5h128v-64h-256q-40 0 -68 -28t-28 -68v-224q0 -40 28 -68t68 -28h256v0zM480 816l150 -176h-118q-13 0 -22.5 9.5t-9.5 22.5v144v0zM384 512h544q26 0 45 -18.5t19 -45.5v-224q0 -26 -18.5 -45t-45.5 -19h-544q-26 0 -45 18.5
t-19 45.5v224q0 26 18.5 45t45.5 19zM448 416v-192h32v192h64v32h-160v-32h64zM640 336l-64 112h32l48 -84l48 84h32l-64 -112l64 -112h-32l-48 84l-48 -84h-32zM832 416v-192h32v192h64v32h-160v-32h64z" />
<glyph glyph-name="uniE903" unicode="&#xe903;"
d="M171 725h298q27 0 50 -10t41 -27q17 -18 27 -41t10 -50v-409l-140 141q-13 12 -30.5 12t-29.5 -12q-13 -13 -13 -30.5t13 -29.5l213 -214q3 -3 6.5 -5t7.5 -4q7 -3 16 -3t16 3q4 1 7.5 3.5t6.5 5.5l213 214q13 12 13 29.5t-13 30.5q-12 12 -29.5 12t-30.5 -12l-140 -141
v409q0 44 -17 83t-46 68t-68 46t-83 17h-298q-18 0 -30.5 -12.5t-12.5 -30.5t12.5 -30.5t30.5 -12.5v0z" />
<glyph glyph-name="uniE904" unicode="&#xe904;"
d="M981 128v469q0 27 -10 50.5t-27 40.5q-18 17 -41 27t-50 10h-361l-73 109q-5 9 -14.5 14t-20.5 5h-213q-27 0 -50.5 -10t-40.5 -27q-17 -18 -27 -41t-10 -50v-597q0 -26 10 -49.5t27 -40.5q18 -18 41 -28t50 -10h682q27 0 50.5 10t40.5 28q17 17 27 40.5t10 49.5v0z
M896 128q0 -9 -3.5 -16.5t-9.5 -13.5q-5 -6 -13 -9.5t-17 -3.5h-682q-9 0 -17 3.5t-13 9.5q-6 6 -9.5 13.5t-3.5 16.5v597q0 9 3.5 17t9.5 13q5 6 13 9.5t17 3.5h190l73 -109q6 -9 15.5 -14t19.5 -5h384q9 0 17 -3.5t13 -9.5q6 -5 9.5 -13t3.5 -17v-469z" />
<glyph glyph-name="uniE905" unicode="&#xe905;"
d="M909 336q18 19 27.5 42.5t9.5 48.5q0 24 -9.5 47.5t-27.5 42.5l-367 367q-6 5 -13.5 8.5t-16.5 3.5h-427q-17 0 -29.5 -12.5t-12.5 -30.5v-426q0 -9 3 -16.5t9 -14.5l367 -366q19 -18 42.5 -27.5t47.5 -9.5q25 0 48.5 9.5t42.5 27.5zM848 397l-306 -306q-6 -7 -14 -10
t-16 -3t-16 3t-14 10l-354 353v367h366l354 -354q6 -7 9.5 -14.5t3.5 -15.5q0 -9 -3.5 -16.5t-9.5 -13.5v0zM299 597q17 0 29.5 12.5t12.5 30.5t-12.5 30.5t-29.5 12.5q-18 0 -30.5 -12.5t-12.5 -30.5t12.5 -30.5t30.5 -12.5v0z" />
<glyph glyph-name="uniE906" unicode="&#xe906;"
d="M896 768v-555h-256q-23 0 -45 -6t-40 -16v449q0 27 10 50t27 40q18 18 41 28t50 10h213zM469 191q-18 10 -40 16t-45 6h-256v555h213q27 0 50 -10t41 -28q17 -17 27 -40t10 -50v-449zM939 853h-256q-44 0 -83 -16.5t-68 -45.5q-6 -5 -10.5 -11t-9.5 -12q-5 6 -9.5 12
t-10.5 11q-29 29 -68 45.5t-83 16.5h-256q-17 0 -29.5 -12.5t-12.5 -29.5v-640q0 -18 12.5 -30.5t29.5 -12.5h299q18 0 33.5 -6.5t26.5 -18.5q12 -12 18.5 -27.5t6.5 -32.5q0 -18 12.5 -30.5t30.5 -12.5t30.5 12.5t12.5 30.5q0 17 6.5 32.5t18.5 27.5q11 12 26.5 18.5
t33.5 6.5h299q17 0 29.5 12.5t12.5 30.5v640q0 17 -12.5 29.5t-29.5 12.5v0z" />
<glyph glyph-name="uniE907" unicode="&#xe907;"
d="M277 896q-31 0 -58 -12t-47 -32t-32 -47t-12 -58v-640q0 -31 12 -58.5t32 -47.5t47 -32t58 -12h576q18 0 30.5 12.5t12.5 30.5v853q0 18 -12.5 30.5t-30.5 12.5h-576zM811 171v-128h-534q-13 0 -24.5 5t-20.5 13q-9 9 -14 20.5t-5 25.5q0 13 5 24.5t14 20.5t20.5 14
t24.5 5h534zM277 811h534v-555h-534q-17 0 -33 -3.5t-31 -10.5v505q0 13 5 24.5t14 20.5t20.5 14t24.5 5v0z" />
<glyph glyph-name="uniE908" unicode="&#xe908;"
d="M482 695l226 -226h-495q-17 0 -29.5 -12.5t-12.5 -29.5q0 -18 12.5 -30.5t29.5 -12.5h495l-226 -226q-13 -12 -13 -30t13 -30q12 -13 30 -13t30 13l299 298q3 3 5 6.5t4 7.5q3 8 3 16.5t-3 16.5q-1 4 -3.5 7.5t-5.5 6.5l-299 298q-12 13 -30 13t-30 -13
q-13 -12 -13 -29.5t13 -30.5v0z" />
<glyph glyph-name="uniE909" unicode="&#xe909;"
d="M896 43v85q0 44 -17 83t-45 68q-29 29 -68 45.5t-83 16.5h-342q-44 0 -83 -16.5t-68 -45.5q-28 -29 -45 -68t-17 -83v-85q0 -18 12.5 -30.5t30.5 -12.5q17 0 29.5 12.5t12.5 30.5v85q0 27 10 50t28 40q17 18 40.5 28t49.5 10h342q26 0 49.5 -10t40.5 -28q18 -17 28 -40
t10 -50v-85q0 -18 12.5 -30.5t29.5 -12.5q18 0 30.5 12.5t12.5 30.5v0zM725 640q0 44 -16.5 83t-45.5 68t-68 45.5t-83 16.5t-83 -16.5t-68 -45.5t-45.5 -68t-16.5 -83t16.5 -83t45.5 -68t68 -45.5t83 -16.5t83 16.5t68 45.5t45.5 68t16.5 83v0zM640 640q0 -27 -10 -50
t-28 -40q-17 -18 -40 -28t-50 -10t-50 10t-40 28q-18 17 -28 40t-10 50t10 50t28 40q17 18 40 28t50 10t50 -10t40 -28q18 -17 28 -40t10 -50z" />
<glyph glyph-name="uniE90A" unicode="&#xe90a;"
d="M784 52q5 -4 12 -6.5t15 -2.5q17 0 29.5 12.5t12.5 29.5v683q0 7 -2 14t-7 13q-11 13 -28.5 15t-31.5 -9l-427 -341l-3 -3t-3 -4q-11 -13 -9 -31t15 -29zM768 174l-316 253l316 252v-505zM256 128v597q0 18 -12.5 30.5t-30.5 12.5q-17 0 -29.5 -12.5t-12.5 -30.5v-597
q0 -18 12.5 -30.5t29.5 -12.5q18 0 30.5 12.5t12.5 30.5z" />
<glyph glyph-name="uniE90B" unicode="&#xe90b;"
d="M240 801q-5 5 -12 7.5t-15 2.5q-17 0 -29.5 -12.5t-12.5 -30.5v-683q0 -7 2 -13.5t7 -12.5q11 -14 28.5 -16t31.5 9l427 341q1 2 3 3.5t3 3.5q11 14 9 31.5t-15 28.5zM256 679l316 -252l-316 -253v505zM768 725v-597q0 -18 12.5 -30.5t30.5 -12.5q17 0 29.5 12.5
t12.5 30.5v597q0 18 -12.5 30.5t-29.5 12.5q-18 0 -30.5 -12.5t-12.5 -30.5z" />
<glyph glyph-name="uniE90C" unicode="&#xe90c;"
d="M236 847q-4 3 -10 4.5t-13 1.5q-17 0 -29.5 -12.5t-12.5 -29.5v-768q0 -6 1.5 -12t4.5 -11q10 -15 27.5 -19t31.5 6l598 384q3 2 6.5 5.5t6.5 7.5q9 14 5.5 31.5t-18.5 27.5zM256 733l476 -306l-476 -306v612z" />
<glyph glyph-name="uniE90D" unicode="&#xe90d;"
d="M684 262l-2 -2l-2 -2l-2 -2l-2 -2q-40 -39 -93 -61t-114 -22q-62 0 -116 23.5t-95 63.5q-40 41 -63.5 95t-23.5 116t23.5 116.5t63.5 95.5q41 40 95 63.5t116 23.5t116.5 -23.5t95.5 -63.5q40 -41 63.5 -95.5t23.5 -116.5q0 -60 -22.5 -113.5t-61.5 -93.5v0zM926 73
l-157 157q40 49 62 110t22 129q0 80 -30 150t-82 122t-122 82t-150 30q-79 0 -149 -30t-122 -82t-82.5 -122t-30.5 -150q0 -79 30.5 -149t82.5 -122t122 -82.5t149 -30.5q68 0 129.5 22.5t110.5 61.5l157 -156q12 -13 30 -13t30 13q13 12 13 29.5t-13 30.5v0z" />
</font>
</defs></svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

View file

@ -13,7 +13,7 @@ $contido .= ' <h2 class="visually-hidden">' . ucfirst($inicio-
if($mantemento && !$user->isLoggedin())
{
$menu = renderMenu($inicio, 0, 'paxinas');
$contido .= ' ' . getSeccions($inicio->mensaxe_mantemento) . "\n";
$contido .= ' ' . getSeccions($inicio->mantemento_mensaxe) . "\n";
}
else
{