Pwa manifest

This commit is contained in:
Sidharth Vinod
2021-05-31 14:25:17 +05:30
parent 574ec57a1b
commit 1f3d3089a4
4 changed files with 28 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@
content="Simplify documentation and avoid heavy tools. Open source Visio Alternative. Commonly used for explaining your code! Mermaid is a simple markdown-like script language for generating charts from text via javascript."
/>
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="manifest" href="manifest.json" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css"
+27
View File
@@ -0,0 +1,27 @@
import { base } from '$app/paths';
export const get = (): { body: any } => {
return {
body: {
short_name: 'Mermaid',
name: 'Mermaid Live Editor',
icons: [
{
src: `${base}/icon-192.png`,
type: 'image/png',
sizes: '192x192'
},
{
src: `${base}/icon-512.png`,
type: 'image/png',
sizes: '512x512'
}
],
start_url: `${base}/edit`,
background_color: '#3367D6',
display: 'standalone',
scope: `${base}`,
theme_color: '#3367D6',
description: 'Description'
}
};
};
Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB