1
Fork 1

Add QR codes

This commit is contained in:
Jake Howard 2024-05-10 16:47:07 +01:00
parent 63022eee1a
commit 8a1bd0f410
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 59 additions and 1 deletions

25
package-lock.json generated
View file

@ -10,6 +10,7 @@
"@iconify-json/mdi": "^1.1.66",
"@slidev/cli": "^0.48.8",
"@slidev/theme-default": "latest",
"slidev-addon-qrcode": "^1.0.2",
"vue": "^3.4.21"
}
},
@ -6797,6 +6798,19 @@
"node": ">=6"
}
},
"node_modules/qr-code-styling": {
"version": "1.6.0-rc.1",
"resolved": "https://registry.npmjs.org/qr-code-styling/-/qr-code-styling-1.6.0-rc.1.tgz",
"integrity": "sha512-ModRIiW6oUnsP18QzrRYZSc/CFKFKIdj7pUs57AEVH20ajlglRpN3HukjHk0UbNMTlKGuaYl7Gt6/O5Gg2NU2Q==",
"dependencies": {
"qrcode-generator": "^1.4.3"
}
},
"node_modules/qrcode-generator": {
"version": "1.4.4",
"resolved": "https://registry.npmjs.org/qrcode-generator/-/qrcode-generator-1.4.4.tgz",
"integrity": "sha512-HM7yY8O2ilqhmULxGMpcHSF1EhJJ9yBj8gvDEuZ6M+KGJ0YY2hKpnXvRD+hZPLrDVck3ExIGhmPtSdcjC+guuw=="
},
"node_modules/queue-microtask": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
@ -7175,6 +7189,17 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/slidev-addon-qrcode": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/slidev-addon-qrcode/-/slidev-addon-qrcode-1.0.2.tgz",
"integrity": "sha512-vYjfu8KHnOaiijWaQFc5LaaglDIISGZ5Bx4m0RbmDlPiIZDseEoJX6O3Lxh4LaaCdo5JpMK/3o6CcNZtcTqpLg==",
"dependencies": {
"qr-code-styling": "^1.6.0-rc.1"
},
"engines": {
"slidev": ">=0.32.1"
}
},
"node_modules/source-map-js": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz",

View file

@ -12,6 +12,7 @@
"@iconify-json/mdi": "^1.1.66",
"@slidev/cli": "^0.48.8",
"@slidev/theme-default": "latest",
"slidev-addon-qrcode": "^1.0.2",
"vue": "^3.4.21"
}
}

View file

@ -7,6 +7,8 @@ mdc: true
monaco: false
themeConfig:
primary: '#0c4b33'
addons:
- "slidev-addon-qrcode"
---
# Empowering Django with Background Workers
@ -25,6 +27,15 @@ themeConfig:
<li><mdi-mastodon /> @jake@theorangeone.net</li>
</ul>
<div class="absolute right-0 bottom-4">
<QRCode
:width="110"
:height="110"
data="https://0rng.one/dceu24"
:dotsOptions="{ color: 'white' }"
/>
</div>
---
layout: center
---
@ -324,7 +335,17 @@ layout: fact
## Introducing:{.mb-5}
# `django.tasks`
# `django.tasks`*
<div class="absolute right-1/2 translate-x-1/2 mt-6">
<QRCode
:width="120"
:height="120"
data="https://pypi.org/project/django-tasks/"
:dotsOptions="{ color: 'white' }"
/>
</div>
---
layout: center
@ -484,3 +505,14 @@ layout: section
---
layout: end
---
END
<div class="absolute right-1/2 bottom-4 translate-x-1/2">
<QRCode
:width="110"
:height="110"
data="https://0rng.one/dceu24"
:dotsOptions="{ color: 'white' }"
/>
</div>