From 1387d91ac59d805649d62732e795733b722fd067 Mon Sep 17 00:00:00 2001 From: gahusb Date: Sun, 24 May 2026 00:43:48 +0900 Subject: [PATCH] =?UTF-8?q?feat(tarot):=20=EB=9E=9C=EB=94=A9=20=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20Tarot.jsx=20(T13)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 (1M context) --- src/pages/tarot/Tarot.jsx | 68 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 src/pages/tarot/Tarot.jsx diff --git a/src/pages/tarot/Tarot.jsx b/src/pages/tarot/Tarot.jsx new file mode 100644 index 0000000..1d3d727 --- /dev/null +++ b/src/pages/tarot/Tarot.jsx @@ -0,0 +1,68 @@ +import React, { useRef, useEffect } from 'react'; +import { Link } from 'react-router-dom'; +import './Tarot.css'; + +export default function Tarot() { + const videoRef = useRef(null); + useEffect(() => { + const reduced = window.matchMedia('(prefers-reduced-motion: reduce)').matches; + const saveData = navigator.connection?.saveData; + if ((reduced || saveData) && videoRef.current) { + videoRef.current.pause(); + videoRef.current.style.display = 'none'; + } + }, []); + + return ( +
+