47 lines
No EOL
2.1 KiB
HTML
47 lines
No EOL
2.1 KiB
HTML
<!-- START APERTURA-->
|
|
<script>
|
|
// Carica i dati dal file JSON
|
|
fetch('data.json')
|
|
.then(response => response.json())
|
|
.then(data => {
|
|
// Inserisce gli orari nel DOM
|
|
document.getElementById('hora-apertura').textContent = data.orari.apertura;
|
|
document.getElementById('hora-cierre').textContent = data.orari.chiusura;
|
|
})
|
|
.catch(error => console.error('Errore nel caricamento dei dati:', error));
|
|
</script>
|
|
|
|
<section data-bs-version="5.1" class="features13 cid-tIR3YdGkvw" id="features14-v">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<h2 class="mbr-section-title align-center mb-4 mbr-fonts-style display-2">
|
|
<strong>Hoy abierto!</strong><br>como todos los dias
|
|
</h2>
|
|
</div>
|
|
<div class="card col-12 col-md-4 col-lg-2 p-3">
|
|
<div class="card-wrapper">
|
|
<div class="card-box align-center">
|
|
<span class="mbr-iconfont mobi-mbri-clock mobi-mbri"
|
|
style="color: rgb(111, 191, 64); fill: rgb(111, 191, 64);"></span>
|
|
<h3 class="card-title align-center mbr-black mbr-fonts-style display-7">
|
|
<strong>Empezamos</strong><br><strong id="hora-apertura">Cargando...</strong>
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card p-3 col-12 col-md-4 col-lg-2">
|
|
<div class="card-wrapper">
|
|
<div class="card-box align-center">
|
|
<span class="mbr-iconfont mobi-mbri-clock mobi-mbri"
|
|
style="color: rgb(228, 63, 63); fill: rgb(228, 63, 63);"></span>
|
|
<h3 class="card-title align-center mbr-black mbr-fonts-style display-7">
|
|
<strong>Cerramos</strong><br><strong id="hora-cierre">Cargando...</strong>
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- END APERTURA--> |