diff --git a/public/design/no.jpg b/public/design/no.jpg new file mode 100644 index 0000000..722bada Binary files /dev/null and b/public/design/no.jpg differ diff --git a/public/design/yes.jpg b/public/design/yes.jpg new file mode 100644 index 0000000..49fde53 Binary files /dev/null and b/public/design/yes.jpg differ diff --git a/public/js/@include/CheckD.js b/public/js/@include/CheckD.js new file mode 100644 index 0000000..1118e7a --- /dev/null +++ b/public/js/@include/CheckD.js @@ -0,0 +1,12 @@ +function replaceCheckboxesWithImages() { + const checkboxes = document.querySelectorAll('input[type="checkbox"]'); + + checkboxes.forEach(checkbox => { + if (checkbox.hasAttribute('checked') && checkbox.hasAttribute('disabled')) { + checkbox.outerHTML = ''; + } else if (checkbox.hasAttribute('disabled')) { + checkbox.outerHTML = ''; + } + }); + } + replaceCheckboxesWithImages(); diff --git a/src/pages/wiki/guides/[...slug].astro b/src/pages/wiki/guides/[...slug].astro index c85a1ae..115340b 100644 --- a/src/pages/wiki/guides/[...slug].astro +++ b/src/pages/wiki/guides/[...slug].astro @@ -38,5 +38,5 @@ const { Content } = await entry.render(); - + diff --git a/src/pages/wiki/software/[...slug].astro b/src/pages/wiki/software/[...slug].astro index f274375..5524542 100644 --- a/src/pages/wiki/software/[...slug].astro +++ b/src/pages/wiki/software/[...slug].astro @@ -54,6 +54,6 @@ const slugify = (str: string) => { - + diff --git a/src/pages/wiki/vtubers/[...slug].astro b/src/pages/wiki/vtubers/[...slug].astro index 17c6a9c..3b8f57e 100644 --- a/src/pages/wiki/vtubers/[...slug].astro +++ b/src/pages/wiki/vtubers/[...slug].astro @@ -68,4 +68,5 @@ const socials = CreateSocials(data); +