Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix1 #8

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions src/Qdetail.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,30 @@ 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>
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>
</div>
<div style={styles.profilecontainer}>
<div style={styles.profilecontainer2}>로그인</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>
);
);
}
export default Qdetail;
10 changes: 5 additions & 5 deletions src/components/qdetail/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ export const styles = {
b_q_container: {
marginTop: '5px',
marginBottom: '10px',
marginleft: '5px'
marginLeft: '5px'
},
a_q_contianer: {
a_q_container: {
marginTop: '5px',
marginBottom: '10px',
marginleft: '5px'
marginLeft: '5px'
},
q_container: {
borderRadius: '15px',
Expand All @@ -43,7 +43,7 @@ export const styles = {
},
q_a_main: {
background: '#EB7125',
wdith: '59.7vw',
width: '59.7vw',
height: '90.2vh',
boxShadow: '0 4px 4px 0 black',
borderRadius: '20px',
Expand All @@ -55,4 +55,4 @@ export const styles = {
background: "#EB7125",
borderRadius: '45px',
}
}
}
Loading