Merge branch 'ipar/version_update' into 'main'

Actualizado version a descargar, tamaño de imagen y link de descarga macos

See merge request strepsirrhini/webpage-download-lo!2
This commit is contained in:
Israel Paredes 2024-03-25 05:49:57 +00:00
commit e0ca64eed7

View file

@ -58,18 +58,24 @@
</head>
<body>
<!--header style="padding-top: 10px; font-size: 26pt; font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; color: brown;">Office Gob</header-->
<script>
var version = "Office 24.2+gobmx-1.2";
</script>
</body>
<main>
<div class="p" style="background-color: #9F2241;">
<img src="images/logofelipecarrillo-2024.svg" >
<img src="images/logofelipecarrillo-2024.svg" style="width: 41vw; height: auto;" >
</div>
<div class="q">
<h2>Office 24.8.0+gobmx-1.2</h2>
<h2 id="versionTag"></h2>
<!--Actualizar version usando variable global-->
<script>
document.getElementById("versionTag").innerHTML = version;
</script>
<!--Selección de OS-->
<!--button id="download-button">Descargar</button-->
@ -85,17 +91,17 @@
switch (OSName) {
case "Windows":
downloadButton.addEventListener("click", function() {
window.location.href = "https://repos.libreoffice.gob.mx/windows/general/x86_64/Office_24.8.0.0_gobmx_1.2_Win_x86-64_en-MX_es.msi";
window.location.href = "https://repos.libreoffice.gob.mx/windows/general/x86_64/Office_24.2.1.2_Win_x86-64_en-MX_es.msi";
});
break;
case "MacOS":
downloadButton.addEventListener("click", function() {
window.location.href = "https://repos.libreoffice.gob.mx/macOS/";
window.location.href = "https://repos.libreoffice.gob.mx/macOS/general/";
});
break;
case "Linux":
downloadButton.addEventListener("click", function() {
window.location.href = "https://repos.libreoffice.gob.mx/debs-rpm/";
window.location.href = "https://repos.libreoffice.gob.mx/debian/repodeb/";
});
break;
default: