Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="es"> <!-- Cambiado a Español -->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>Honda Gravitacional v9.3 - Diseño Corregido</title> <!-- Título actualizado -->
<style>
/* CSS permanece idéntico a la versión anterior */
body { margin: 0; overflow: hidden; background-color: #2a2f4d; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #e0e0e0; }
body { display: flex; justify-content: center; align-items: center; min-height: 100vh; }
const CACHE_NAME = 'ylma-space-cache-v1';
const urlsToCache = [
'/',
'/index.html',
'/manifest.json',
'/style.css', // si tienes CSS externo
'/script.js', // si tienes JS externo
'https://i.postimg.cc/63nh51QL/Archivo-PNG-logo.png' // tu logo
];
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html b:css='false' b:defaultwidgetversion='2' b:layoutsVersion='3' b:responsive='true' b:templateUrl='fancy.xml' b:templateVersion='1.3.3' expr:dir='data:blog.languageDirection' expr:lang='data:blog.locale' lang='es' xml:lang='es' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<script defer='defer' src='https://cdn.onesignal.com/sdks/web/v16/OneSignalSDK.page.js'/>
<script>
window.OneSignalDeferred = window.OneSignalDeferred || [];
OneSignalDeferred.push(async function(OneSignal) {
await OneSignal.init({
appId: &quot;f9a75d96-f3f5-4f3d-8a74-c064cec1c11c&quot;,
});
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html b:css='false' b:defaultwidgetversion='2' b:layoutsVersion='3' b:responsive='true' b:templateUrl='fancy.xml' b:templateVersion='1.3.3' expr:dir='data:blog.languageDirection' expr:lang='data:blog.locale' lang='es' xml:lang='es' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<script defer='defer' src='https://cdn.onesignal.com/sdks/web/v16/OneSignalSDK.page.js'/>
<script>
window.OneSignalDeferred = window.OneSignalDeferred || [];
OneSignalDeferred.push(async function(OneSignal) {
await OneSignal.init({
appId: &quot;f9a75d96-f3f5-4f3d-8a74-c064cec1c11c&quot;,
});
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html b:css='false' b:defaultwidgetversion='2' b:layoutsVersion='3' b:responsive='true' b:templateUrl='fancy.xml' b:templateVersion='1.3.3' expr:dir='data:blog.languageDirection' expr:lang='data:blog.locale' lang='es' xml:lang='es' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<script defer='defer' src='https://cdn.onesignal.com/sdks/web/v16/OneSignalSDK.page.js'/>
<script>
window.OneSignalDeferred = window.OneSignalDeferred || [];
OneSignalDeferred.push(async function(OneSignal) {
await OneSignal.init({
appId: &quot;f9a75d96-f3f5-4f3d-8a74-c064cec1c11c&quot;,
});
// This is the service worker with the combined offline experience (Offline page + Offline copy of pages)
const CACHE = "pwabuilder-offline-page";
importScripts('https://storage.googleapis.com/workbox-cdn/releases/5.1.2/workbox-sw.js');
// TODO: replace the following with the correct offline fallback page i.e.: const offlineFallbackPage = "offline.html";
const offlineFallbackPage = "ToDo-replace-this-name.html";
self.addEventListener("message", (event) => {
<!doctype html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>YLMA Space manifest</title>
</head>
<body>
<h2>YLMA Space manifest</h2>
<p>Archivo manifest disponible en: <a href="./manifest.json">manifest.json</a></p>
</body>
{
"name": "YLMA Space",
"short_name": "YLMA Space",
"description": "YLMA Space es la plataforma educativa sobre espacio y astronomía de www.ylmaspace.es",
"start_url": "https://www.ylmaspace.es",
"scope": "/",
"display": "standalone",
"orientation": "portrait",
"background_color": "#0d4871",
"theme_color": "#FFC107",