From 277ff78fa74be86de86fdfa66af7f4ae2fb17980 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 30 Nov 2025 03:10:01 +0900 Subject: feat(slides): Update style of slide controller buttons --- services/nuldoc/nuldoc-src/pages/SlidePage.ts | 37 ++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) (limited to 'services/nuldoc/nuldoc-src/pages') diff --git a/services/nuldoc/nuldoc-src/pages/SlidePage.ts b/services/nuldoc/nuldoc-src/pages/SlidePage.ts index 48e8037..40a1c2f 100644 --- a/services/nuldoc/nuldoc-src/pages/SlidePage.ts +++ b/services/nuldoc/nuldoc-src/pages/SlidePage.ts @@ -84,9 +84,40 @@ export default async function SlidePage( ), elem("canvas", { id: "slide", "data-slide-link": slide.slideLink }), div( - {}, - button({ id: "prev", type: "button" }, "Prev"), - button({ id: "next", type: "button" }, "Next"), + { class: "controllers" }, + div( + { class: "controllers-buttons" }, + button( + { id: "prev", type: "button" }, + elem( + "svg", + { + width: "20", + height: "20", + viewBox: "0 0 24 24", + fill: "none", + stroke: "currentColor", + "stroke-width": "2", + }, + elem("path", { d: "M15 18l-6-6 6-6" }), + ), + ), + button( + { id: "next", type: "button" }, + elem( + "svg", + { + width: "20", + height: "20", + viewBox: "0 0 24 24", + fill: "none", + stroke: "currentColor", + "stroke-width": "2", + }, + elem("path", { d: "M9 18l6-6-6-6" }), + ), + ), + ), ), await StaticScript({ site: "slides", -- cgit v1.2.3-70-g09d2