-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [ADD] 상세 설명 디자인 추가 * [FIX] css * [ADD]Q&A box
- Loading branch information
Showing
2 changed files
with
52 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,44 @@ | ||
// @ts-nocheck | ||
import React from "react"; | ||
import { useState } from "react"; | ||
import { styles } from "src/components/qdetail/style"; | ||
|
||
function Qdetail() { | ||
const [login, setLogin] = useState(false); | ||
const [login, setLogin] = useState(false); | ||
|
||
return ( | ||
<div style={styles.container}> | ||
<div style={styles.q_a_sub}> | ||
<div style={styles.q_container}> | ||
<div>돋보기 사진이 들어갈 자리</div> | ||
<div>궁금한 것을 질문해보세요</div> | ||
</div> | ||
<h2 style={styles.ad}>광고/배너</h2> | ||
</div> | ||
<div style={styles.ad_q}> | ||
<div style={styles.a_b_q_container}> | ||
<div style={styles.b_q_container}>이전 질문으로 이동 칸</div> | ||
{/*Link 컴포넌트로 바꿀 태그*/} | ||
<div style={styles.a_q_contianer}>다음 질문으로 이동 칸</div> | ||
{/*Link 컴포넌트로 바꿀 태그*/} | ||
</div> | ||
<div style={styles.q_a_main}>질문과 대답이 나오는 칸</div> | ||
</div> | ||
<div style={styles.profilecontainer}> | ||
<div style={styles.profilecontainer2}>로그인</div> | ||
</div> | ||
</div> | ||
); | ||
return ( | ||
<div style={styles.container}> | ||
<div style={styles.q_a_sub}> | ||
<div style={styles.q_container}> | ||
<div>돋보기 사진이 들어갈 자리</div> | ||
<div>궁금한 것을 질문해보세요</div> | ||
</div> | ||
<h2 style={styles.ad}>광고/배너</h2> | ||
</div> | ||
<div style={styles.ad_q}> | ||
<div style={styles.a_b_q_container}> | ||
<div style={styles.b_q_container}>이전 질문으로 이동 칸</div> | ||
{/*Link 컴포넌트로 바꿀 태그*/} | ||
<div style={styles.a_q_container}>다음 질문으로 이동 칸</div> | ||
{/*Link 컴포넌트로 바꿀 태그*/} | ||
</div> | ||
<div style={styles.q_a_main}> | ||
<div style={{ display: 'flex', flex: '1' }}> | ||
<div style={styles.q_content}>질문</div> | ||
</div> | ||
<hr style={{ width: '90%' }} /> | ||
<button> | ||
답변하기 | ||
</button> | ||
<div style={styles.answer}>답변1</div> | ||
<div style={styles.answer}>답변2</div> | ||
<div style={styles.answer}>답변3</div> | ||
</div> | ||
</div> | ||
<div style={styles.profilecontainer}> | ||
<div style={styles.profilecontainer2}>로그인</div> | ||
</div> | ||
</div > | ||
); | ||
} | ||
export default Qdetail; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters