<!doctype html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>kmapi</title>
<meta name="description" content="Sanctus">
<meta name="viewport" content="width=device-width, maximum-scale=5, initial-scale=1, user-scalable=0">
<!--[if IE]>
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->
<!-- up to 10% speed up for external res -->
{# <link rel="dns-prefetch" href="https://fonts.googleapis.com/"> <link rel="dns-prefetch" href="https://fonts.gstatic.com/">
<link rel="preconnect" href="https://fonts.googleapis.com/">
<link rel="preconnect" href="https://fonts.gstatic.com/"> #}
<!-- preloading icon font is helping to speed up a little bit -->
<link rel="preload" href="{{ asset('smarty/fonts/flaticon/Flaticon.woff2') }}" as="font" type="font/woff2" crossorigin> <link rel="stylesheet" href="{{ asset('smarty/css/core.css') }}">
<link rel="stylesheet" href="{{ asset('smarty/css/vendor_bundle.min.css') }}">
{# <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"> #}
<!-- fontawesome -->
<link
rel="stylesheet" href="{{ asset('fontawesome/css/all.css') }}"> <!-- favicon -->
<link rel="shortcut icon" href="{{ asset('favicon.ico') }}">
<link rel="apple-touch-icon" href="{{ asset('smarty/images/hab.png') }}">
{%- block css -%}
{%- endblock -%}
{# <link rel="manifest" href="{{ asset('eventos_manifest.json') }}"> #}
<meta name="theme-color" content="#377dff">
<style>
body {
color: #777;
margin: 0;
/* background: url("{{ asset('pe.jpg') }}"); */
/* background-color: coral;*/
background-repeat: no-repeat;
background-size: 100% 100%;
}
#footer2 {
width: 100%;
height: 100px;
background-color: black;
border-top: 0 solid #E0E0E0;
position: absolute;
bottom: 0;
left: 0;
text-align: center;
}
.br2 {
display: block;
margin-bottom: 0;
}
/* @media print {
body * {
visibility: show;
size:landscape;
}
}
*/
@page {
size: auto;
}
</style>
</head>
<body class="header bg-light">
<div
id="wrapper">
<!-- HEADER -->
<header id="header" class="shadow-xs bg-gradient-dark">
<!-- NAVBAR -->
{# <div class="container position-relative"> #}
<div class="ml-2 mr-2 position-relative"> {# <span class="badge fs--11 mb-3" > </span> #}
</div>
<!-- /NAVBAR -->
</header>
<!-- /HEADER -->
{%- block body -%}
<div class="heading-title heading-border mb-20">
<div class="position-absolute end-0">
<a class="btn btn-primary btn-sm" href="{{ asset('videos/plan-marco-2023.mp4') }}" type="video/mp4" target="_blank">
<small>
Assista o vídeo com a novidade de Março de 2023</small>
</a>
<br>
<a class="btn btn-primary btn-sm" href="{{ asset('videos/plan-julho-2023.mp4') }}" type="video/mp4" target="_blank">
<small>
Assista o vídeo com a novidade de Julho de 2023</small>
</a>
<br>
<video id="videoPlayer" width="620" height="440" controls>
<source src="{{ asset('videos/plan-julho-2023.mp4') }}" type="video/mp4">
Seu navegador não suporta reproduzir vídeos.
</video>
</div>
</div>
{%- endblock -%}
{#
style="color:white;"
<footer id="footer2" class="footer-dark shadow-xs bg-gradient-dark">
<div class="bg-distinct py-3 clearfix ">
<div class="fs--14 py-2 float-start float-none-xs m-0-xs">
Copyright © {{ sanctus.parameters.instituicaoSigla }}-{{ sanctus.parameters.instituicao}} - CNPJ: {{ sanctus.parameters.cnpj}} ,
Todos os direitos reservados. By: <span class="text-gray-200 "><a href="https://sanctus.net.br" target="_blank" class="text-bold-800 grey darken-2"> Sanctus </a></span>
</div>
</div>
</footer>
#}
{#
<footer id="footer" class="footer-dark sticky">
<div class="bg-distinct py-3 clearfix ">
<div class="container clearfix font-weight-light text-center-xs">
<div class="fs--14 py-2 float-start float-none-xs m-0-xs">
Copyright © {{ sanctus.parameters.instituicaoSigla }}-{{ sanctus.parameters.instituicao}} - CNPJ: {{ sanctus.parameters.cnpj}} , Todos os direitos reservados. By: <span class="text-gray-200 "><a href="https://sanctus.net.br" target="_blank" class="text-bold-800 grey darken-2"> Sanctus </a></span>
</div>
</div>
</div>
</footer> #}
</div>
<!-- /#wrapper -->
<script></script>
<script src="{{ asset('smarty/js/core.min.js') }}"></script>
<script src="{{ asset('smarty/js/vendor_bundle.min.js') }}"></script>
<script>
$.SOW.config.sow__debug_enable = false;
// Obtém a referência do elemento de vídeo
const videoPlayer = document.getElementById('videoPlayer');
// Obtém a data atual
const currentDate = new Date().toISOString().split('T')[0];
// Define a data de término desejada
const endDate = '2023-07-15';
// Verifica se a data atual é menor ou igual à data de término
if (currentDate <= endDate) { // Se a data atual estiver dentro do limite, reproduz o vídeo
videoPlayer.play();
} else { // Se a data atual for posterior à data de término, exibe uma mensagem de vídeo expirado
videoPlayer.style.display = 'none'; // Esconde o elemento de vídeo
//alert('Aguarde em breve teremos novidades.');
}
</script>
{%- block javascript -%}{%- endblock -%}</body></html>