Download src/utils/constants.js from fohake/cert: direct link, hf CLI and curl.
- Browser
- Download file 532 Bytes
-
https://huggingface.co/fohake/cert/resolve/bfdfbb84d48fc9791cb2da254b96bac367fd76a6/src/utils/constants.js
- Command line
-
hf download hf://fohake/cert@bfdfbb84d48fc9791cb2da254b96bac367fd76a6/src/utils/constants.js
-
curl -L -o constants.js https://huggingface.co/fohake/cert/resolve/bfdfbb84d48fc9791cb2da254b96bac367fd76a6/src/utils/constants.js
532 Bytes
| // Certificate template URL | |
| export const CERTIFICATE_TEMPLATE_URL = 'https://sanaatan.io/cert.png'; | |
| // Text positioning constants for the certificate | |
| export const TEXT_POSITIONS = { | |
| name: { | |
| top: '450px', // Adjusted to align with the blank line | |
| left: '50%', | |
| transform: 'translateX(-50%)', | |
| fontSize: '42px', | |
| fontWeight: '600' | |
| }, | |
| date: { | |
| top: '650px', // Adjusted for position above signatures | |
| left: '50%', | |
| transform: 'translateX(-50%)', | |
| fontSize: '24px', | |
| fontStyle: 'normal' | |
| } | |
| }; |