2022-03-14 14:56:35 +01:00
|
|
|
<?php namespace ProcessWire;?><!DOCTYPE html>
|
2022-03-10 01:47:18 +01:00
|
|
|
<html lang="<?php echo _x('en', 'HTML language code'); ?>">
|
2022-03-09 18:09:44 +01:00
|
|
|
<head>
|
|
|
|
<title><?php echo $titulo; ?></title>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2022-04-05 09:33:40 +02:00
|
|
|
<?php if($configuracion['descripcion_sitio']): ?>
|
2022-03-10 01:47:18 +01:00
|
|
|
<meta name="description" content="<?php echo $configuracion['nome_sitio'] . ' ' . $configuracion['descripcion_sitio']; ?>" />
|
|
|
|
<?php endif; ?>
|
2022-03-20 19:25:51 +01:00
|
|
|
<meta name="msapplication-TileColor" content="#00aba9">
|
|
|
|
<meta name="msapplication-config" content="<?php echo $config->urls->templates; ?>images/browserconfig.xml">
|
|
|
|
<meta name="theme-color" content="#ffffff">
|
2022-04-05 16:52:02 +02:00
|
|
|
|
|
|
|
<!-- 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: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:url" content="https://your-website.com/twitter-image.png">
|
|
|
|
<meta name="twitter:card" content="summary">
|
|
|
|
-->
|
|
|
|
|
2022-03-20 19:25:51 +01:00
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="<?php echo $config->urls->templates; ?>images/apple-touch-icon.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="<?php echo $config->urls->templates; ?>images/favicon-32x32.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16" href="<?php echo $config->urls->templates; ?>images/favicon-16x16.png">
|
|
|
|
<link rel="manifest" href="<?php echo $config->urls->templates; ?>images/site.webmanifest">
|
|
|
|
<link rel="mask-icon" href="<?php echo $config->urls->templates; ?>images/safari-pinned-tab.svg" color="#00a099">
|
|
|
|
<link rel="shortcut icon" href="<?php echo $config->urls->templates; ?>images/favicon.ico">
|
2022-03-13 21:30:17 +01:00
|
|
|
<link rel="stylesheet" type="text/css" href="<?php echo $config->urls->templates; ?>css/reset.css" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?php echo $config->urls->templates; ?>css/fonts.css" />
|
2022-04-06 13:08:40 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="<?php echo $config->urls->templates; ?>css/swiper.css" />
|
2022-03-10 01:47:18 +01:00
|
|
|
<link title="Praia de Seselle" rel="stylesheet" type="text/css" href="<?php echo $config->urls->templates?>css/style.css" />
|
|
|
|
<?php foreach($languages as $idioma): ?>
|
|
|
|
<?php if(!$page->viewable($idioma)): continue; endif; ?>
|
2022-04-05 12:43:22 +02:00
|
|
|
<link rel="alternate" hreflang="<?php echo $inicio->getLanguageValue($idioma, 'name'); ?>" href="<?php echo $page->httpUrl($idioma); ?>" />
|
2022-03-10 01:47:18 +01:00
|
|
|
<?php endforeach; ?>
|
2022-04-05 16:52:02 +02:00
|
|
|
<style>
|
|
|
|
:root
|
|
|
|
{
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
|
|
--color_60: <?php echo $configuracion['color_fondo'] ?>;
|
|
|
|
--color_30: <?php echo $configuracion['color_principal'] ?>;
|
|
|
|
--color_10: <?php echo $configuracion['color_secundario'] ?>;
|
2022-05-03 12:18:01 +02:00
|
|
|
--imaxe_destacada: <?php echo $page->imaxe ? 'url("'. $page->imaxe->url . '")' : 'none'; ?>;
|
2022-04-05 16:52:02 +02:00
|
|
|
}
|
|
|
|
</style>
|
2022-03-09 18:09:44 +01:00
|
|
|
</head>
|
2022-03-14 14:56:35 +01:00
|
|
|
<body>
|
2022-03-10 01:47:18 +01:00
|
|
|
<a href="#contido" class="visually-hidden element-focusable bypass-to-main"><?php echo _x('Skip to content', 'bypass'); ?></a>
|
|
|
|
<header id="cabeceira">
|
|
|
|
<div class="contedor">
|
|
|
|
<div id="logo">
|
2022-04-05 12:43:22 +02:00
|
|
|
<picture>
|
|
|
|
<source srcset="<?php echo $config->urls->templates?>images/logo-praia-seselle-150x116.jpg" media="(max-width: 767px)">
|
|
|
|
<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>
|
2022-03-10 01:47:18 +01:00
|
|
|
</div>
|
2022-03-20 19:25:51 +01:00
|
|
|
<label class="visually-hidden" for="interruptor"><?php echo _x('Open/Close menu', 'Menu Switch'); ?></label><input type="checkbox" name="interruptor" id="interruptor">
|
2022-03-10 01:47:18 +01:00
|
|
|
<div class="interruptor">
|
|
|
|
<span class="linna linna1"></span>
|
|
|
|
<span class="linna linna2"></span>
|
|
|
|
<span class="linna linna3"></span>
|
|
|
|
</div>
|
|
|
|
<nav id="menu">
|
|
|
|
<h2 class="visually-hidden"><?php echo _x('Menu', 'Navigation menu');?></h2>
|
2022-04-06 13:08:40 +02:00
|
|
|
<ul id="idiomas">
|
2022-04-07 13:57:02 +02:00
|
|
|
<?php
|
2022-03-10 01:47:18 +01:00
|
|
|
foreach($languages as $idioma)
|
|
|
|
{
|
|
|
|
if(!$page->viewable($idioma))
|
|
|
|
{
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
?>
|
2022-03-14 14:56:35 +01:00
|
|
|
<li <?php echo $idioma->id == $user->language->id ? 'class="activo"' : ''; ?>>
|
2022-03-10 01:47:18 +01:00
|
|
|
<?php
|
|
|
|
$url = $page->localUrl($idioma);
|
|
|
|
$hreflang = $inicio->getLanguageValue($idioma, 'name');
|
|
|
|
?>
|
2022-03-14 14:56:35 +01:00
|
|
|
<a title="<?php echo $idioma->title; ?>" hreflang="<?php echo $hreflang;?>" href="<?php echo $url; ?>"><?php echo $hreflang; ?></a>
|
|
|
|
</li>
|
2022-03-10 01:47:18 +01:00
|
|
|
<?php } ?>
|
2022-03-14 14:56:35 +01:00
|
|
|
</ul>
|
2022-03-10 01:47:18 +01:00
|
|
|
<?php echo $menu; ?>
|
|
|
|
</nav>
|
|
|
|
</div>
|
2022-04-07 13:57:02 +02:00
|
|
|
</header>
|