Add favicons

This commit is contained in:
Dominic Grimm 2023-02-28 13:54:21 +01:00
parent 38b644f3fa
commit c722dec457
No known key found for this signature in database
GPG key ID: 6F294212DEAAC530
9 changed files with 32 additions and 0 deletions

View file

@ -7,6 +7,7 @@ RUN find . -name "*.scss" -type f | xargs -I % sh -c 'sassc % > ../dist/$(basena
FROM tdewolff/minify:latest as static FROM tdewolff/minify:latest as static
WORKDIR /usr/src/static WORKDIR /usr/src/static
COPY ./static .
COPY --from=css /usr/src/scss/dist ./css COPY --from=css /usr/src/scss/dist ./css
COPY ./js ./js COPY ./js ./js
RUN minify . -r -o . RUN minify . -r -o .

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 687 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
bvplan/static/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -0,0 +1,19 @@
{
"name": "BVplan",
"short_name": "BVplan",
"icons": [
{
"src": "/static/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/static/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}

View file

@ -7,6 +7,12 @@
<meta name="generator" content="BVplan" /> <meta name="generator" content="BVplan" />
<title>BVplan | dergrimm.net</title> <title>BVplan | dergrimm.net</title>
<link rel="shortcut icon" href="/static/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/static/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16x16.png">
<link rel="manifest" href="/static/site.webmanifest">
<link rel="stylesheet" type="text/css" href="/static/css/bvplan.css" /> <link rel="stylesheet" type="text/css" href="/static/css/bvplan.css" />
<script id="data-element-count" type="application/json">{{ data.substitutions.len()|json|safe }}</script> <script id="data-element-count" type="application/json">{{ data.substitutions.len()|json|safe }}</script>

View file

@ -7,6 +7,12 @@
<meta name="generator" content="BVplan" /> <meta name="generator" content="BVplan" />
<title>BVplan | dergrimm.net</title> <title>BVplan | dergrimm.net</title>
<link rel="shortcut icon" href="/static/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/static/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16x16.png">
<link rel="manifest" href="/static/site.webmanifest">
<style> <style>
body { body {
text-align: center; text-align: center;