Skip to content

Commit

Permalink
Merge pull request #314 from New-Barams/feat/#311/login-page
Browse files Browse the repository at this point in the history
[노철] - 로그인 페이지 마진 변경
  • Loading branch information
qkdl60 authored Dec 22, 2023
2 parents 56af757 + ea1fe40 commit b007d58
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 26 deletions.
12 changes: 1 addition & 11 deletions src/app/(header)/plans/[planId]/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,22 +60,12 @@
.plan__header--buttons {
position: relative;
display: flex;
gap: 1rem;
gap: 0.5rem;
a {
text-decoration: none;
color: var(--origin-text-100);
}
span {
cursor: pointer;
}

&::after {
position: absolute;
content: '';
display: block;
height: 100%;
width: 1px;
background-color: black;
left: 50%;
}
}
19 changes: 9 additions & 10 deletions src/app/(header)/plans/[planId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default function PlanIdPage({ params }: { params: { planId: string } }) {
<ReadOnlyPlan isMine={isMyPlan} planData={{ ...plan, iconNumber: 1 }}>
{isMyPlan && isSeason && (
<div className="plan__header--buttons">
<Link href={`/plans/edit/${planId}`}>수정</Link>
<Link href={`/plans/edit/${planId}`}>수정</Link>|
<span onClick={handleOpenDeleteModal}>삭제</span>
</div>
)}
Expand Down Expand Up @@ -94,15 +94,14 @@ export default function PlanIdPage({ params }: { params: { planId: string } }) {
리마인드 보기
</Button>
</Link>
<Link href={`/feedback/${planId}`}>
<Button
background="primary"
color="white-100"
size="lg"
border={false}>
피드백 보기
</Button>
</Link>

<Button
background="primary"
color="white-100"
size="lg"
border={false}>
피드백 보기
</Button>
</div>
</div>
)}
Expand Down
6 changes: 3 additions & 3 deletions src/app/(header)/plans/edit/[planId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default function EditPage({ params }: { params: { planId: string } }) {
classNameList={['create-plan-content__plan--title']}
editable={true}
kind="title"
placeholder=""
placeholder="어떤 계획을 가지고 계신가요?"
onChangeInput={handleChangeTitle}
maxLength={20}
textInput={planContent.title}
Expand All @@ -86,7 +86,7 @@ export default function EditPage({ params }: { params: { planId: string } }) {
classNameList={['create-plan-content__plan--description']}
editable={true}
kind="content"
placeholder=""
placeholder="계획에 대해서 자세히 설명해주세요!"
onChangeInput={handleChangeDescription}
maxLength={250}
textInput={planContent.description}
Expand Down Expand Up @@ -151,7 +151,7 @@ export default function EditPage({ params }: { params: { planId: string } }) {
color="white-100"
background="primary"
onClick={handleEditPlan}
border>
border={false}>
수정완료
</Button>
<Link href={`/plans/${planId}`}>
Expand Down
2 changes: 1 addition & 1 deletion src/app/(headerless)/login/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
width: 100%;
height: 100%;
overflow-y: scroll;
padding: 4rem 0 2rem 0;
padding: 2rem 0;

.login {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/components/ReadOnlyPlan/ReadOnlyPlan.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default function ReadOnlyPlan({
<PlanInput
classNameList={['color-origin-text-100']}
kind="content"
placeholder=""
placeholder="어떤 계획을 가지고 계신가요?"
onChangeInput={() => {}}
textInput={description}
maxLength={400}
Expand Down

0 comments on commit b007d58

Please sign in to comment.