forked from slides/empowering-django-with-background-workers
Use images for QR codes
These actually work
This commit is contained in:
parent
4f4df8abe5
commit
5bc51d9a3b
5 changed files with 4 additions and 47 deletions
25
package-lock.json
generated
25
package-lock.json
generated
|
@ -11,7 +11,6 @@
|
|||
"@slidev/cli": "^0.48.8",
|
||||
"@slidev/theme-default": "latest",
|
||||
"playwright-chromium": "^1.44.0",
|
||||
"slidev-addon-qrcode": "^1.0.2",
|
||||
"vue": "^3.4.21"
|
||||
}
|
||||
},
|
||||
|
@ -6825,19 +6824,6 @@
|
|||
"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",
|
||||
|
@ -7216,17 +7202,6 @@
|
|||
"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",
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
"@slidev/cli": "^0.48.8",
|
||||
"@slidev/theme-default": "latest",
|
||||
"playwright-chromium": "^1.44.0",
|
||||
"slidev-addon-qrcode": "^1.0.2",
|
||||
"vue": "^3.4.21"
|
||||
}
|
||||
}
|
||||
|
|
BIN
public/dceu24-qrcode.png
Normal file
BIN
public/dceu24-qrcode.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
BIN
public/django-tasks-qrcode.png
Normal file
BIN
public/django-tasks-qrcode.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
25
slides.md
25
slides.md
|
@ -7,8 +7,6 @@ mdc: true
|
|||
monaco: false
|
||||
themeConfig:
|
||||
primary: '#0c4b33'
|
||||
addons:
|
||||
- "slidev-addon-qrcode"
|
||||
---
|
||||
|
||||
# Empowering Django with Background Workers
|
||||
|
@ -28,12 +26,7 @@ addons:
|
|||
</ul>
|
||||
|
||||
<div class="absolute right-0 bottom-4">
|
||||
<QRCode
|
||||
:width="110"
|
||||
:height="110"
|
||||
data="https://0rng.one/dceu24"
|
||||
:dotsOptions="{ color: 'white' }"
|
||||
/>
|
||||
<img src="/dceu24-qrcode.png" width="110px" />
|
||||
</div>
|
||||
|
||||
---
|
||||
|
@ -378,13 +371,8 @@ layout: fact
|
|||
|
||||
# `django.tasks`
|
||||
|
||||
<div class="absolute right-1/2 translate-x-1/2 mt-12">
|
||||
<QRCode
|
||||
:width="120"
|
||||
:height="120"
|
||||
data="https://pypi.org/project/django-tasks/"
|
||||
:dotsOptions="{ color: 'white' }"
|
||||
/>
|
||||
<div class="absolute right-1/2 translate-x-1/2 mt-6">
|
||||
<img src="/django-tasks-qrcode.png" width="110px" />
|
||||
</div>
|
||||
|
||||
---
|
||||
|
@ -649,10 +637,5 @@ 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' }"
|
||||
/>
|
||||
<img src="/dceu24-qrcode.png" width="110px" />
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue