@daeryun/dr_components 1.2.1 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -119,7 +119,7 @@ const ListBottomKeywd = ({ routeType, tel }) => {
119
119
  </>);
120
120
  case RouteType.YOUTUBE:
121
121
  return (<>
122
- <div className={'m-auto mb-[3em] flex max-w-screen-2xl justify-center py-[130] text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'}>
122
+ <div className={'m-auto mb-[3em] flex max-w-screen-2xl justify-center text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'}>
123
123
  더 궁금한 점이 있으신가요?
124
124
  </div>
125
125
  <div className={style.bottom_container}>
@@ -135,7 +135,7 @@ const ListBottomKeywd = ({ routeType, tel }) => {
135
135
  </>);
136
136
  case RouteType.INFO:
137
137
  return (<>
138
- <div className={'m-auto mb-[3em] flex max-w-screen-2xl justify-center py-[130] text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'}>
138
+ <div className={'m-auto mb-[3em] flex max-w-screen-2xl justify-center text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'}>
139
139
  더 궁금한 점이 있으신가요?
140
140
  </div>
141
141
  <div className={style.bottom_container}>
@@ -151,7 +151,7 @@ const ListBottomKeywd = ({ routeType, tel }) => {
151
151
  </>);
152
152
  case RouteType.INTEGTARE:
153
153
  return (<>
154
- <div className={'m-auto mb-[3em] flex max-w-screen-2xl justify-center py-[130] text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'}>
154
+ <div className={'m-auto mb-[3em] flex max-w-screen-2xl justify-center text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'}>
155
155
  더 궁금한 점이 있으신가요?
156
156
  </div>
157
157
  <div className={style.bottom_container}>
@@ -175,7 +175,7 @@ const ListBottomKeywd: NextPage<ListBottomKeywdProps> = ({ routeType, tel }) =>
175
175
  <>
176
176
  <div
177
177
  className={
178
- 'm-auto mb-[3em] flex max-w-screen-2xl justify-center py-[130] text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'
178
+ 'm-auto mb-[3em] flex max-w-screen-2xl justify-center text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'
179
179
  }
180
180
  >
181
181
  더 궁금한 점이 있으신가요?
@@ -201,7 +201,7 @@ const ListBottomKeywd: NextPage<ListBottomKeywdProps> = ({ routeType, tel }) =>
201
201
  <>
202
202
  <div
203
203
  className={
204
- 'm-auto mb-[3em] flex max-w-screen-2xl justify-center py-[130] text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'
204
+ 'm-auto mb-[3em] flex max-w-screen-2xl justify-center text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'
205
205
  }
206
206
  >
207
207
  더 궁금한 점이 있으신가요?
@@ -226,7 +226,7 @@ const ListBottomKeywd: NextPage<ListBottomKeywdProps> = ({ routeType, tel }) =>
226
226
  <>
227
227
  <div
228
228
  className={
229
- 'm-auto mb-[3em] flex max-w-screen-2xl justify-center py-[130] text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'
229
+ 'm-auto mb-[3em] flex max-w-screen-2xl justify-center text-[24px] font-[700] leading-[1.6px] sm:text-[30px]'
230
230
  }
231
231
  >
232
232
  더 궁금한 점이 있으신가요?
@@ -14,7 +14,7 @@ const MenuTab = ({ search, searchDoneRef, setChoiceTabValue, totalCount, count }
14
14
  }, [searchParams]);
15
15
  return (<div className={'mb-[106px] mt-20 grid h-full w-full grid-cols-8 max-xl:grid-cols-4 max-lg:my-[60px] max-[850px]:grid-cols-2 max-sm:my-10 '}>
16
16
  {[{ tab: '전체', etab: 'All', value: '전체' }, ...tabTypes].map(item => {
17
- return (<Link ref={searchDoneRef} href={`/integrate?search=${querySearch}&tab=${item.value}`} key={item.value} className={'flex h-[62px] w-full items-center justify-center text-[19px] leading-none tracking-[-0.7px] ' +
17
+ return (<Link ref={searchDoneRef} href={`/integrate?search=${querySearch}&tab=${item.value}`} key={item.value} className={'flex h-[62px] w-full flex-col items-center justify-center text-[19px] leading-none tracking-[-0.7px] ' +
18
18
  'max-3xl:text-[18px] ' +
19
19
  'max-xl:flex-row max-xl:gap-1 ' +
20
20
  'max-[850px]:h-[50px] ' +
@@ -23,12 +23,15 @@ const MenuTab = ({ search, searchDoneRef, setChoiceTabValue, totalCount, count }
23
23
  (tab === item.value
24
24
  ? 'bg-[#29579C] font-[800] text-[#FFFFFF] '
25
25
  : 'border border-solid border-[#E9E9E9] bg-[#F7F7F7] font-[500] text-[#949494] ')}>
26
- {item.tab} (
27
- {item.value != '전체'
26
+ {item.tab} <br className={'max-xl:hidden'}/>{' '}
27
+ <span className={'xl:pt-1'}>
28
+ (
29
+ {item.value != '전체'
28
30
  ? //@ts-ignore
29
31
  count[String(item.value)].toLocaleString()
30
32
  : totalCount.toLocaleString()}
31
- )
33
+ ){' '}
34
+ </span>
32
35
  </Link>);
33
36
  })}
34
37
  </div>);
@@ -46,7 +46,7 @@ const MenuTab = ({ search, searchDoneRef, setChoiceTabValue, totalCount, count }
46
46
  href={`/integrate?search=${querySearch}&tab=${item.value}`}
47
47
  key={item.value}
48
48
  className={
49
- 'flex h-[62px] w-full items-center justify-center text-[19px] leading-none tracking-[-0.7px] ' +
49
+ 'flex h-[62px] w-full flex-col items-center justify-center text-[19px] leading-none tracking-[-0.7px] ' +
50
50
  'max-3xl:text-[18px] ' +
51
51
  'max-xl:flex-row max-xl:gap-1 ' +
52
52
  'max-[850px]:h-[50px] ' +
@@ -57,12 +57,15 @@ const MenuTab = ({ search, searchDoneRef, setChoiceTabValue, totalCount, count }
57
57
  : 'border border-solid border-[#E9E9E9] bg-[#F7F7F7] font-[500] text-[#949494] ')
58
58
  }
59
59
  >
60
- {item.tab} (
61
- {item.value != '전체'
62
- ? //@ts-ignore
63
- count[String(item.value)].toLocaleString()
64
- : totalCount.toLocaleString()}
65
- )
60
+ {item.tab} <br className={'max-xl:hidden'} />{' '}
61
+ <span className={'xl:pt-1'}>
62
+ (
63
+ {item.value != '전체'
64
+ ? //@ts-ignore
65
+ count[String(item.value)].toLocaleString()
66
+ : totalCount.toLocaleString()}
67
+ ){' '}
68
+ </span>
66
69
  </Link>
67
70
  );
68
71
  })}
@@ -51,7 +51,7 @@ const Reply = (props) => {
51
51
  <br className={'block sm:hidden'}/>
52
52
  {item.etc5}
53
53
  </p>
54
- <p className={'mb-[20px] mt-[10px] line-clamp-2 h-[50px] text-[18px] text-[#555555] max-sm:mb-[40px] max-sm:mt-[20px] max-sm:text-[16px] max-xs:mb-0 max-xs:mt-[5px] max-xs:h-[40px] max-xs:text-[15px]'}>
54
+ <p className={'mb-[20px] mt-[10px] line-clamp-2 h-[50px] text-[18px] text-[#555555] max-sm:mb-[40px] max-sm:mt-[20px] max-sm:text-[16px] max-xs:mb-0 max-xs:mt-[5px] max-xs:h-[45px] max-xs:text-[15px]'}>
55
55
  {searchColorText(item.summary
56
56
  .replaceAll(/<(\/)?[a-zA-Z0-9]*(\s[a-zA-Z]*=[^>]*)?(\s)*(\/)?>/gi, '')
57
57
  .replaceAll('&nbsp;', ' '), search)}
@@ -108,7 +108,7 @@ const Reply = (props: {
108
108
  </p>
109
109
  <p
110
110
  className={
111
- 'mb-[20px] mt-[10px] line-clamp-2 h-[50px] text-[18px] text-[#555555] max-sm:mb-[40px] max-sm:mt-[20px] max-sm:text-[16px] max-xs:mb-0 max-xs:mt-[5px] max-xs:h-[40px] max-xs:text-[15px]'
111
+ 'mb-[20px] mt-[10px] line-clamp-2 h-[50px] text-[18px] text-[#555555] max-sm:mb-[40px] max-sm:mt-[20px] max-sm:text-[16px] max-xs:mb-0 max-xs:mt-[5px] max-xs:h-[45px] max-xs:text-[15px]'
112
112
  }
113
113
  >
114
114
  {searchColorText(
@@ -49,7 +49,7 @@ const Trend = (props) => {
49
49
  <span className={'text-[#212223]'}> | {title[1]}</span>
50
50
  </>) : (<>{item.title}</>)}
51
51
  </p>
52
- <p className={'mb-[20px] mt-[10px] line-clamp-2 h-[50px] text-[18px] text-[#555555] max-sm:mb-[40px] max-sm:mt-[20px] max-sm:text-[16px] max-xs:mb-0 max-xs:mt-[5px] max-xs:h-[40px] max-xs:text-[15px]'}>
52
+ <p className={'mb-[20px] mt-[10px] line-clamp-2 h-[50px] text-[18px] text-[#555555] max-sm:mb-[40px] max-sm:mt-[20px] max-sm:text-[16px] max-xs:mb-0 max-xs:mt-[5px] max-xs:h-[45px] max-xs:text-[15px]'}>
53
53
  {searchColorText(item.contents
54
54
  .replaceAll(/<(\/)?[a-zA-Z0-9]*(\s[a-zA-Z]*=[^>]*)?(\s)*(\/)?>/gi, '')
55
55
  .replaceAll('&nbsp;', ' '), search)}
@@ -107,7 +107,7 @@ const Trend = (props: {
107
107
  </p>
108
108
  <p
109
109
  className={
110
- 'mb-[20px] mt-[10px] line-clamp-2 h-[50px] text-[18px] text-[#555555] max-sm:mb-[40px] max-sm:mt-[20px] max-sm:text-[16px] max-xs:mb-0 max-xs:mt-[5px] max-xs:h-[40px] max-xs:text-[15px]'
110
+ 'mb-[20px] mt-[10px] line-clamp-2 h-[50px] text-[18px] text-[#555555] max-sm:mb-[40px] max-sm:mt-[20px] max-sm:text-[16px] max-xs:mb-0 max-xs:mt-[5px] max-xs:h-[45px] max-xs:text-[15px]'
111
111
  }
112
112
  >
113
113
  {searchColorText(
@@ -7133,11 +7133,6 @@ html {
7133
7133
  padding-bottom: 12px;
7134
7134
  }
7135
7135
 
7136
- .py-\[130\] {
7137
- padding-top: 130;
7138
- padding-bottom: 130;
7139
- }
7140
-
7141
7136
  .py-\[14px\] {
7142
7137
  padding-top: 14px;
7143
7138
  padding-bottom: 14px;
@@ -19030,6 +19025,10 @@ body {
19030
19025
  height: 40px;
19031
19026
  }
19032
19027
 
19028
+ .max-xs\:h-\[45px\] {
19029
+ height: 45px;
19030
+ }
19031
+
19033
19032
  .max-xs\:h-\[50px\] {
19034
19033
  height: 50px;
19035
19034
  }
@@ -22898,6 +22897,10 @@ body {
22898
22897
  padding-right: 20px;
22899
22898
  }
22900
22899
 
22900
+ .xl\:pt-1 {
22901
+ padding-top: 0.25rem;
22902
+ }
22903
+
22901
22904
  .xl\:text-\[15px\] {
22902
22905
  font-size: 15px;
22903
22906
  }