diff --git a/src/pages/notice/Notice.tsx b/src/pages/notice/Notice.tsx index 09b618a..02b8ef2 100644 --- a/src/pages/notice/Notice.tsx +++ b/src/pages/notice/Notice.tsx @@ -2,66 +2,8 @@ import { Link } from 'react-router-dom'; export function Notice() { return ( -
-
세상에 이런 폰트가 d나오다니 천재인듯
- -
Hi this is test For eng.ver
- -
안녕 서비스임7
-
안녕 서비스임7
-
안녕 서비스임7
-
안녕 서비스임7
-
안녕 서비스임7
-
안녕 서비스임7
- -
- -
100-home
- - -
200-login
- - -
300-register
- - -
400-textpage
- - -
500-resulthome
- - -
500-typeresult
- - -
600-animaldic
- - -
700-verfiy
- - -
800-chat
- - -
900-roomateOption
- - -
900-roomatelist
- - -
900-GroupList
- - -
900-Notice
- - -
900-otherpeople
- - -
900-secondexample
- - -
+
+ 공지사항
) } \ No newline at end of file diff --git a/src/pages/roommatelist/components/CardTotalList.tsx b/src/pages/roommatelist/components/CardTotalList.tsx index c735bd4..15d3ab1 100644 --- a/src/pages/roommatelist/components/CardTotalList.tsx +++ b/src/pages/roommatelist/components/CardTotalList.tsx @@ -169,7 +169,7 @@ const TypeAtAGlance = ({name}:glance) =>{
- +
더 자세히 보기 클릭 →
diff --git a/src/pages/roommatelist/components/RoommateCard.tsx b/src/pages/roommatelist/components/RoommateCard.tsx index 5c86778..c4c4490 100644 --- a/src/pages/roommatelist/components/RoommateCard.tsx +++ b/src/pages/roommatelist/components/RoommateCard.tsx @@ -486,34 +486,35 @@ const TypeAtAGlance = ({ nickname, animal,rhythm,smoke,noise, temperature,outgoi ) } const CardBack = ({isFrontView,animal,nickname, rhythm,smoke,noise, temperature,outgoing,clean, sleep} : CardBackProps) => { - const [apply_id, setApply_id] = useState(''); - const chatClick = async() => { - try { - const response = await fetch(`http://aniroomi-env.eba-rj7upyms.ap-northeast-2.elasticbeanstalk.com/chat/${nickname}`, { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, + // const [apply_id, setApply_id] = useState(''); + // const chatClick = async() => { + // try { + // const response = await fetch(`http://aniroomi-env.eba-rj7upyms.ap-northeast-2.elasticbeanstalk.com/chat/${nickname}`, { + // method: 'POST', + // headers: { + // 'Content-Type': 'application/json', + // }, - credentials: 'include', - }); + // credentials: 'include', + // }); - // Handle the response as needed - console.log(response); + // // Handle the response as needed + // console.log(response); - // Check if login is successful, then redirect to StarPage - if (response.ok) { - const data = await response.json(); - console.log(`data : ${data}`); + // // Check if login is successful, then redirect to StarPage + // if (response.ok) { + // const data = await response.json(); + // console.log(`data : ${data.substring(1)}`); - setApply_id(data.apply_id) - console.log(`${apply_id}채팅으로 넘어갑니다.`); - } - } catch (error) { - console.error('Error during login:', error); - } - } + // setApply_id(data.substring(1)) + // console.log(`${data.substring(1)}채팅으로 넘어갑니다.`); + // } + // } catch (error) { + // console.error('Error during login:', error); + // } + // } + const apply_id = nickname; return (
-
-
채팅하기
+ + {/*
채팅하기
+ logo + */} +
채팅하기
logo - -
+