Skip to content

Commit

Permalink
update desktop screenshots in mafest.json
Browse files Browse the repository at this point in the history
  • Loading branch information
amitmerchant1990 committed Aug 27, 2024
1 parent f8a4b1b commit f8f7b31
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
Binary file added img/screenshot-desktop-dark.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 img/screenshot-desktop-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 7 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ <h4 class="modal-title custom-modal-title">Notepad — Offline capable</h4>
<a class="nav-link active" data-toggle="tab" href="#about">About</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#whatsNew">What's new</a>
<a class="nav-link" data-toggle="tab" href="#changelog">Changelog</a>
</li>
</ul>
<div class="tab-content">
Expand Down Expand Up @@ -180,7 +180,12 @@ <h4 class="modal-title custom-modal-title">Notepad — Offline capable</h4>
</p>
</div>

<div id="whatsNew" class="container tab-pane fade">
<div id="changelog" class="container tab-pane fade">
<h4>27th August, 2024</h3>
<ul>
<li>Added support to display rich screenshots when installing the app on the desktop.</li>
</ul>

<h4>24th July, 2024</h3>
<ul>
<li>Implemented <a href="https://baymard.com/blog/line-length-readability" target="_blank">optimal line length</a> feature for better readability.</li>
Expand Down
15 changes: 14 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@
"src": "img/screenshot2.png",
"type": "image/png",
"sizes": "540x720"
},
{
"src": "img/screenshot-desktop-dark.png",
"type": "image/png",
"form_factor": "wide",
"sizes": "2460x1674"
},
{
"src": "img/screenshot-desktop-light.png",
"type": "image/png",
"form_factor": "wide",
"sizes": "2460x1674"
}
],
"start_url": "index.html",
Expand All @@ -44,5 +56,6 @@
{
"origin": "https://notepad.js.org"
}
]
],
"display_override": ["minimal-ui"]
}

0 comments on commit f8f7b31

Please sign in to comment.