officegobmx-webpage/index.html
2024-12-02 06:10:29 -06:00

216 lines
7.5 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="icon" href="images/logofelipecarrillo-2024.svg" type="image/x-icon">
<meta name="description" content="Sitio de descarga para Office Gobmx">
<meta name="keywords" content="Office gobmx, Suite ofimática, writer, Office gratuito">
<meta http-equiv="content-language" content="es">
<title>Office GobMx</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
background-color: aliceblue;
text-align: center;
font-family: Arial, Helvetica, sans-serif;
}
.download-button {
background-color: #691c32;
border: none;
color: aliceblue;
padding: 16px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 8px;
}
.download-button:hover {
background-color: #98989a;
}
#os {
padding-top: 1px;
padding-bottom: 20px;
font-size: 12px;
}
#footer {
background: #26292B;
padding-top: 20px;
padding-bottom: 20px;
}
#footer p {
color: #6f7271;
font-size: 11px;
line-height: 13px;
}
#footer p a {
color: #00A500;
font-weight: normal;
text-decoration: none;
}
.barra-superior {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #611232;;
padding: 10px 20px;
color: white;
}
.menu-superior {
color: white;
margin: 0 10px;
text-decoration: none;
font-size: 14px;
}
.menu-superior a img {
height: 20px;
}
.logo_superior {
max-height: 50px;
}
.barra-inferior {
background-color: #a57f2c;
padding: 10px 20px;
}
</style>
</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.8+gobmx-1.6";
</script>
</body>
<main>
<div class="barra-superior">
<img src="https://framework-gb.cdn.gob.mx/gobmx/img/logo_blanco.svg" alt="Gobierno de mexico" class="logo_superior">
<nav class="menu-superior">
<a href="#">Gobierno</a>
</nav>
</div>
<div class="barra-inferior">
<nav>
<a href="#">Transparencia</a>
</nav>
</div>
<!--div class="p" style="background-color: #691c32;"-->
<img src="https://framework-gb.cdn.gob.mx/landing/img/gmx-04.jpg" style="width: 100%; height: auto;" >
</div>
<div class="q">
<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-->
<download class="download-button" id="download-button">Descargar</a>
<script>
var downloadButton = document.getElementById("download-button");
var OSName = "Unknown OS";
if (navigator.platform.indexOf("Win") != -1) OSName = "Windows";
if (navigator.platform.indexOf("Mac") != -1) OSName = "MacOS";
if (navigator.platform.indexOf("Linux") != -1) OSName = "Linux";
switch (OSName) {
case "Windows":
downloadButton.addEventListener("click", function() {
window.location.href = "https://repos.libreoffice.gob.mx/windows/general/x86_64/Office_24.8.1.2.+gobmx151_Win_x86-64_en-MX_es.msi";
});
break;
case "MacOS":
downloadButton.addEventListener("click", function() {
window.location.href = "https://repos.libreoffice.gob.mx/macOS/general/";
});
break;
case "Linux":
downloadButton.addEventListener("click", function() {
window.location.href = "https://git.softwarelibre.mx/strepsirrhini/office-gobmx/-/wikis/Gu%C3%ADa-de-instalaci%C3%B3n-de-LibreOffice-para-Ubuntu-22.04-(jammy)";
});
break;
default:
downloadButton.disabled = true;
break;
}
</script>
</div>
<section id="os">
<div class="container">
<div class="row">
<div class="col-sm-12 text-center">
<a href="https://repos.libreoffice.gob.mx/" target="_blank">Otros Sistemas Operativos</a>
</div>
</div>
</div>
</section>
<div>
<br>
<a href="https://git.softwarelibre.mx/strepsirrhini/office-gobmx/-/wikis/Notas%20de%20la%20Versi%C3%B3n";>Notas de la versión Libreoffice.gob</a>
</br>
<br>
<a href="https://www.libreoffice.org/download/release-notes/";>Notas de la versión</a>
</br>
<p class="dark-gray">
Versiones antiguas disponibles en el
<a href="https://repos.libreoffice.gob.mx/old">archivo</a>
</p>
<p class="dark-gray">
Licencia de código:
<a href="https://www.libreoffice.org/download/license/">Mozilla Public License v2.0</a>
</p>
<p class="dark-gray">
Copyright:
<a href="https://www.libreoffice.org/download/license/">Mozilla Public License v2.0</a>
</p>
<p class="dark-gray">
<a href="https://git.softwarelibre.mx/strepsirrhini/office-gobmx/-/wikis/Pol%C3%ADtica%20de%20Privacidad">Política de privacidad</a>
</p>
</main>
<div id="who" class="width">
<br>
<br>
<br>
Av. Constituyentes 161 piso 4, San Miguel Chapultepec II Secc. Miguel Hidalgo, 11850 Ciudad de México, CDMX,
<br>
Tel. 55 50 93 53 00 Ext. 3011
<br>
<a href="https://www.gob.mx/cedn">www.gob.mx/cedn</a>
</div>
<section id="footer">
<div class="container">
<div class="row">
<div class="col-sm-12 text-center">
<p>"LibreOffice Gob" en un trabajo derivado de "Libreoffice" <a href="https://www.libreoffice.org/download/license/" target="_blank">Copyright</a>. <a href="https://git.libreoffice.org/core" target="_blank">Código</a>.</p>
</div>
</div>
</div>
</section>
<script>
function showCedn() {cednwnd = window.open('https://www.gob.mx/cedn', 'width=890,heigth=330,left=200,top=200,menubar=no,status=yes,toolbar=no')}
function showRlsNotes() {rlsNotes = window.open('https://www.libreoffice.org/download/release-notes/')}
</script>
</html>