15 lines
370 B
TypeScript
15 lines
370 B
TypeScript
import { DATA } from "@/app/resume";
|
|
import { QRCode } from "@/components/ui/shadcn-io/qr-code";
|
|
|
|
const BACKGROUND_COLOR = "hsl(var(--background))";
|
|
const FOREGROUND_COLOR = "hsl(var(--foreground))";
|
|
|
|
const MyQrCode = () => (
|
|
<QRCode
|
|
background={BACKGROUND_COLOR}
|
|
foreground={FOREGROUND_COLOR}
|
|
data={DATA.url + "/connect"}
|
|
/>
|
|
);
|
|
export default MyQrCode;
|