Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: certificate ui & add completedAt field #613

Closed
wants to merge 1 commit into from

Conversation

Gautam-Hegde
Copy link
Contributor

Context: Since we are generating certificate of type PDF ( using pdf-lib ) & PNG ( using HTMLCanvas api ) both have few standard fonts exposed for use. Either we can have a cursive font on PNG certificate but not on PDF which is inconsistent.

So in this PR I've used an overlapping web-safe font exposed by both of them i.e. Courier

Using a external font locally is causing loader(webpack config) issues.

  • This PR also adds completedAt field of type Date in the schema and lastly used legit signature on the cert(photoshop) ;)

Resolves #596

Screenshot (395)

Checklist before requesting a review

  • I have performed a self-review of my code
  • I assure there is no similar/duplicate pull request regarding same issue

@Gautam-Hegde
Copy link
Contributor Author

Awaiting a feedback.
@hkirat

@siinghd siinghd closed this Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: revert to this type of cert
2 participants