Skip to content

Commit 56d6799

Browse files
committed
Add QR codes
1 parent cb90eaa commit 56d6799

File tree

8 files changed

+858
-44
lines changed

8 files changed

+858
-44
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "quasar",
3-
"version": "5.2.15",
3+
"version": "5.2.17",
44
"description": "Browser Wallet for Stellaris and Stellaris based chains",
55
"license": "MIT",
66
"repository": {
@@ -37,6 +37,7 @@
3737
"@material-tailwind/react": "^2.0.0",
3838
"@noble/curves": "^1.9.4",
3939
"@scure/bip32": "^1.7.0",
40+
"@zxing/library": "^0.21.3",
4041
"apexcharts": "^3.41.0",
4142
"base-64": "^1.0.0",
4243
"base64-js": "^1.5.1",
@@ -54,9 +55,11 @@
5455
"next": "^14.2.3",
5556
"otplib": "^12.0.1",
5657
"proper-lockfile": "^4.1.2",
58+
"qrcode-generator": "^2.0.4",
5759
"react": "^18.2.0",
5860
"react-apexcharts": "^1.4.0",
5961
"react-dom": "^18.2.0",
62+
"react-qr-reader": "3.0.0-beta-1",
6063
"react-router-dom": "^6.4.3",
6164
"tiny-secp256k1": "^2.2.4",
6265
"winston": "^3.17.0"

pnpm-lock.yaml

Lines changed: 80 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/Icons.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,11 @@ export const LockClosedIcon = () => (
137137
<circle cx="12" cy="16" r="1" />
138138
<path d="M7 11V7a5 5 0 0 1 10 0v4" />
139139
</svg>
140+
);
141+
142+
export const CameraIcon = ({ className }: { className?: string }) => (
143+
<svg className={className || "w-4 h-4"} fill="none" stroke="currentColor" viewBox="0 0 24 24">
144+
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M3 9a2 2 0 012-2h.93a2 2 0 001.664-.89l.812-1.22A2 2 0 0110.07 4h3.86a2 2 0 011.664.89l.812 1.22A2 2 0 0018.07 7H19a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2V9z" />
145+
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M15 13a3 3 0 11-6 0 3 3 0 016 0z" />
146+
</svg>
140147
);

0 commit comments

Comments
 (0)