Closed akash19coder closed 3 months ago
@eddiejaoude a gentle reminder for review. please take a glance when you have time.
Thank you 👍
Thank you so much though BioDrop will be archived very soon. Contributing to Biodrop taught me many things - creating PRs, raising issues, reviewing code, and most importantly collaboration 1st, code 2nd.
I will keep contributing to open-source projects...
Yes unfortunately it will be archived in 2 days.
Thank you for your contributions
We will have more EddieHub projects soon
Fixes Issue
Closes #9115
Changes proposed
Created a component called QRcodeWallpaper.js. We are using inline-style in the component instead of Tailwind CSS because the tailwind style to place the QR code and Biodrop logo at appropriate position(please refer screenshot attached in the screenshot section) was not reflecting in the corresponding image.
The newly created component will be transformed into HTML String with the following function. The renderToString() function used below is coming from
import { renderToString } from "react-dom/server";
The HTML String is then converted into image using a library called
html-to-image
library on a button click that is added intoUserProfile.js
. On button click following function is executedCheck List (Check all the applicable boxes)
Screenshots
Note to reviewers
downloadWallpaper
function I been getting ADMIN_USER_NOT_FOUND error hence I have place console for the time being.