Skip to content

Commit

Permalink
๐Ÿ”€ Fix Add NotionPdf Portfolio
Browse files Browse the repository at this point in the history
#278 ์ง€์›์„œ ํฌํด ๊ธฐ๋Šฅ ๋ณด์™„ ๋ฐ ์ „์ฒด ์Šคํƒ€์ผ ์ˆ˜์ •
  • Loading branch information
sseuldev authored Oct 2, 2024
2 parents 6120a9b + c2bb179 commit ed1116a
Show file tree
Hide file tree
Showing 12 changed files with 193 additions and 56 deletions.
4 changes: 4 additions & 0 deletions gongjakso/src/assets/images/blackLink.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 5 additions & 6 deletions gongjakso/src/components/common/AlertModal/AlertModal.Styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ export const AlertModalInnerContainer = styled.div`
background: #fff;
text-align: center;
border-radius: 40px;
padding: 20px;
padding: 30px;
position: relative;
width: 45%;
width: 40%;
height: 40%;
`;
export const MainTitle = styled.p`
Expand All @@ -52,7 +52,7 @@ export const AlertText = styled.h3`
align-items: center;
flex-direction: column;
text-align: center;
font-size: 1.3rem;
font-size: 1.1rem;
font-family: 'PreMedium';
`;

Expand All @@ -71,9 +71,8 @@ export const AlertBtn = styled.button`
justify-content: center;
width: ${props => props.$w};
border-radius: 10px;
padding: 15px;
font-size: ${({ theme }) => theme.fontSize.md};
padding: 10px;
font-size: ${({ theme }) => theme.fontSize.m};
background: ${({ theme }) => theme.Main1};
font-family: 'PreBold';
color: white;
`;
4 changes: 2 additions & 2 deletions gongjakso/src/components/common/Input/Input.Styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const SelectContainer = styled.div`

