aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/nuldoc/nuldoc-src/pages
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-11-30 03:10:01 +0900
committernsfisis <nsfisis@gmail.com>2025-11-30 03:10:01 +0900
commit277ff78fa74be86de86fdfa66af7f4ae2fb17980 (patch)
treebc4a24da8eb24149460f950ef73eefa9653d704a /services/nuldoc/nuldoc-src/pages
parent1730a81a6560c2baa75791d6edba2e2a1d997d4e (diff)
downloadnsfisis.dev-277ff78fa74be86de86fdfa66af7f4ae2fb17980.tar.gz
nsfisis.dev-277ff78fa74be86de86fdfa66af7f4ae2fb17980.tar.zst
nsfisis.dev-277ff78fa74be86de86fdfa66af7f4ae2fb17980.zip
feat(slides): Update style of slide controller buttons
Diffstat (limited to 'services/nuldoc/nuldoc-src/pages')
-rw-r--r--services/nuldoc/nuldoc-src/pages/SlidePage.ts37
1 files changed, 34 insertions, 3 deletions
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",