Skip to content

Commit

Permalink
Add screnshot for PWA install and more
Browse files Browse the repository at this point in the history
Signed-off-by: itxshakil@gmail.com <itxshakil@gmail.com>
  • Loading branch information
itxshakil committed Nov 26, 2023
1 parent 3bfa1b4 commit 8d4f6f7
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 3 deletions.
Binary file added public/images/screenshots/ediary-blogs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/screenshots/ediary-features.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/screenshots/ediary-profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/screenshots/ediary-welcome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 29 additions & 1 deletion public/manifest.webmanifest
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"id": "com.shakiltech.ediary",
"name": "Ediary App",
"short_name": "Ediary",
"start_url": "/?utmsource=homescreen",
"scope": "/",
"display": "standalone",
"orientation": "portrait-primary",
"background_color": "#2d3748",
"theme-color": "#2d3748",
"description": "Securely write and save your private Diary",
Expand Down Expand Up @@ -153,5 +156,30 @@
"url": "/request-data?utmsource=homescreen",
"icons": [{ "src": "/icons/old/icons-96.png", "sizes": "96x96" }]
}
]
],
"screenshots": [
{
"src": "/images/screenshots/ediary-features.png",
"sizes": "375x760",
"type": "image/png"
},
{
"src": "/images/screenshots/ediary-profile.png",
"sizes": "375x760",
"type": "image/png"
},
{
"src": "/images/screenshots/ediary-welcome.png",
"sizes": "375x760",
"type": "image/png"
},
{
"src": "/images/screenshots/ediary-blogs.png",
"sizes": "375x760",
"type": "image/png"
}
],
"dir": "ltr",
"handle_links": "preferred",
"categories": ["productivity", "utilities", "personalization"]
}
6 changes: 5 additions & 1 deletion public/sw.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const CACHE_NAME = 'ediary-cache-v2';
const CACHE_NAME = 'ediary-cache-v3';
const urlsToCache = [
'/',
'/?utmsource=homescreen',
Expand All @@ -17,6 +17,10 @@ const urlsToCache = [
'/blog',
'/faq',
'/search?utmsource=homescreen',
'/images/screenshots/ediary-features.png',
'/images/screenshots/ediary-profile.png',
'/images/screenshots/ediary-welcome.png',
'/images/screenshots/ediary-blogs.png',
];

self.addEventListener('install', function (event) {
Expand Down
2 changes: 1 addition & 1 deletion resources/views/includes/meta.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@itxshakil" />
<meta name="twitter:creator" content="@itxshakil" />
<meta name="og:title" content="Ediary | Securely write and save your private Diary" />
<meta name="og:title" content="Securely write and save your private Diary" />
<meta name="og:url" content="https://ediary.shakiltech.com/" />
<meta name="og:image" content="/icons/apple-icon-96x96.png" />
<meta name="og:site_name" content="Ediary App" />
Expand Down

0 comments on commit 8d4f6f7

Please sign in to comment.