From 03cf04e771bf697ea35a9a422f992b5626678106 Mon Sep 17 00:00:00 2001 From: "Ricardo (XenGi) Band" Date: Thu, 23 Jan 2025 13:12:26 +0100 Subject: [PATCH] fix qr code in light mode. lots of meta data --- .gitlab-ci.yml | 2 ++ index.html | 31 ++++++++++++++++++++++++++++--- js/index.js | 4 ++-- 3 files changed, 32 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 28f350b..0dd912b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,7 +13,9 @@ pages: - cp js/index.js public/js/index.js - cp js/qr-creator.min.js public/js/qr-creator.min.js - cp site.webmanifest public/site.webmanifest + - cp favicon.ico public/favicon.ico - cp -r img public/ + - cp sticker.png /public/img/sticker.png artifacts: paths: - public diff --git a/index.html b/index.html index b995708..a75f1e3 100644 --- a/index.html +++ b/index.html @@ -2,14 +2,39 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + BezahlBrudi diff --git a/js/index.js b/js/index.js index 609d8b7..207c8b8 100644 --- a/js/index.js +++ b/js/index.js @@ -187,8 +187,8 @@ ${document.querySelector("#purpose input").value} `, radius: 0.25, ecLevel: "H", - fill: "#fff", - background: null, + fill: "#000", + background: "#fff", size: 512 }, document.querySelector('#qr-code'));