Skip to content

Commit

Permalink
FirstSection 폰트 사이즈
Browse files Browse the repository at this point in the history
  • Loading branch information
kichan05 committed Mar 11, 2024
1 parent 805a2b4 commit 294633d
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/component/ProfileList.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const ProfileListStyle = styled.li`
h3 {
color: ${p => p.theme.color.Gray9};
font-weight: 600;
font-size: 1.3em;
font-size: 1.4em;
display: inline-block;
}
Expand Down
4 changes: 3 additions & 1 deletion src/page/Page.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,21 @@ import {PageBasicStyle} from "../style/BasicStyle";
import {FirstSection} from "../section/FirstSection";
import {BusinessCardSection} from "../section/BusinessCardSection";
import {ProfileSection} from "../section/ProfileSection";
import Header from "../component/Header";
import {ProjectSection} from "../section/ProjectSection";

const PageStyle = styled.div`
${PageBasicStyle};
`


const Page = () => {
return (
<PageStyle>
<FirstSection/>
{/*<Header/>*/}
<BusinessCardSection/>
<ProfileSection/>
<ProjectSection/>
</PageStyle>
)
}
Expand Down
5 changes: 4 additions & 1 deletion src/section/FirstSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const FirstSectionStyle = styled.section`
.title-wrap {
color: ${p => p.theme.color.Gray0};
font-size: 35px;
font-size: 1.9rem;
text-align: center;
position: absolute;
Expand Down Expand Up @@ -103,6 +103,9 @@ const FirstSectionStyle = styled.section`
animation: ${animation} 1200ms 2700ms 1 normal ease-in-out backwards, ${downUp} 2000ms 3500ms ease-in-out infinite;
}
@media (max-width: 400px) {
}
`

export const FirstSection = () => {
Expand Down
78 changes: 78 additions & 0 deletions src/section/ProjectSection.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
import styled from "styled-components";

import Membeder from "./../assets/Membeder 목업.png"

const ProjectSectionStyle = styled.section`
padding: 40px 24px;
background-color: ${p => p.theme.color.Gray0};
.content {
max-width: ${p => p.theme.size.mobileMaxWidth}px;
margin: 0 auto;
}
h2 {
color: ${p => p.theme.color.Gray9};
font-size: 2em;
}
ul {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 8px;
}
.project-item {
aspect-ratio: 4 / 3;
border-radius: 24px;
overflow: hidden;
display: flex;
flex-direction: column;
.thumbnail {
flex: 1;
overflow: hidden;
img {
width: 100%;
object-fit: cover;
transition: 100ms;
}
}
.description {
background-color: ${p => p.theme.color.Gray4};
padding: 16px 12px;
}
&:hover img {
transform: scale(1.2);
}
}
`

export const ProjectSection = () => {
return (
<ProjectSectionStyle m={Membeder}>
<div className="content">
<h2>제가 만든 프로젝트들이에요</h2>

<ul>
<li className={"project-item"}>
<div className="thumbnail">
<img src={Membeder} alt=""/>
</div>
<div className={"description"}>
<h4>Membeder</h4>
<p>IT 직군 사람들을 위한 팀빌딩 어플리케이션<br/>프로젝트 팀장과 Android개발을 담당했습니다.</p>
</div>
</li>
</ul>

</div>
</ProjectSectionStyle>
)
}

0 comments on commit 294633d

Please sign in to comment.