feat: add projects

This commit is contained in:
Jianqi Jin 2023-09-19 15:01:22 -05:00
parent a6b5fc79fa
commit a859b2824f
2 changed files with 10 additions and 3 deletions

View File

@ -83,10 +83,14 @@
color: rgb(238, 238, 238);
opacity: 100%;
font-size: 16px;
font-family: "itrFontMedium";
font-family: itrFontMedium;
padding: 10px;
line-height: 20px;
border-radius: 10px;
display: block;
overflow: hidden;
width: 100%;
box-sizing: border-box;
}
.project__content__blocks_block span {
@ -125,7 +129,7 @@
color: rgb(136, 136, 136);
opacity: 100%;
font-size: 20px;
font-family: "itrFontMedium";
font-family: itrFontMedium;
padding: 10px;
line-height: 32px;
border-radius: 10px;

View File

@ -16,7 +16,10 @@ const Project = () => {
if (bodySize.width > 850) {
return 3;
}
return 2;
if (bodySize.width > 650) {
return 2;
}
return 1;
}, [bodySize]);
return (
<div className="project">