added weekstoday

This commit is contained in:
2022-03-17 09:17:05 +00:00
parent bfa91eb346
commit 2d53141f42
3 changed files with 104 additions and 4 deletions
+4 -4
View File
@@ -47,15 +47,15 @@ const ApiResponse = async (req, res) => {
ctx.fillStyle = "#cc3333";
//ctx.textAlign = "left";
ctx.font = "80px Dancing Script";
ctx.strokeText("weeks today is", 40, 500);
ctx.fillText("weeks today is", 40, 500);
ctx.strokeText("weeks until", 40, 500);
ctx.fillText("weeks until", 40, 500);
ctx.strokeStyle = "white";
ctx.fillStyle = "#cc3333";
//ctx.textAlign = "left";
ctx.font = "80px Dancing Script";
ctx.strokeText("Christmas Day", 40, 610);
ctx.fillText("Christmas Day", 40, 610);
ctx.strokeText("Christmas !!!", 40, 610);
ctx.fillText("Christmas !!!", 40, 610);
ctx.strokeStyle = "white";
ctx.fillStyle = "white";