export const SelectValue = styled.div`
display: block;
width: ${props => (props.$case === 'true' ? '190px' : '400px')};
width: ${props => (props.$case === 'true' ? '155px' : '400px')};
display: flex;
flex-direction: row;
justify-content: space-between;
Expand All @@ -26,7 +26,7 @@ export const OptionList = styled.div`
position: absolute;
font-family: 'PreMedium';
right: -10px;
width: ${props => (props.$case === 'true' ? '220px' : '430px')};
width: ${props => (props.$case === 'true' ? '185px' : '430px')};
font-size: ${({ theme }) => theme.fontSize.m};
margin: ${props => (props.$case === 'true' ? '20px 0px' : '20px 0px')};
list-style: none;
Expand Down
14 changes: 7 additions & 7 deletions gongjakso/src/components/common/Input/Multilevel.styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ export const Dropdown = styled.div`
text-align: left;
padding: ${props =>
props.$ispost === 'true' ? '10px 19px' : '12px 18px'};
width: ${props => (props.$ispost === 'true' ? '200px' : '220px')};
width: ${props => (props.$ispost === 'true' ? '200px' : '190px')};
font-size: ${({ theme, $ispost }) =>
$ispost === 'true' ? '1.15rem' : theme.fontSize.md};
$ispost === 'true' ? theme.fontSize.base : theme.fontSize.m};
color: ${props => (props.$ispost === 'true' ? 'gray' : 'black')};
border-radius: ${props => (props.$ispost === 'true' ? '25px' : '10px')};
border-radius: ${props => (props.$ispost === 'true' ? '25px' : '6px')};
}
.rnd__root-menu.rnd__menu {
width: ${props =>
props.$ispost === 'true' ? '200px!important' : '220px!important'};
props.$ispost === 'true' ? '200px!important' : '190px!important'};
z-index: 9999;
font-family: 'PreRegular';
}
.rnd .rnd__root-menu.rnd__menu .rnd__option .rnd__option-label {
font-size: ${({ theme, $ispost }) =>
$ispost === 'true' ? '1.15rem' : theme.fontSize.md};
$ispost === 'true' ? theme.fontSize.base : theme.fontSize.m};
padding-left: 20px;
}
Expand All @@ -37,7 +37,7 @@ export const Dropdown = styled.div`
.rnd__menu.rnd__submenu.rnd__submenu--opened {
max-height: 300px;
overflow-y: scroll;
width: 200px !important;
width: 190px !important;
}
.rnd__option--with-menu:hover > .rnd__submenu {
display: block;
Expand All @@ -46,7 +46,7 @@ export const Dropdown = styled.div`
.rnd__option:not(.rnd__option--disabled):hover {
background-color: black;
color: white;
transition: background-color 0.1s ease;
transition: background-color 0.2s ease;
border-radius: 4px;
}
`;
Expand Down
2 changes: 1 addition & 1 deletion gongjakso/src/features/modal/ApplyModal.styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const RoundForm = styled.button`
`;

export const PortForm = styled(RoundForm)`
min-width: 250px;
min-width: 230px;
display: inline-block;
max-width: 250px;
white-space: nowrap;
Expand Down
2 changes: 1 addition & 1 deletion gongjakso/src/features/modal/ClickmyApply.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const ClickmyApply = props => {
// ํŠน์ • ์ง€์›์ž ์ง€์›์„œ ์—ด๋žŒํ•˜๊ธฐ
useEffect(() => {
getMyApplication(props.applyId).then(res => {
console.log(res?.data);
// console.log(res?.data);
setmyApp(res?.data);
});

Expand Down
1 change: 1 addition & 0 deletions gongjakso/src/features/modal/Completed.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const Completed = props => {
part: props.clickedFields,
status: 'COMPLETED',
isPrivate: props.isclosed,
dataType: props.dataType,
};
postApply(props.id, newData).then(res => {});
};
Expand Down
34 changes: 18 additions & 16 deletions gongjakso/src/pages/ContestDetailPage/ContestDetailPage.Styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export const ContestInfo = styled.div`
`;

export const ContestTitle = styled.p`
font-family: 'The Jamsil OTF';
font-size: ${({ theme }) => theme.fontSize.xl};
font-weight: 700;
line-height: 52.8px;
Expand All @@ -47,7 +46,6 @@ export const ContestImg = styled.img`
`;
export const RemainDate = styled.div`
width: auto;
height: 27px;
display: flex;
align-items: center;
justify-content: center;
Expand All @@ -58,8 +56,7 @@ export const RemainDate = styled.div`
text-align: center;
color: ${({ theme }) => theme.mainFont2};
background-color: ${({ theme }) => theme.Purple};
padding-left: 10px;
padding-right: 10px;
padding: 0.5rem 1rem;
`;

export const SpanP = styled.p`
Expand All @@ -74,26 +71,26 @@ export const FireImage = styled(Fire)`
`;

export const Organization = styled.h2`
font-family: 'Pretendard';
font-size: ${({ theme }) => theme.fontSize.mdd};
font-weight: 700;
line-height: 28.64px;
text-align: left;
margin-bottom: 25px;
padding-left: 0.5rem;
`;

export const InfoContent = styled.h3`
display: flex;
flex-direction: row;
font-family: 'Pretendard';
// font-family: 'Pretendard';
font-size: 16px;
font-weight: 700;
line-height: 23.87px;
text-align: left;
gap: 10px;
`;
export const InfoSpan = styled.p`
font-family: 'Pretendard';
// font-family: 'Pretendard';
font-size: ${({ theme }) => theme.fontSize.m};
font-weight: 500;
line-height: 23.87px;
Expand All @@ -111,32 +108,37 @@ export const ContestButtonOption = styled.div`

export const GotohomeBtn = styled.button`
background-color: ${({ theme }) => theme.border};
width: 20%;
width: 25%;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
height: 50px;
border-radius: 15px;
border-radius: 12px;
margin: 15px;
padding: 18px;
padding: 20px;
font-size: ${({ theme }) => theme.fontSize.md};
font-weight: bold;
img {
margin-left: 0.2rem;
width: 1.3rem;
}
`;
export const TeamBuildBtn = styled.button`
background-color: ${({ theme }) => theme.box1};
width: 20%;
width: 24%;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
height: 50px;
border-radius: 15px;
border-radius: 12px;
margin: 15px;
padding: 18px;
padding: 20px;
color: ${({ theme }) => theme.mainFont2};
font-size: ${({ theme }) => theme.fontSize.md};
font-weight: bold;
font-weight: 500;
`;

export const Headline = styled.hr`
Expand All @@ -156,8 +158,8 @@ export const Fillterbox = styled.div`
margin-bottom: 30px;
`;
export const Fillter1 = styled.div`
width: 220px;
border-radius: 10px;
width: 190px;
border-radius: 5px;
border: 1.5px solid #c4c4c4;
padding: 12px 18px;
display: flex;
Expand Down
6 changes: 4 additions & 2 deletions gongjakso/src/pages/ContestDetailPage/ContestDetailPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Link, useLocation } from 'react-router-dom';
import * as S from './ContestDetailPage.Styled';
import Multilevel from '../../components/common/Input/Multilevel';
import { SelectInput } from '../../components/common/Input/Input';
import HomeLink from '../../assets/images/blackLink.svg';
import { useForm } from 'react-hook-form';
import TeamBox from '../TeamBox/TeamBox';
import NoContents from '../../features/NoContents/NoContents';
Expand Down Expand Up @@ -156,15 +157,16 @@ const ContestDetailPage = () => {
</S.ContestDetail>
<S.ContestButtonOption>
<S.GotohomeBtn onClick={handlegotoHomePage}>
ํ™ˆํŽ˜์ด์ง€๋กœ ๋ฐ”๋กœ๊ฐ€๊ธฐ
ํ™ˆํŽ˜์ด์ง€ ๋ฐ”๋กœ๊ฐ€๊ธฐ
<img src={HomeLink} alt="homepage-link" />
</S.GotohomeBtn>
<S.TeamBuildBtn onClick={handleTeamBuildClick}>
ํŒ€๋นŒ๋”ฉํ•˜๊ธฐ
</S.TeamBuildBtn>
</S.ContestButtonOption>
<S.ContestInfo>
<S.ContestTitle>
'{contestDetail?.title}'์˜ ํŒ€ ์ฐพ๊ธฐ
'{contestDetail?.title}' ์˜ ํŒ€ ์ฐพ๊ธฐ
</S.ContestTitle>
<S.Organization>
ํ˜„์žฌ {contestPosts?.length}๋ช…์ด ํŒ€์„ ๋ชจ์ง‘ํ•˜๊ณ  ์žˆ์–ด์š”
Expand Down
Loading

0 comments on commit ed1116a

Please sign in to comment.