fix(skills): use [DATE] placeholder in demo-movie end card

<date> inside the innerHTML string literal parses as an empty HTML
element in the browser rather than literal text if left unsubstituted.
Use the house bracket convention instead.
This commit is contained in:
Jesse Vincent
2026-07-04 17:24:34 -07:00
committed by Drew Ritter
parent d639609808
commit a7cb9d495c

View File

@@ -54,7 +54,7 @@ free.
if (q.get("mode") === "title") {
document.body.innerHTML = '<div class="title"><h1>App Name</h1><p>one-line tagline</p></div>';
} else if (q.get("mode") === "end") {
document.body.innerHTML = '<div class="title dark"><p>deployed to production · <date></p><p class="accent">App Name — org</p></div>';
document.body.innerHTML = '<div class="title dark"><p>deployed to production · [DATE]</p><p class="accent">App Name — org</p></div>';
} else {
document.body.innerHTML = '<img class="frame" src="' + q.get("img") + '"><div class="bar">' + q.get("cap") + '</div>';
}