diff options
26 files changed, 56 insertions, 49 deletions
diff --git a/vhosts/blog/nuldoc-src/jsx/types.d.ts b/vhosts/blog/nuldoc-src/jsx/types.d.ts index e47d7ffe..cbf68a4c 100644 --- a/vhosts/blog/nuldoc-src/jsx/types.d.ts +++ b/vhosts/blog/nuldoc-src/jsx/types.d.ts @@ -10,6 +10,8 @@ interface IntrinsicElementType { children?: JSXNode; className?: string; id?: string; + // My JSX runtime does not use key. It is only for linter that complains about missing key. + key?: string; } declare global { @@ -39,7 +41,7 @@ declare global { }; article: IntrinsicElementType; body: IntrinsicElementType; - button: IntrinsicElementType; + button: IntrinsicElementType & { type: string }; canvas: { id?: string; "data-slide-link"?: string }; div: IntrinsicElementType; footer: IntrinsicElementType; @@ -72,5 +74,10 @@ declare global { interface ElementChildrenAttribute { children: unknown; } + + type LibraryManagedAttributes<_F, P> = P & { + // My JSX runtime does not use key. It is only for linter that complains about missing key. + key?: string; + }; } } diff --git a/vhosts/blog/nuldoc-src/pages/PostListPage.tsx b/vhosts/blog/nuldoc-src/pages/PostListPage.tsx index 3fcfbf1f..c1c5214c 100644 --- a/vhosts/blog/nuldoc-src/pages/PostListPage.tsx +++ b/vhosts/blog/nuldoc-src/pages/PostListPage.tsx @@ -32,7 +32,7 @@ export default function PostListPage( if (ta > tb) return -1; if (ta < tb) return 1; return 0; - }).map((post) => <PostPageEntry post={post} />)} + }).map((post) => <PostPageEntry post={post} key={post.uuid} />)} </main> <GlobalFooter config={config} /> </body> diff --git a/vhosts/blog/nuldoc-src/pages/SlideListPage.tsx b/vhosts/blog/nuldoc-src/pages/SlideListPage.tsx index 44d6afff..3d87d492 100644 --- a/vhosts/blog/nuldoc-src/pages/SlideListPage.tsx +++ b/vhosts/blog/nuldoc-src/pages/SlideListPage.tsx @@ -33,7 +33,7 @@ export default function SlideListPage( if (ta > tb) return -1; if (ta < tb) return 1; return 0; - }).map((slide) => <SlidePageEntry slide={slide} />)} + }).map((slide) => <SlidePageEntry slide={slide} key={slide.uuid} />)} </main> <GlobalFooter config={config} /> </body> diff --git a/vhosts/blog/nuldoc-src/pages/SlidePage.tsx b/vhosts/blog/nuldoc-src/pages/SlidePage.tsx index 6d167036..60292e58 100644 --- a/vhosts/blog/nuldoc-src/pages/SlidePage.tsx +++ b/vhosts/blog/nuldoc-src/pages/SlidePage.tsx @@ -52,8 +52,8 @@ export default function SlidePage( </section> <canvas id="slide" data-slide-link={slide.slideLink} /> <div> - <button id="prev">Prev</button> - <button id="next">Next</button> + <button id="prev" type="button">Prev</button> + <button id="next" type="button">Next</button> </div> <StaticScript fileName="/slide.js" diff --git a/vhosts/blog/nuldoc-src/pages/TagPage.tsx b/vhosts/blog/nuldoc-src/pages/TagPage.tsx index 568dfaa6..02c484af 100644 --- a/vhosts/blog/nuldoc-src/pages/TagPage.tsx +++ b/vhosts/blog/nuldoc-src/pages/TagPage.tsx @@ -32,8 +32,8 @@ export default function TagPage( </header> {pages.map((page) => "event" in page - ? <SlidePageEntry slide={page} /> - : <PostPageEntry post={page} /> + ? <SlidePageEntry slide={page} key={page.uuid} /> + : <PostPageEntry post={page} key={page.uuid} /> )} </main> <GlobalFooter config={config} /> diff --git a/vhosts/blog/public/slides/2023-01-18/phpstudy-tokyo-148/index.html b/vhosts/blog/public/slides/2023-01-18/phpstudy-tokyo-148/index.html index 26803129..98c41adc 100644 --- a/vhosts/blog/public/slides/2023-01-18/phpstudy-tokyo-148/index.html +++ b/vhosts/blog/public/slides/2023-01-18/phpstudy-tokyo-148/index.html @@ -64,10 +64,10 @@ <canvas data-slide-link="/slides/2023-01-18/phpstudy-tokyo-148/slide.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2023-02-15/phpstudy-tokyo-149/index.html b/vhosts/blog/public/slides/2023-02-15/phpstudy-tokyo-149/index.html index 127d3d0e..39ec8df1 100644 --- a/vhosts/blog/public/slides/2023-02-15/phpstudy-tokyo-149/index.html +++ b/vhosts/blog/public/slides/2023-02-15/phpstudy-tokyo-149/index.html @@ -64,10 +64,10 @@ <canvas data-slide-link="/slides/2023-02-15/phpstudy-tokyo-149/slide.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2023-03-15/phpstudy-tokyo-150/index.html b/vhosts/blog/public/slides/2023-03-15/phpstudy-tokyo-150/index.html index 0d7845ad..1e8d34c5 100644 --- a/vhosts/blog/public/slides/2023-03-15/phpstudy-tokyo-150/index.html +++ b/vhosts/blog/public/slides/2023-03-15/phpstudy-tokyo-150/index.html @@ -67,10 +67,10 @@ <canvas data-slide-link="/slides/2023-03-15/phpstudy-tokyo-150/slide.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2023-03-24/phperkaigi-2023/index.html b/vhosts/blog/public/slides/2023-03-24/phperkaigi-2023/index.html index 201b3e89..c1d57749 100644 --- a/vhosts/blog/public/slides/2023-03-24/phperkaigi-2023/index.html +++ b/vhosts/blog/public/slides/2023-03-24/phperkaigi-2023/index.html @@ -67,10 +67,10 @@ <canvas data-slide-link="/slides/2023-03-24/phperkaigi-2023/slide.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2023-03-25/phperkaigi-2023-tokens/index.html b/vhosts/blog/public/slides/2023-03-25/phperkaigi-2023-tokens/index.html index 6c48598a..017ee5c0 100644 --- a/vhosts/blog/public/slides/2023-03-25/phperkaigi-2023-tokens/index.html +++ b/vhosts/blog/public/slides/2023-03-25/phperkaigi-2023-tokens/index.html @@ -67,10 +67,10 @@ <canvas data-slide-link="/slides/2023-03-25/phperkaigi-2023-tokens/slide.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2023-04-12/phpstudy-tokyo-151/index.html b/vhosts/blog/public/slides/2023-04-12/phpstudy-tokyo-151/index.html index 8ab7bbbd..5dde3a9a 100644 --- a/vhosts/blog/public/slides/2023-04-12/phpstudy-tokyo-151/index.html +++ b/vhosts/blog/public/slides/2023-04-12/phpstudy-tokyo-151/index.html @@ -64,10 +64,10 @@ <canvas data-slide-link="/slides/2023-04-12/phpstudy-tokyo-151/slide.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2023-06-21/phpstudy-tokyo-153/index.html b/vhosts/blog/public/slides/2023-06-21/phpstudy-tokyo-153/index.html index d6cf169b..47be5af5 100644 --- a/vhosts/blog/public/slides/2023-06-21/phpstudy-tokyo-153/index.html +++ b/vhosts/blog/public/slides/2023-06-21/phpstudy-tokyo-153/index.html @@ -64,10 +64,10 @@ <canvas data-slide-link="/slides/2023-06-21/phpstudy-tokyo-153/slide.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2023-06-23/phpconfuk-2023-eve/index.html b/vhosts/blog/public/slides/2023-06-23/phpconfuk-2023-eve/index.html index e647b72c..33d5c800 100644 --- a/vhosts/blog/public/slides/2023-06-23/phpconfuk-2023-eve/index.html +++ b/vhosts/blog/public/slides/2023-06-23/phpconfuk-2023-eve/index.html @@ -64,10 +64,10 @@ <canvas data-slide-link="/slides/2023-06-23/phpconfuk-2023-eve/slide.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2023-07-26/phpstudy-tokyo-154/index.html b/vhosts/blog/public/slides/2023-07-26/phpstudy-tokyo-154/index.html index d2f246c1..4eb42c73 100644 --- a/vhosts/blog/public/slides/2023-07-26/phpstudy-tokyo-154/index.html +++ b/vhosts/blog/public/slides/2023-07-26/phpstudy-tokyo-154/index.html @@ -64,10 +64,10 @@ <canvas data-slide-link="/slides/2023-07-26/phpstudy-tokyo-154/slide.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2023-08-24/phpstudy-tokyo-155/index.html b/vhosts/blog/public/slides/2023-08-24/phpstudy-tokyo-155/index.html index 8c3ad8d5..62b8e8ed 100644 --- a/vhosts/blog/public/slides/2023-08-24/phpstudy-tokyo-155/index.html +++ b/vhosts/blog/public/slides/2023-08-24/phpstudy-tokyo-155/index.html @@ -64,10 +64,10 @@ <canvas data-slide-link="/slides/2023-08-24/phpstudy-tokyo-155/slide.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2023-10-25/phpstudy-tokyo-157/index.html b/vhosts/blog/public/slides/2023-10-25/phpstudy-tokyo-157/index.html index 8b9ec83f..a0144716 100644 --- a/vhosts/blog/public/slides/2023-10-25/phpstudy-tokyo-157/index.html +++ b/vhosts/blog/public/slides/2023-10-25/phpstudy-tokyo-157/index.html @@ -64,10 +64,10 @@ <canvas data-slide-link="/slides/2023-10-25/phpstudy-tokyo-157/slide.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2024-01-24/phpstudy-tokyo-160/index.html b/vhosts/blog/public/slides/2024-01-24/phpstudy-tokyo-160/index.html index ccc35825..59d478f1 100644 --- a/vhosts/blog/public/slides/2024-01-24/phpstudy-tokyo-160/index.html +++ b/vhosts/blog/public/slides/2024-01-24/phpstudy-tokyo-160/index.html @@ -64,10 +64,10 @@ <canvas data-slide-link="/slides/2024-01-24/phpstudy-tokyo-160/slide.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2024-03-08/phperkaigi-2024/index.html b/vhosts/blog/public/slides/2024-03-08/phperkaigi-2024/index.html index 155beed7..af067bc4 100644 --- a/vhosts/blog/public/slides/2024-03-08/phperkaigi-2024/index.html +++ b/vhosts/blog/public/slides/2024-03-08/phperkaigi-2024/index.html @@ -70,10 +70,10 @@ <canvas data-slide-link="/slides/2024-03-08/phperkaigi-2024/slide.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2024-03-15/ya8-2024/index.html b/vhosts/blog/public/slides/2024-03-15/ya8-2024/index.html index c61e9d5f..9823d837 100644 --- a/vhosts/blog/public/slides/2024-03-15/ya8-2024/index.html +++ b/vhosts/blog/public/slides/2024-03-15/ya8-2024/index.html @@ -67,10 +67,10 @@ <canvas data-slide-link="/slides/2024-03-15/ya8-2024/slide.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2024-04-13/phpcon-odawara-2024/index.html b/vhosts/blog/public/slides/2024-04-13/phpcon-odawara-2024/index.html index 35179e9d..0c444c0f 100644 --- a/vhosts/blog/public/slides/2024-04-13/phpcon-odawara-2024/index.html +++ b/vhosts/blog/public/slides/2024-04-13/phpcon-odawara-2024/index.html @@ -67,10 +67,10 @@ <canvas data-slide-link="/slides/2024-04-13/phpcon-odawara-2024/slide.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2024-04-25/phpstudy-tokyo-163/index.html b/vhosts/blog/public/slides/2024-04-25/phpstudy-tokyo-163/index.html index 101c7066..716444f8 100644 --- a/vhosts/blog/public/slides/2024-04-25/phpstudy-tokyo-163/index.html +++ b/vhosts/blog/public/slides/2024-04-25/phpstudy-tokyo-163/index.html @@ -64,10 +64,10 @@ <canvas data-slide-link="/slides/2024-04-25/phpstudy-tokyo-163/slide.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2024-07-18/phpstudy-tokyo-166/index.html b/vhosts/blog/public/slides/2024-07-18/phpstudy-tokyo-166/index.html index f0daa4ed..3dd8c652 100644 --- a/vhosts/blog/public/slides/2024-07-18/phpstudy-tokyo-166/index.html +++ b/vhosts/blog/public/slides/2024-07-18/phpstudy-tokyo-166/index.html @@ -64,10 +64,10 @@ <canvas data-slide-link="/slides/2024-07-18/phpstudy-tokyo-166/slide.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2024-10-30/phpstudy-tokyo-169/index.html b/vhosts/blog/public/slides/2024-10-30/phpstudy-tokyo-169/index.html index f390c817..8784ab0d 100644 --- a/vhosts/blog/public/slides/2024-10-30/phpstudy-tokyo-169/index.html +++ b/vhosts/blog/public/slides/2024-10-30/phpstudy-tokyo-169/index.html @@ -64,10 +64,10 @@ <canvas data-slide-link="/slides/2024-10-30/phpstudy-tokyo-169/slide.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2024-11-30/cohackpp/index.html b/vhosts/blog/public/slides/2024-11-30/cohackpp/index.html index e80ffe52..46fda600 100644 --- a/vhosts/blog/public/slides/2024-11-30/cohackpp/index.html +++ b/vhosts/blog/public/slides/2024-11-30/cohackpp/index.html @@ -64,10 +64,10 @@ <canvas data-slide-link="/slides/2024-11-30/cohackpp/slides.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2025-02-22/phpcon-nagoya-2025/index.html b/vhosts/blog/public/slides/2025-02-22/phpcon-nagoya-2025/index.html index 00ff0fd6..323cf7b8 100644 --- a/vhosts/blog/public/slides/2025-02-22/phpcon-nagoya-2025/index.html +++ b/vhosts/blog/public/slides/2025-02-22/phpcon-nagoya-2025/index.html @@ -67,10 +67,10 @@ <canvas data-slide-link="/slides/2025-02-22/phpcon-nagoya-2025/slides.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> diff --git a/vhosts/blog/public/slides/2025-03-23/phperkaigi-2025/index.html b/vhosts/blog/public/slides/2025-03-23/phperkaigi-2025/index.html index f5cb5388..95c4e4de 100644 --- a/vhosts/blog/public/slides/2025-03-23/phperkaigi-2025/index.html +++ b/vhosts/blog/public/slides/2025-03-23/phperkaigi-2025/index.html @@ -67,10 +67,10 @@ <canvas data-slide-link="/slides/2025-03-23/phperkaigi-2025/slides.pdf" id="slide"> </canvas> <div> - <button id="prev"> + <button id="prev" type="button"> Prev </button> - <button id="next"> + <button id="next" type="button"> Next </button> </div> |
