mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-01 08:34:53 +02:00
Added QR code to wireguard config for easy scanning on mobile phones
This commit is contained in:
parent
31bd42f964
commit
6aeddde1cd
2 changed files with 29 additions and 2 deletions
17
src/components/QRContainer.tsx
Normal file
17
src/components/QRContainer.tsx
Normal file
|
@ -0,0 +1,17 @@
|
|||
"use client";
|
||||
|
||||
export default function QRContainer({
|
||||
children = <div/>,
|
||||
outline = true
|
||||
}) {
|
||||
|
||||
return (
|
||||
<div
|
||||
className={`relative w-fit border-2 rounded-md`}
|
||||
>
|
||||
<div className="bg-white p-6 rounded-md">
|
||||
{children}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue