Skip to content

Commit 774a0d0

Browse files
committed
feat(ui): mostrar versión v13 en el pie de página
1 parent 94fb962 commit 774a0d0

3 files changed

Lines changed: 16 additions & 10 deletions

File tree

‎css/styles.css‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,6 +1505,12 @@ dialog.app-dialog::backdrop {
15051505
color: var(--text-muted);
15061506
}
15071507

1508+
.app-version {
1509+
font-weight: 600;
1510+
font-variant-numeric: tabular-nums;
1511+
color: var(--text-secondary);
1512+
}
1513+
15081514
.toast-region {
15091515
position: fixed;
15101516
bottom: 26px;

‎index.html‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<!-- Precarga paralela de la base de datos oficial -->
4848
<link rel="preload" href="./data/games.json" as="fetch" crossorigin>
4949

50-
<link rel="stylesheet" href="./css/styles.css?v=12">
50+
<link rel="stylesheet" href="./css/styles.css?v=13">
5151
</head>
5252

5353
<body>
@@ -472,7 +472,7 @@ <h2 id="winnerTitle" class="winner-title">Nombre del Juego</h2>
472472
<!-- Pie de página -->
473473
<footer class="site-footer">
474474
<span><span id="footerSourceLabel">Base Oficial</span> · <strong id="footerTotalCount">0</strong> juegos</span>
475-
<span>Funciona sin conexión · Listo para GitHub Pages</span>
475+
<span>Funciona sin conexión · Listo para GitHub Pages · <strong id="appVersionBadge" class="app-version">v13</strong></span>
476476
</footer>
477477

478478
<!-- MODAL (<dialog>) PARA AGREGAR O EDITAR JUEGO -->
@@ -568,9 +568,9 @@ <h2 id="gameDialogTitle">Agregar nuevo juego</h2>
568568
<!-- Región de notificaciones breves -->
569569
<div id="toastRegion" class="toast-region" aria-live="polite"></div>
570570

571-
<script defer src="./js/default-games.js?v=12"></script>
572-
<script defer src="./js/storage.js?v=12"></script>
573-
<script defer src="./js/app.js?v=12"></script>
571+
<script defer src="./js/default-games.js?v=13"></script>
572+
<script defer src="./js/storage.js?v=13"></script>
573+
<script defer src="./js/app.js?v=13"></script>
574574
</body>
575575

576576
</html>

‎sw.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
const CACHE_NAME = 'ludoteca-cache-v12';
1+
const CACHE_NAME = 'ludoteca-cache-v13';
22
const PRECACHE_URLS = [
33
'./',
44
'./index.html',
5-
'./css/styles.css?v=12',
6-
'./js/default-games.js?v=12',
7-
'./js/storage.js?v=12',
8-
'./js/app.js?v=12',
5+
'./css/styles.css?v=13',
6+
'./js/default-games.js?v=13',
7+
'./js/storage.js?v=13',
8+
'./js/app.js?v=13',
99
'./data/games.json',
1010
'./manifest.webmanifest',
1111
'./assets/favicon.svg',

0 commit comments

Comments
 (0)