Skip to content

Commit

Permalink
fix: add screenshots (#61)
Browse files Browse the repository at this point in the history
* fix: add screenshots

Signed-off-by: Mirko Mollik <[email protected]>

* use brotli docker image for better compression

Signed-off-by: Mirko Mollik <[email protected]>

---------

Signed-off-by: Mirko Mollik <[email protected]>
  • Loading branch information
cre8 authored Jun 12, 2024
1 parent aa0da58 commit 9a43566
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
5 changes: 4 additions & 1 deletion apps/holder-app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/nginx:stable-alpine
FROM fholzer/nginx-brotli:v1.12.2
COPY dist/apps/holder-app/* /usr/share/nginx/html/
RUN echo "server {" > /etc/nginx/conf.d/default.conf && \
echo " listen 80;" >> /etc/nginx/conf.d/default.conf && \
Expand All @@ -8,5 +8,8 @@ RUN echo "server {" > /etc/nginx/conf.d/default.conf && \
echo " try_files \$uri \$uri/ /index.html =404;" >> /etc/nginx/conf.d/default.conf && \
echo " }" >> /etc/nginx/conf.d/default.conf && \
echo "}" >> /etc/nginx/conf.d/default.conf
RUN echo "brotli on;" >> /etc/nginx/nginx.conf && \
echo "brotli_static on;" >> /etc/nginx/nginx.conf && \
echo "brotli_types text/plain text/css application/javascript application/json image/svg+xml application/xml+rss;" >> /etc/nginx/nginx.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
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 apps/holder-app/src/assets/screenshot/mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 15 additions & 2 deletions apps/holder-app/src/manifest.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@
"id": "/",
"scope": "./",
"start_url": "./",
"screenshots": [
{
"src": "assets/screenshot/mobile.png",
"sizes": "1082x2402",
"type": "image/png"
},
{
"src": "assets/screenshot/main-wide.png",
"sizes": "2047x2732",
"form_factor": "wide",
"type": "image/png"
}
],
"icons": [
{
"src": "assets/icons/icon-192.png",
Expand All @@ -20,13 +33,13 @@
"type": "image/png"
},
{
"src": "assets/icons/maskable_icon-192.png",
"src": "assets/icons/icon-192-maskable.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "assets/icons/maskable_icon-512.png",
"src": "assets/icons/icon-512-maskable.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
Expand Down

0 comments on commit 9a43566

Please sign in to comment.