Skip to content

Commit

Permalink
Merge pull request #415 from LikeLion-at-DGU/dev
Browse files Browse the repository at this point in the history
🚀 Deploy
  • Loading branch information
sayyyho authored Aug 6, 2024
2 parents 7b196ae + e4fe8db commit 2b6b00b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
18 changes: 14 additions & 4 deletions src/pages/Share/Share.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,18 @@ const SharePage = ({ onBack }) => {
}

return (
<div>
<div ref={captureRef}>
<div
style={{
width: "100%",
}}
>
<div
style={{
width: "100%",
minHeight: "100%",
}}
ref={captureRef}
>
{/* 캡처할 내용 */}
<S.Wrapper>
<S.Header>
Expand All @@ -76,11 +86,11 @@ const SharePage = ({ onBack }) => {
<div className="profession">{starData.profession}</div>
</S.BannerTitle>
</S.Header>
<div className="Containr">
<div className="Container">
<S.ClearCantainr>
<S.ClearMain>
<div className="text">축하합니다!</div>
<div className="imgContainr">
<div className="imgContainer">
<img
src={ClearStarPIcon1}
onLoad={() => setIsImageReady(true)}
Expand Down
12 changes: 6 additions & 6 deletions src/pages/Share/styled.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const Wrapper = styled.div`
background-image: url(${Back});
background-size: cover;
margin-bottom: 7.3rem;
.Containr {
.Container {
min-height: 100%;
}
`;
Expand Down Expand Up @@ -79,7 +79,7 @@ export const ClearMain = styled.div`
gap: 20px;
color: white;
.imgContainr {
.imgContainer {
position: relative;
display: flex;
width: 100%;
Expand Down Expand Up @@ -123,8 +123,8 @@ export const shareBtn = styled.button`
justify-content: center;
align-items: center;
gap: 12px;
width: 196.505px;
height: 39.301px;
width: 200px;
height: 40px;
color: black;
border-radius: 19px;
border: 1.228px solid #c4d9e2;
Expand All @@ -149,8 +149,8 @@ export const shareContainr = styled.div`
margin-top: 1rem;
.backBtn {
display: flex;
width: 160px;
height: 32px;
width: 200px;
height: 40px;
padding: 6px;
justify-content: center;
align-items: center;
Expand Down

0 comments on commit 2b6b00b

Please sign in to comment.