From e79688783ee8f11417ba3caf746e716d04655563 Mon Sep 17 00:00:00 2001 From: miteruzo Date: Sat, 23 Aug 2025 18:01:23 +0900 Subject: [PATCH] #49 --- frontend/src/App.tsx | 34 +++---- frontend/src/components/ErrorScreen.tsx | 4 +- frontend/src/components/MenuSeparator.tsx | 2 +- frontend/src/components/NicoViewer.tsx | 2 +- frontend/src/components/PostEditForm.tsx | 4 +- frontend/src/components/TagDetailSidebar.tsx | 4 +- frontend/src/components/TagSearch.tsx | 4 +- frontend/src/components/TagSidebar.tsx | 4 +- frontend/src/components/TopNav.tsx | 10 +- frontend/src/components/TopNavUser.tsx | 2 +- frontend/src/components/common/Label.tsx | 2 +- frontend/src/components/common/TextArea.tsx | 2 +- .../src/components/users/InheritDialogue.tsx | 2 +- frontend/src/main.tsx | 2 +- frontend/src/pages/Forbidden.tsx | 2 +- frontend/src/pages/NotFound.tsx | 2 +- frontend/src/pages/ServiceUnavailable.tsx | 2 +- frontend/src/pages/posts/PostDetailPage.tsx | 16 +-- frontend/src/pages/posts/PostListPage.tsx | 6 +- frontend/src/pages/posts/PostNewPage.tsx | 12 +-- frontend/src/pages/tags/NicoTagListPage.tsx | 6 +- frontend/src/pages/users/SettingPage.tsx | 8 +- frontend/src/pages/wiki/WikiDetailPage.tsx | 8 +- frontend/src/pages/wiki/WikiDiffPage.tsx | 2 +- frontend/src/pages/wiki/WikiEditPage.tsx | 6 +- frontend/src/pages/wiki/WikiHistoryPage.tsx | 98 +++++++++---------- frontend/src/pages/wiki/WikiNewPage.tsx | 6 +- frontend/src/router.tsx | 5 - 28 files changed, 126 insertions(+), 131 deletions(-) delete mode 100644 frontend/src/router.tsx diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index d54981b..c402103 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -65,30 +65,30 @@ export default () => { switch (status) { case 503: - return + return } return (
- + - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> + }/> + }/> + }/> + }/> + }/> + }/> + }/> + }/> + }/> + }/> + }/> + }/> + }/> + }/>
- +
) } diff --git a/frontend/src/components/ErrorScreen.tsx b/frontend/src/components/ErrorScreen.tsx index 651a81b..1398645 100644 --- a/frontend/src/components/ErrorScreen.tsx +++ b/frontend/src/components/ErrorScreen.tsx @@ -39,7 +39,7 @@ export default ({ status }: Props) => { return ( - + {title} | {SITE_TITLE}

{leftMsg}

- 逃げたギター + 逃げたギター

{rightMsg}

{message}

diff --git a/frontend/src/components/MenuSeparator.tsx b/frontend/src/components/MenuSeparator.tsx index 43b94a7..a482ae3 100644 --- a/frontend/src/components/MenuSeparator.tsx +++ b/frontend/src/components/MenuSeparator.tsx @@ -2,5 +2,5 @@ export default () => ( <> |
+ border-t border-black dark:border-white"/> ) diff --git a/frontend/src/components/NicoViewer.tsx b/frontend/src/components/NicoViewer.tsx index 71314f5..784ded5 100644 --- a/frontend/src/components/NicoViewer.tsx +++ b/frontend/src/components/NicoViewer.tsx @@ -107,5 +107,5 @@ export default (props: Props) => { height={height} style={margedStyle} allowFullScreen - allow="autoplay" />) + allow="autoplay"/>) } diff --git a/frontend/src/components/PostEditForm.tsx b/frontend/src/components/PostEditForm.tsx index b9a7adb..50d474a 100644 --- a/frontend/src/components/PostEditForm.tsx +++ b/frontend/src/components/PostEditForm.tsx @@ -39,14 +39,14 @@ export default ({ post, onSave }: Props) => { setTitle (e.target.value)} /> + onChange={e => setTitle (e.target.value)}/> {/* タグ */}