From e84661683242b3cb66a636d0da2538e559723cbd Mon Sep 17 00:00:00 2001 From: goddonebianu Date: Tue, 30 Sep 2025 08:57:07 +0800 Subject: [PATCH] 9/30/2025 --- src/app/srt-player/components/AppCard.tsx | 2 +- .../components/VideoPlayer/VideoPanel.tsx | 16 +++++------- src/app/word-board/page.tsx | 26 ++++++++++--------- src/components/Button.tsx | 2 +- src/constants.ts | 4 +-- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/app/srt-player/components/AppCard.tsx b/src/app/srt-player/components/AppCard.tsx index 5e58f72..341ae0b 100644 --- a/src/app/srt-player/components/AppCard.tsx +++ b/src/app/srt-player/components/AppCard.tsx @@ -11,7 +11,7 @@ export default function AppCard() { const [srtUrl, setSrtUrl] = useState(null); return ( -
+

SRT Video Player

(( return (
- + -
-
    - - - - - -
+
+ + + + +
{spanText} diff --git a/src/app/word-board/page.tsx b/src/app/word-board/page.tsx index 2d89fe1..76789c4 100644 --- a/src/app/word-board/page.tsx +++ b/src/app/word-board/page.tsx @@ -139,19 +139,21 @@ export default function Home() { // inputRef.current.value = ''; // } return ( -
- -
- - - - - - - - {/* */} +
+
+ +
+ + + + + + + + {/* */} +
+
-
); } diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 74f88fb..6939b6b 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -1,6 +1,6 @@ export default function Button({ label, onClick }: { label: string, onClick?: () => void }) { return ( - ); diff --git a/src/constants.ts b/src/constants.ts index a01d175..dcd9811 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,4 +1,4 @@ -export const BOARD_WIDTH = 1000; -export const BOARD_HEIGHT = 600; +export const BOARD_WIDTH = 800; +export const BOARD_HEIGHT = 500; export const TEXT_SIZE = 30; export const TEXT_WIDTH = TEXT_SIZE * 0.6; \ No newline at end of file