Skip to content

Commit

Permalink
feat: design third-section-writes
Browse files Browse the repository at this point in the history
  • Loading branch information
BeA-Pro committed Jan 25, 2024
1 parent eab1247 commit 3d5811a
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 4 deletions.
29 changes: 29 additions & 0 deletions src/asset/scss/halfPictureHalfWrites.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,34 @@
height: 100%;
width: 50%;
background-color: black;
box-sizing: border-box;
padding:50px;

.half-writes-title{
width: 80%;
font-size: 30px;
font-weight: bold;
color: white;
margin:30px 0 20px 0;
}

.half-writes-detail{
width: 80%;
color: white;
margin-bottom: 40px;
}

.half-writes-button{
padding:10px;
border-radius: 10px;
border : 0.75px solid white;
color: white;
}

.half-writes-button:hover{
color: black;
background-color: #E3BA19
}

}
}
2 changes: 1 addition & 1 deletion src/asset/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@

.third-section{
margin:30px 0;
height: 70vh;
height: 60vh;
}
3 changes: 3 additions & 0 deletions src/component/common/HalfPictureHalfWrites.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ function HalfPictureHalfWrites() {
<div className="halfPictureHalfWrites-wrap">
<img className="half-picture" src={half_image} alt="info" />
<div className="half-writes">
<div className="half-writes-title">Design Your Career With Us</div>
<div className="half-writes-detail">Please write some words Please write some wordsPlease write some wordsPlease write some words Please write some words Please write some words Please write some words Please write some words Please write some words</div>
<button className="half-writes-button">JOIN OUR TEAM</button>
</div>
</div>
)
Expand Down
6 changes: 3 additions & 3 deletions src/component/common/SiteActivityComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ function SiteActivityComponent(props) {
{props.id === "totalTurnover" && <div className="main-info-unit">Total Turnover</div>}
{props.id === "career" && <div className="main-info-unit">Career</div>}

{props.id === "projects" && <div className="main-info-unit-writes">Write some worlds</div>}
{props.id === "totalTurnover" && <div className="main-info-unit-writes">Write some worlds</div>}
{props.id === "career" && <div className="main-info-unit-writes">Write some worlds</div>}
{props.id === "projects" && <div className="main-info-unit-writes">Write some words</div>}
{props.id === "totalTurnover" && <div className="main-info-unit-writes">Write some words</div>}
{props.id === "career" && <div className="main-info-unit-writes">Write some words</div>}
</div>
{props.id === "projects" && <HomeWorkIcon sx={{ fontSize: 70, color: "white" }} />}
{props.id === "totalTurnover" && <MoneyIcon sx={{ fontSize: 70, color: "white" }} />}
Expand Down

0 comments on commit 3d5811a

Please sign in to comment.