diff --git a/apps/mobile/src/app/(main)/page.tsx b/apps/mobile/src/app/(main)/page.tsx index 5cf0ecb..625da1d 100644 --- a/apps/mobile/src/app/(main)/page.tsx +++ b/apps/mobile/src/app/(main)/page.tsx @@ -16,6 +16,7 @@ import { paragraphStyle, textCenter, topDivStyle, + InputListPlaceholderStyle, } from './main.css'; const MainPage = () => { @@ -60,10 +61,28 @@ const MainPage = () => { + value={유저검색키워드} + onChange={handle유저검색키워드변경} + variant="search" + placeholder="github 아이디 검색" + className={inputStyle}> + + {filteredData?.length > 0 ? ( + filteredData.map((user) => ( + + + + )) + ) : ( +

검색 결과가 없습니다.

+ )} +
+
diff --git a/apps/mobile/src/shared/apis/board/axios.ts b/apps/mobile/src/shared/apis/board/axios.ts index bde5eb2..0247ad3 100644 --- a/apps/mobile/src/shared/apis/board/axios.ts +++ b/apps/mobile/src/shared/apis/board/axios.ts @@ -12,5 +12,5 @@ export const getGuestbook = async (): Promise => { }; export const postGuestBook = async (content: string) => { - await authClient.post(BOARD_URL.POST_GUESTBOOK, content); + await authClient.post(BOARD_URL.POST_GUESTBOOK, { content }); }; diff --git a/apps/web/src/shared/apis/board/axios.ts b/apps/web/src/shared/apis/board/axios.ts index bde5eb2..0247ad3 100644 --- a/apps/web/src/shared/apis/board/axios.ts +++ b/apps/web/src/shared/apis/board/axios.ts @@ -12,5 +12,5 @@ export const getGuestbook = async (): Promise => { }; export const postGuestBook = async (content: string) => { - await authClient.post(BOARD_URL.POST_GUESTBOOK, content); + await authClient.post(BOARD_URL.POST_GUESTBOOK, { content }); };