diff --git a/app/apps/regie/templates/base.html b/app/apps/regie/templates/base.html index b6f17f9b..93a45ed1 100644 --- a/app/apps/regie/templates/base.html +++ b/app/apps/regie/templates/base.html @@ -1,11 +1,19 @@ {% load render_bundle from webpack_loader %} +{% load webpack_static from webpack_loader %} {% block title %}Regie{% endblock %} - + + + + + + + + {% block stylesheets %} {% render_bundle 'app' 'css' %} {% endblock %} @@ -29,15 +37,12 @@ {% endif %} - {% block javascripts %} - {% render_bundle 'app' 'js' %} {% endblock %} {% block header %}{% include 'snippets/pageheader.html' %}{% endblock %} -
{% block body %}{% endblock %} diff --git a/app/frontend/assets/images/apple-touch-icon.png b/app/frontend/assets/images/apple-touch-icon.png new file mode 100644 index 00000000..f0572c8e Binary files /dev/null and b/app/frontend/assets/images/apple-touch-icon.png differ diff --git a/app/frontend/assets/images/favicon-16x16.png b/app/frontend/assets/images/favicon-16x16.png new file mode 100644 index 00000000..bb2e875e Binary files /dev/null and b/app/frontend/assets/images/favicon-16x16.png differ diff --git a/app/frontend/assets/images/favicon-32x32.png b/app/frontend/assets/images/favicon-32x32.png new file mode 100644 index 00000000..3d5b2e62 Binary files /dev/null and b/app/frontend/assets/images/favicon-32x32.png differ diff --git a/app/frontend/assets/images/favicon.ico b/app/frontend/assets/images/favicon.ico new file mode 100644 index 00000000..e351e6fb Binary files /dev/null and b/app/frontend/assets/images/favicon.ico differ diff --git a/app/frontend/assets/images/safari-pinned-tab.svg b/app/frontend/assets/images/safari-pinned-tab.svg new file mode 100644 index 00000000..905d540e --- /dev/null +++ b/app/frontend/assets/images/safari-pinned-tab.svg @@ -0,0 +1,30 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + + + diff --git a/app/frontend/assets/manifest.json b/app/frontend/assets/manifest.json new file mode 100644 index 00000000..d4be50f2 --- /dev/null +++ b/app/frontend/assets/manifest.json @@ -0,0 +1,41 @@ +{ + "name": "regie.forzamor.nl", + "short_name": "regie.forzamor.nl", + "start_url": "/", + "display": "standalone", + "background_color": "#ffffff", + "theme_color": "#ffffff", + "orientation": "portrait-primary", + "icons": [ + { + "src": "/static/images/favicon-16x16.png", + "type": "image/png", + "sizes": "16x16" + }, + { + "src": "/static/images/favicon-32x32.png", + "type": "image/png", + "sizes": "32x32" + }, + { + "src": "/static/images/android-chrome-512x512.png", + "type": "image/png", + "sizes": "152x152" + }, + { + "src": "/static/images/apple-touch-icon.png", + "type": "image/png", + "sizes": "180x180" + }, + { + "src": "/static/images/android-chrome-192x192.png", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "/static/images/safari-pinned-tab.svg", + "sizes": "16x16", + "type": "image/svg+xml" + } + ] +} diff --git a/app/frontend/webpack.config.js b/app/frontend/webpack.config.js index 43eb8fcd..f2f43d51 100644 --- a/app/frontend/webpack.config.js +++ b/app/frontend/webpack.config.js @@ -125,13 +125,17 @@ module.exports = (env, argv) => { { from: './assets/images/*.*', globOptions: { - patterns: "*.+(png|jpg|jpeg|svg)", + patterns: "*.+(png|jpg|jpeg|svg|ico)", }, - to: 'images/[path][name][ext]' + to: 'images/[name][ext]' }, { from: './assets/icons/*.svg', to: 'icons/[path][name][ext]' + }, + { + from: './assets/manifest.json', + to: '[name][ext]' } ], }),