Skip to content

Commit

Permalink
๐Ÿ› Fix : ์ˆ˜์ •์‚ฌํ•ญ ๋ณต๊ตฌ
Browse files Browse the repository at this point in the history
  • Loading branch information
YoungseoChoi23 committed Aug 21, 2024
1 parent 4705442 commit 15ea10a
Showing 1 changed file with 11 additions and 31 deletions.
42 changes: 11 additions & 31 deletions src/pages/IntroducePage/Main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,14 @@ const Main = () => {
src={main_bottom}
alt="main_bottom"
/>
<BottomText>์Œ์•…์ง€๋„ ๋ณด๋Ÿฌ๊ฐ€๊ธฐ</BottomText>
</Bottom>
<BottomText>
<img
onClick={handleGotoHomepage}
src={main_bottom_text}
alt="main_bottom_text"
/>
</BottomText>
</Wrapper>
</>
);
Expand All @@ -43,61 +49,35 @@ const BackgroundWrapper = styled.div`
z-index: 0;
`;
const Wrapper = styled.div`
min-width: 1536px;
min-width: 1920px;
position: relative;
z-index: 1;
`;
const Center = styled.div`
position: absolute;
position: fixed;
left: 50%;
z-index: 1;
top: 85px;
transform: translateX(-50%);
@media (min-width: 1024px) {
img {
width: 100%; /*1024px๋ณด๋‹ค ํด ๋•Œ width 100%*/
}
}
@media (max-width: 1024px) {
img {
width: 100%; /*1024px๋ณด๋‹ค ์ž‘์„ ๋•Œ width 10%*/
}
}
`;
const Bottom = styled.div`
position: relative;
img {
width: 810.9px;
height: 366.3px;
position: fixed;
left: 50%;
bottom: 0px;
z-index: 2;
transform: translateX(-50%);
cursor: pointer;
@media (max-width: 768px) {
width: 340.578px;
height: 153.846px;
}
}
`;
const BottomText = styled.div`
position: fixed;
left: 50%;
bottom: 80px;
transform: translateX(-50%);
z-index: 3;
color: var(--light_black, #232323);
text-align: center;
font-size: 32px;
font-style: normal;
font-weight: 700;
line-height: 40px; /* 125% */
z-index: 2;
cursor: pointer;
@media (max-width: 768px) {
postiion: absolute;
bottom: 20px;
font-size: 16px;
}
`;

export default Main;

0 comments on commit 15ea10a

Please sign in to comment.