diff --git a/next.config.js b/next.config.js index 176d75f..84a52e6 100644 --- a/next.config.js +++ b/next.config.js @@ -1,7 +1,12 @@ /** @type {import('next').NextConfig} */ const nextConfig = { images: { - domains: ['localhost', 'k.kakaocdn.net', 'league-hub-s3.s3.ap-northeast-2.amazonaws.com'], + domains: [ + 'localhost', + 'k.kakaocdn.net', + 'league-hub-s3.s3.ap-northeast-2.amazonaws.com', + 'league-hub.s3.ap-northeast-2.amazonaws.com', + ], }, reactStrictMode: true, }; diff --git a/src/components/Card/HomeCard.tsx b/src/components/Card/HomeCard.tsx index 3fe4fed..80ecd54 100644 --- a/src/components/Card/HomeCard.tsx +++ b/src/components/Card/HomeCard.tsx @@ -23,7 +23,7 @@ const Container = styled.div<{ hasOnClick: boolean }>` text-align: center; background-color: white; border-radius: 1rem; - font-size: 2rem; + font-size: 1.6rem; justify-content: center; box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; diff --git a/src/pages/contents/[channelLink]/admin.tsx b/src/pages/contents/[channelLink]/admin.tsx index 2671dd2..1537251 100644 --- a/src/pages/contents/[channelLink]/admin.tsx +++ b/src/pages/contents/[channelLink]/admin.tsx @@ -63,6 +63,7 @@ const Admin = ({ role }: Props) => { checkInSubscription = tmpClient.subscribe( `/match/${router.query.channelLink as string}`, (data) => { + console.log(data, '소켓'); setAlramInfo(JSON.parse(data.body)); }, ); @@ -75,45 +76,50 @@ const Admin = ({ role }: Props) => { }, [router.query.channelLink as string]); return ( - -
대회 설정
- - - openModal(Modal, { - onClose: () => closeModal(Modal), - children: closeModal(Modal)} />, - }) - } - > - 대회 관리하기 - - - openModal(Modal, { - onClose: () => closeModal(Modal), - children: ( - closeModal(Modal)} - /> - ), - }) - } - > - 채널 정보 수정하기 - - -
대회 알림
- - - {data?.roundList.map((ele) => { - return ; - })} - - - {curRound && } -
+
+ {' '} +
+ +
대회 설정
+ + + openModal(Modal, { + onClose: () => closeModal(Modal), + children: closeModal(Modal)} />, + }) + } + > + 대회 관리하기 + + + openModal(Modal, { + onClose: () => closeModal(Modal), + children: ( + closeModal(Modal)} + /> + ), + }) + } + > + 채널 정보 수정하기 + + +
대회 알림
+ + + {data?.roundList.map((ele) => { + return ; + })} + + + {curRound && } +
+
+
); }; diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 5879153..bdb8c56 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -44,7 +44,7 @@ export default function Home() { {notice.noticeTitle} - {notice.noticeInfo && `- ${notice.noticeInfo}`} + {notice.noticeInfo && - {notice.noticeInfo}} ); })}