Skip to content

Commit 854a28b

Browse files
authored
Merge pull request #131 from codeit-sprint-part3-6team/#59_페이지_대시보드_수정
페이지 대시보드 수정과 랜딩페이지 className 컨벤션으로 수정
2 parents 94091ca + 81a1579 commit 854a28b

File tree

20 files changed

+189
-195
lines changed

20 files changed

+189
-195
lines changed

src/components/product/edit/InviteTitle/InviteTitle.module.css

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.title_container {
1+
.title-container {
22
width: 620px;
33
height: 477px;
44
border-radius: 16px;
@@ -8,7 +8,7 @@
88
gap: 10px;
99
}
1010

11-
.member_section {
11+
.member-section {
1212
display: flex;
1313
flex-direction: row;
1414
justify-content: space-between;
@@ -21,27 +21,27 @@
2121
padding-left: 14px;
2222
}
2323

24-
.button_section {
24+
.button-section {
2525
display: flex;
2626
text-align: center;
2727
align-items: center;
2828
justify-content: center;
2929
gap: 20px;
3030
}
3131

32-
.page_info {
32+
.page-info {
3333
margin-right: 20px;
3434
font-weight: 400;
3535
font-size: 14px;
3636
line-height: 24px;
3737
}
3838

39-
.invite_button_section {
39+
.invite-button-section {
4040
margin-top: 3px;
4141
display: block;
4242
}
4343

44-
.invite_button {
44+
.invite-button {
4545
display: flex;
4646
align-items: center;
4747
justify-content: center;
@@ -57,12 +57,12 @@
5757
color: var(--white);
5858
}
5959

60-
.plus_button {
60+
.plus-button {
6161
width: 11.33px;
6262
height: 11.33px;
6363
}
6464

65-
.sub_title {
65+
.sub-title {
6666
margin-top: 20px;
6767
font-weight: 400;
6868
font-size: 16px;
@@ -71,54 +71,54 @@
7171
}
7272

7373
@media screen and (max-width: 1199px) {
74-
.title_container {
74+
.title-container {
7575
width: 544px;
7676
}
7777

78-
.pagination_button {
78+
.pagination-button {
7979
display: none;
8080
}
8181

82-
.sub_title {
82+
.sub-title {
8383
margin-top: 15px;
8484
}
8585
}
8686

8787
@media screen and (max-width: 743px) {
88-
.title_container {
88+
.title-container {
8989
width: 284px;
9090
height: 406px;
9191
border-radius: 8px;
9292
padding: 20px 16px 20px 16px;
9393
}
9494

95-
.pagination_button {
95+
.pagination-button {
9696
display: block;
9797
}
9898

9999
.title {
100100
font-size: 20px;
101101
}
102102

103-
.button_section {
103+
.button-section {
104104
margin-top: 5px;
105105
flex-direction: column;
106106
gap: 0;
107107
}
108108

109-
.page_info {
109+
.page-info {
110110
margin-right: 10px;
111111
font-weight: 400;
112112
font-size: 12px;
113113
line-height: 18px;
114114
}
115115

116-
.invite_button {
116+
.invite-button {
117117
font-size: 12px;
118118
line-height: 18.71px;
119119
}
120120

121-
.sub_title {
121+
.sub-title {
122122
margin-top: 0px;
123123
font-weight: 400;
124124
font-size: 14px;

src/components/product/edit/InviteTitle/InviteTitle.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ export default function InviteTitle() {
6868
};
6969

7070
return (
71-
<section className={styles.title_container}>
72-
<div className={styles.member_section}>
71+
<section className={styles['title-container']}>
72+
<div className={styles['member-section']}>
7373
<h1 className={styles.title}>초대 내역</h1>
74-
<div className={styles.button_section}>
75-
<div className={styles.pagination_button}>
76-
<span className={styles.page_info}>
74+
<div className={styles['button-section']}>
75+
<div className={styles['pagination-button']}>
76+
<span className={styles['page-info']}>
7777
{totalPages} 페이지 중 {currentPage}
7878
</span>
7979
<CDSButton
@@ -87,19 +87,19 @@ export default function InviteTitle() {
8787
disabled={currentPage === totalPages}
8888
/>
8989
</div>
90-
<div className={styles.invite_button_section}>
90+
<div className={styles['invite-button-section']}>
9191
<button
9292
type="button"
93-
className={styles.invite_button}
93+
className={styles['invite-button']}
9494
onClick={() => setIsModalOpen(true)}
9595
>
96-
<WhitePlus className={styles.plus_button} /> 초대하기
96+
<WhitePlus className={styles['plus-button']} /> 초대하기
9797
</button>
9898
</div>
9999
</div>
100100
</div>
101-
<div className={styles.name_section}>
102-
<h2 className={styles.sub_title}>이메일</h2>
101+
<div className={styles['name-section']}>
102+
<h2 className={styles['sub-title']}>이메일</h2>
103103
<InviteList members={members} />
104104
</div>
105105
<div>
Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.title_container {
1+
.title-container {
22
width: 620px;
33
height: 344px;
44
border-radius: 16px;
@@ -8,13 +8,13 @@
88
gap: 10px
99
}
1010

11-
.header_section {
11+
.header-section {
1212
display: flex;
1313
flex-direction: column;
1414
gap: 40px;
1515
}
1616

17-
.header_top {
17+
.header-top {
1818
display: flex;
1919
flex-direction: column;
2020
gap: 24px;
@@ -26,37 +26,31 @@
2626
line-height: 32px;
2727
}
2828

29-
.sub_container {
29+
.sub-container {
3030
display: flex;
3131
flex-direction: column;
3232
gap: 16px;
3333
}
3434

35-
.sub_title {
36-
font-weight: 500;
37-
font-size: 16px;
38-
line-height: 26px;
39-
}
40-
4135
.button {
4236
width: 564px;
4337
}
4438

4539
@media screen and (max-width: 1199px) {
46-
.title_container {
40+
.title-container {
4741
width: 544px;
4842
}
4943
}
5044

5145
@media screen and (max-width: 743px) {
52-
.title_container {
46+
.title-container {
5347
width: 284px;
5448
height: 312px;
5549
border-radius: 8px;
5650
padding: 20px 16px 20px 16px;
5751
}
5852

59-
.header_section {
53+
.header-section {
6054
gap: 32px;
6155
}
6256
}

src/components/product/edit/MainTitle/MainTitle.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ export default function MainTitle({ dashboardtitle }: MainTitleProps) {
3535
};
3636

3737
return (
38-
<div className={styles.title_container}>
39-
<div className={styles.header_section}>
40-
<div className={styles.header_top}>
38+
<div className={styles['title-container']}>
39+
<div className={styles['header-section']}>
40+
<div className={styles['header-top']}>
4141
<h1 className={styles.title}>{dashboardtitle}</h1>
42-
<div className={styles.sub_container}>
42+
<div className={styles['sub-container']}>
4343
<TitleTagInput
4444
label="대시보드 이름"
4545
placeholder="제목을 입력해주세요."
@@ -54,7 +54,7 @@ export default function MainTitle({ dashboardtitle }: MainTitleProps) {
5454
/>
5555
</div>
5656
</div>
57-
<div className={styles.sheader_button}>
57+
<div className={styles['sheader-button']}>
5858
<CDSButton btnType="auth" onClick={handleEditClick}>
5959
변경
6060
</CDSButton>

src/components/product/edit/MemberTitle/MemberTitle.module.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.title_container {
1+
.title-container {
22
width: 620px;
33
height: 404px;
44
border-radius: 16px;
@@ -8,7 +8,7 @@
88
gap: 10px
99
}
1010

11-
.member_section {
11+
.member-section {
1212
display: flex;
1313
flex-direction: row;
1414
justify-content: space-between;
@@ -28,14 +28,14 @@
2828
justify-content: center;
2929
}
3030

31-
.page_info {
31+
.page-info {
3232
margin-right: 20px;
3333
font-weight: 400;
3434
font-size: 14px;
3535
line-height: 24px;
3636
}
3737

38-
.sub_title {
38+
.sub-title {
3939
margin-top: 20px;
4040
margin-bottom: 10px;
4141
font-weight: 400;
@@ -45,24 +45,24 @@
4545
}
4646

4747
@media screen and (max-width: 1199px) {
48-
.title_container {
48+
.title-container {
4949
width: 544px;
5050
}
5151

52-
.sub_title {
52+
.sub-title {
5353
margin-top: 15px;
5454
}
5555
}
5656

5757
@media screen and (max-width: 743px) {
58-
.title_container {
58+
.title-container {
5959
width: 284px;
6060
height: 337px;
6161
border-radius: 8px;
6262
padding: 20px 16px 20px 16px;
6363
}
6464

65-
.page_info {
65+
.page-info {
6666
margin-right: 10px;
6767
font-weight: 400;
6868
font-size: 12px;
@@ -73,7 +73,7 @@
7373
font-size: 20px;
7474
}
7575

76-
.sub_title {
76+
.sub-title {
7777
margin-top: 10px;
7878
font-weight: 400;
7979
font-size: 14px;

src/components/product/edit/MemberTitle/MemberTitle.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ export default function MemberTitle() {
4141
};
4242

4343
return (
44-
<section className={styles.title_container}>
45-
<div className={styles.member_section}>
44+
<section className={styles['title-container']}>
45+
<div className={styles['member-section']}>
4646
<h1 className={styles.title}>구성원</h1>
4747
<div className={styles.button}>
48-
<span className={styles.page_info}>
48+
<span className={styles['page-info']}>
4949
{totalPages} 페이지 중 {currentPage}
5050
</span>
5151
<CDSButton
@@ -60,8 +60,8 @@ export default function MemberTitle() {
6060
/>
6161
</div>
6262
</div>
63-
<div className={styles.name_section}>
64-
<h2 className={styles.sub_title}>이름</h2>
63+
<div className={styles['name-section']}>
64+
<h2 className={styles['sub-title']}>이름</h2>
6565
<MemberList members={members} />
6666
</div>
6767
</section>

0 commit comments

Comments
 (0)