diff --git a/website/blog/2024-12-01-advent-of-pbt-day-1/BlueskyComments.js b/website/blog/2024-12-01-advent-of-pbt-day-1/BlueskyComments.js index bd566d9a..863fbc9a 100644 --- a/website/blog/2024-12-01-advent-of-pbt-day-1/BlueskyComments.js +++ b/website/blog/2024-12-01-advent-of-pbt-day-1/BlueskyComments.js @@ -287,6 +287,9 @@ function load() { sortedReplies.forEach((reply) => { this.#displayComments(reply, commentsContainer, false); }); + } else { + this.shadowRoot.querySelector('.comments').innerHTML = + `

Add the first comment

`; } } diff --git a/website/blog/2024-12-02-advent-of-pbt-day-2/index.md b/website/blog/2024-12-02-advent-of-pbt-day-2/index.md index a840addf..445da8f2 100644 --- a/website/blog/2024-12-02-advent-of-pbt-day-2/index.md +++ b/website/blog/2024-12-02-advent-of-pbt-day-2/index.md @@ -5,6 +5,7 @@ tags: [advent-of-pbt, advent-of-pbt-2024] --- import {AdventPlaygroundOfTheDay,FormOfTheDay} from './AdventOfTheDay'; +import BlueskyComments from '../2024-12-01-advent-of-pbt-day-1/BlueskyComments'; Christmas is at risk! In their rush to meet tight deadlines, Santa’s elves accidentally introduced bugs into critical algorithms. If these issues aren’t discovered in time, Christmas could be delayed for everyone worldwide! @@ -36,3 +37,7 @@ Using the property-based testing features provided by fast-check, your task is t ## Your answer + +## Comments + +