diff --git a/.gitignore b/.gitignore index d9326d0..2b96992 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,10 @@ node_modules/ *.db __pycache__ +# styles are generated by tailwind +app/static/style.css + +# these are generated by flask digest compile *-[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f].* *.gz cache_manifest.json diff --git a/app/static/favicon.png b/app/static/favicon.png new file mode 100644 index 0000000..6278a73 Binary files /dev/null and b/app/static/favicon.png differ diff --git a/app/static/icon.svg b/app/static/icon.svg new file mode 100644 index 0000000..8b0c007 --- /dev/null +++ b/app/static/icon.svg @@ -0,0 +1,101 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/app/static/icons/favicon.ico b/app/static/icons/favicon.ico new file mode 100644 index 0000000..cc91ef8 Binary files /dev/null and b/app/static/icons/favicon.ico differ diff --git a/app/static/icons/icon-120.png b/app/static/icons/icon-120.png new file mode 100644 index 0000000..13e5d41 Binary files /dev/null and b/app/static/icons/icon-120.png differ diff --git a/app/static/icons/icon-128.png b/app/static/icons/icon-128.png new file mode 100644 index 0000000..5c97440 Binary files /dev/null and b/app/static/icons/icon-128.png differ diff --git a/app/static/icons/icon-152.png b/app/static/icons/icon-152.png new file mode 100644 index 0000000..18b8d21 Binary files /dev/null and b/app/static/icons/icon-152.png differ diff --git a/app/static/icons/icon-16.png b/app/static/icons/icon-16.png new file mode 100644 index 0000000..b8addcb Binary files /dev/null and b/app/static/icons/icon-16.png differ diff --git a/app/static/icons/icon-167.png b/app/static/icons/icon-167.png new file mode 100644 index 0000000..0c2bba3 Binary files /dev/null and b/app/static/icons/icon-167.png differ diff --git a/app/static/icons/icon-180.png b/app/static/icons/icon-180.png new file mode 100644 index 0000000..b6e1241 Binary files /dev/null and b/app/static/icons/icon-180.png differ diff --git a/app/static/icons/icon-192.png b/app/static/icons/icon-192.png new file mode 100644 index 0000000..0a78348 Binary files /dev/null and b/app/static/icons/icon-192.png differ diff --git a/app/static/icons/icon-196.png b/app/static/icons/icon-196.png new file mode 100644 index 0000000..de062dc Binary files /dev/null and b/app/static/icons/icon-196.png differ diff --git a/app/static/icons/icon-228.png b/app/static/icons/icon-228.png new file mode 100644 index 0000000..f2ef1f9 Binary files /dev/null and b/app/static/icons/icon-228.png differ diff --git a/app/static/icons/icon-256.png b/app/static/icons/icon-256.png new file mode 100644 index 0000000..28eb22e Binary files /dev/null and b/app/static/icons/icon-256.png differ diff --git a/app/static/icons/icon-32.png b/app/static/icons/icon-32.png new file mode 100644 index 0000000..754eef4 Binary files /dev/null and b/app/static/icons/icon-32.png differ diff --git a/app/static/icons/icon-512.png b/app/static/icons/icon-512.png new file mode 100644 index 0000000..9907313 Binary files /dev/null and b/app/static/icons/icon-512.png differ diff --git a/app/static/icons/icon-64.png b/app/static/icons/icon-64.png new file mode 100644 index 0000000..e4ad164 Binary files /dev/null and b/app/static/icons/icon-64.png differ diff --git a/app/static/manifest.json b/app/static/manifest.json new file mode 100644 index 0000000..a35e066 --- /dev/null +++ b/app/static/manifest.json @@ -0,0 +1,20 @@ +{ + "name": "DoneTh.at", + "short_name": "DoneTh.at", + "start_url": "https://doneth.at", + "display": "standalone", + "background_color": "#fff", + "description": "An app to track your accomplishments.", + "icons": [ + { + "src": "static/icons/icon-192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "static/icons/icon-512.png", + "sizes": "512x512", + "type": "image/png" + } + ] +} diff --git a/app/templates/_skel.html b/app/templates/_skel.html index 406861c..4f99d27 100644 --- a/app/templates/_skel.html +++ b/app/templates/_skel.html @@ -8,6 +8,33 @@ + + + + + + + + + + + + + + + + + + {% endblock %} diff --git a/gen_icons.sh b/gen_icons.sh new file mode 100755 index 0000000..73b4358 --- /dev/null +++ b/gen_icons.sh @@ -0,0 +1,30 @@ +#!/usr/bin/env bash +SRC=app/static/icon.svg +OUT=app/static/icons +gen_png() { + inkscape -z -w $1 -h $1 -y 0 $SRC -e $OUT/$2 +} + +ip() { + echo $OUT/icon-$1.png +} + +g() { + gen_png $1 icon-$1.png +} + +g 16 +g 32 +g 64 +g 120 +g 128 +g 152 +g 167 +g 180 +g 192 +g 196 +g 256 +g 228 +g 512 + +convert $(ip 16) $(ip 32) $(ip 64) $(ip 128) $(ip 256) $(ip 512) $OUT/favicon.ico