Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Afegir un fitxer 'manifest' per a Progressive Web App (PWA) #304

Open
jaumeortola opened this issue Apr 23, 2022 · 1 comment
Open

Afegir un fitxer 'manifest' per a Progressive Web App (PWA) #304

jaumeortola opened this issue Apr 23, 2022 · 1 comment

Comments

@jaumeortola
Copy link
Member

Documentació ací: https://developer.mozilla.org/en-US/docs/Web/Manifest

Exemple del Paraulògic: https://vilaweb.cat/paraulogic/site.webmanifest

En el diccionari de sinònims, corrector, traductor...?

@Ecron
Copy link

Ecron commented Oct 24, 2023

Afegisc a continuació una proposta de «manifest» per al Traductor, en format manifest.json o traductor.webmanifest, muntat a partir del que s'indica al MDN de Mozilla:

{
  "name": "Traductor de Softcatalà",
  "short_name": "Traductor SC",
  "start_url": ".",
  "display": "standalone",
  "background_color": "#fff",
  "description": "Traductor català / valencià - castellà / espanyol, anglès, francès, portuguès, etc. | Softcatalà",
  "scope": "https://www.softcatala.org/traductor/"
  "theme_color": "#BA2626"
  "icons": [
    {
      "src": "./uploads/2023/10/SC_marca_48.png",
      "sizes": "48x48",
      "type": "image/png"
    },
    {
      "src": "./uploads/2023/10/SC_marca_72.png",
      "sizes": "72x72",
      "type": "image/png"
    },
    {
      "src": "./uploads/2023/10/SC_marca_96.png",
      "sizes": "96x96",
      "type": "image/png"
    },
    {
      "src": "./uploads/2023/10/SC_marca_144.png",
      "sizes": "144x144",
      "type": "image/png"
    },
    {
      "src": "./uploads/2023/10/SC_marca_168.png",
      "sizes": "168x168",
      "type": "image/png"
    },
    {
      "src": "./uploads/2023/10/SC_marca_192.png",
      "sizes": "192x192",
      "type": "image/png"
    },
    {
      "src": "./uploads/2023/10/SC_marca_256.png",
      "sizes": "256x256",
      "type": "image/png"
    },
    {
      "src": "./uploads/2023/10/SC_marca_384.png",
      "sizes": "384x384",
      "type": "image/png"
    },
    {
      "src": "./uploads/2023/10/SC_marca_512.png",
      "sizes": "512x512",
      "type": "image/png"
    }
  ],
  "related_applications": [
    {
      "platform": "play",
      "url": "https://play.google.com/store/apps/details?id=org.softcatala.traductor"
    }
  ]
}

No he tingut ocasió de provar-lo en producció, potser no és funcional o cal canviar o modificar alguna cosa al CSS del web. Em quedaria comprovar si funciona. Però podem treballar a partir d'això, si es volguera.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants