diff --git a/Components/Users/ProfileModal.tsx b/Components/Users/ProfileModal.tsx index b6b7309..e1c2b38 100644 --- a/Components/Users/ProfileModal.tsx +++ b/Components/Users/ProfileModal.tsx @@ -102,7 +102,7 @@ const ProfileModal = ({ await editUser(accessToken, userInput.name); } } catch (e) { - console.error(e); + throw new Error(); } finally { setIsEdit(false); setLoading(false); diff --git a/README.md b/README.md index d911d1a..a883c1d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@


- + Cat Talk @@ -1206,19 +1206,19 @@ interface ResponseData { ### 로그인, 회원가입 - + ### 유저 목록 조회, 검색, 채팅 - + ### 채팅방 검색 및 채팅 - + ### 드래그 & 드롭 - +
diff --git a/app/favicon.ico b/app/favicon.ico index 718d6fe..126d7af 100644 Binary files a/app/favicon.ico and b/app/favicon.ico differ diff --git a/app/layout.tsx b/app/layout.tsx index 870612b..1ee94e6 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -4,12 +4,14 @@ import './globals.css'; import ClientProviders from '@/Components/Provider/ClientProvider'; import Wrapper from '@/Components/Common/Wrapper'; import AsyncLoadingProvider from '@/Components/Common/AsyncLoading/AsyncLoading'; +import Head from 'next/head'; const inter = Inter({ subsets: ['latin'] }); export const metadata: Metadata = { - title: 'Create Next App', - description: 'Generated by create next app', + title: 'Chat Talk', + description: + 'Cat Talk는 반려묘를 기르고 있는 집사들을 위한 채팅 웹 서비스 입니다.', }; export default function RootLayout({ @@ -19,6 +21,18 @@ export default function RootLayout({ }) { return ( + + + + + +

diff --git a/app/page.tsx b/app/page.tsx index bae0743..e47c513 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,113 +1,3 @@ -import Image from 'next/image'; - export default function Home() { - return ( -
-
-

- Get started by editing  - app/page.tsx -

-
- - By{' '} - Vercel Logo - -
-
- -
- Next.js Logo -
- -
- -

- Docs{' '} - - -> - -

-

- Find in-depth information about Next.js features and API. -

-
- - -

- Learn{' '} - - -> - -

-

- Learn about Next.js in an interactive course with quizzes! -

-
- - -

- Templates{' '} - - -> - -

-

- Explore the Next.js 13 playground. -

-
- - -

- Deploy{' '} - - -> - -

-

- Instantly deploy your Next.js site to a shareable URL with Vercel. -

-
-
-
- ); + return <>; } diff --git a/app/style.css b/app/style.css deleted file mode 100644 index 8450afc..0000000 --- a/app/style.css +++ /dev/null @@ -1,7 +0,0 @@ -/* style.css */ -@font-face { - font-family: 'primaryFont'; - src: url('../font.ttf') format('truetype'); /* Update the path as per your directory structure */ - font-weight: normal; - font-style: normal; -} diff --git a/hooks/.gitkeep b/hooks/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/pages/api/image/post.ts b/pages/api/image/post.ts index 113e9d6..eb4d27f 100644 --- a/pages/api/image/post.ts +++ b/pages/api/image/post.ts @@ -39,7 +39,7 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => { return res.status(200).json({ data: userForm }); } catch (error) { - console.error(error); + throw new Error(); return res.status(500).json({ message: '서버 에러' }); } };