We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7594446 commit 658140dCopy full SHA for 658140d
public/script.js
@@ -240,6 +240,14 @@ function drawBadge() {
240
const githubHandleY = (canvas.height) - bottomMargin - textHeight;
241
const jobTitleY = githubHandleY - textHeight - lineHeightGap;
242
243
+ // Draw Ask Me About
244
+ const askmeabout = document.getElementById('askmeabout').value;
245
+ if (askmeabout) {
246
+ ctx.font = `14px "Mona Sans"`;
247
+ const askMeText = `Ask me about: ${askmeabout}`;
248
+ ctx.fillText(askMeText, leftMargin, jobTitleY - textHeight - lineHeightGap);
249
+ }
250
+
251
// Draw the text
252
ctx.fillText(jobtitle, leftMargin, jobTitleY);
253
ctx.fillText(githubhandle, leftMargin, githubHandleY);
0 commit comments