diff --git a/qwilight-fe/.env.development b/qwilight-fe/.env.development deleted file mode 100644 index 6ee3e91..0000000 --- a/qwilight-fe/.env.development +++ /dev/null @@ -1,2 +0,0 @@ -API=http://taehui.ddns.net -NEXT_PUBLIC_WS_API=wss://taehui.ddns.net diff --git a/qwilight-fe/next.config.mjs b/qwilight-fe/next.config.mjs index c8675b1..1642469 100644 --- a/qwilight-fe/next.config.mjs +++ b/qwilight-fe/next.config.mjs @@ -13,6 +13,12 @@ return [ { source: "/", + destination: "/qwilight", + basePath: false, + permanent: true + }, + { + source: "/", destination: "/note", permanent: true }, diff --git "a/qwilight-fe/src/app/\133language\135/note/components/NoteItem.tsx" "b/qwilight-fe/src/app/\133language\135/note/components/NoteItem.tsx" index 6083e9a..fd87953 100644 --- "a/qwilight-fe/src/app/\133language\135/note/components/NoteItem.tsx" +++ "b/qwilight-fe/src/app/\133language\135/note/components/NoteItem.tsx" @@ -51,25 +51,25 @@ const isLoading = !noteID; return ( - { - setCommentOpened((prevState) => !prevState); - } - } - onContextMenu={ - isLoading - ? undefined - : (event) => { - event.preventDefault(); - viewToilInput({ event, props: { noteID } }); - } - } - > - + + { + setCommentOpened((prevState) => !prevState); + } + } + onContextMenu={ + isLoading + ? undefined + : (event) => { + event.preventDefault(); + viewToilInput({ event, props: { noteID } }); + } + } + > {typeof handled === "number" && ( diff --git a/qwilight-fe/src/components/QwilightView.tsx b/qwilight-fe/src/components/QwilightView.tsx index 465790b..d6f601b 100644 --- a/qwilight-fe/src/components/QwilightView.tsx +++ b/qwilight-fe/src/components/QwilightView.tsx @@ -44,6 +44,7 @@ width={48} height={48} src="/qwilight/favicon.ico" + priority /> diff --git a/taehui-fe/.gitignore b/taehui-fe/.gitignore index 1c3f9b4..2825260 100644 --- a/taehui-fe/.gitignore +++ b/taehui-fe/.gitignore @@ -37,6 +37,3 @@ next-env.d.ts /.turbo -/DB -/Event -/System diff --git a/taehui-fe/next.config.mjs b/taehui-fe/next.config.mjs index 4648c33..a8c6d25 100644 --- a/taehui-fe/next.config.mjs +++ b/taehui-fe/next.config.mjs @@ -1,3 +1,3 @@ import createNextIntlPlugin from 'next-intl/plugin'; -export default createNextIntlPlugin()(); +export default createNextIntlPlugin()({}); diff --git a/taehui-fe/src/components/AvatarTitle.tsx b/taehui-fe/src/components/AvatarTitle.tsx index 399c459..8b73349 100644 --- a/taehui-fe/src/components/AvatarTitle.tsx +++ b/taehui-fe/src/components/AvatarTitle.tsx @@ -1,4 +1,5 @@ import { wwwAPIPath } from "@/utilities/wwwAPI"; +import dayjs from "dayjs"; import Image from "next/image"; import { ReactNode } from "react"; import { Col } from "reactstrap"; @@ -23,7 +24,7 @@ > { diff --git a/taehui-fe/src/components/TaehuiView.tsx b/taehui-fe/src/components/TaehuiView.tsx index 9de83a3..7716fd8 100644 --- a/taehui-fe/src/components/TaehuiView.tsx +++ b/taehui-fe/src/components/TaehuiView.tsx @@ -48,7 +48,13 @@
- +