@daeryun/dr_components 1.0.91 → 1.0.92

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.
@@ -0,0 +1,99 @@
1
+ import Image from 'next/image';
2
+ import React from 'react';
3
+ import Link from 'next/link';
4
+ import Wrapper from '../../../../Layout/Wrapper';
5
+
6
+ const ReturnMainSection = ({ return_main_text }: { return_main_text: string }) => {
7
+ const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
8
+ return (
9
+ <Wrapper className={'pb-[90px] pt-10 max-lg:pb-[60px] max-lg:pt-8 max-sm:pb-10 max-sm:pt-6'}>
10
+ <Link
11
+ href={'/strength'}
12
+ className={
13
+ 'group relative flex h-[120px] w-full items-center justify-center gap-[22px] overflow-hidden bg-[#D1E4F7] ' +
14
+ 'max-lg:h-[100px] max-lg:gap-5 ' +
15
+ 'max-md:gap-3 ' +
16
+ 'max-sm:h-[90px] max-sm:gap-2'
17
+ }
18
+ >
19
+ <span
20
+ className={
21
+ 'absolute left-0 top-0 block h-full w-[652px] ' +
22
+ 'max-3xl:w-[600px] ' +
23
+ 'max-xl:w-[500px] ' +
24
+ 'max-lg:w-[400px] ' +
25
+ 'max-md2:w-[320px] ' +
26
+ 'max-md:w-[240px] ' +
27
+ 'max-sm:w-[200px] '
28
+ }
29
+ >
30
+ <Image
31
+ src={imagePath + '/strength_new/main_return_bg_left.webp'}
32
+ alt={'강점'}
33
+ fill
34
+ className={
35
+ 'object-cover max-md:object-[55%] lg:transition-transform lg:duration-500 lg:group-hover:scale-[110%]'
36
+ }
37
+ quality={100}
38
+ />
39
+ </span>
40
+ <span
41
+ className={
42
+ 'absolute right-0 top-0 block h-full w-[603px] ' +
43
+ 'max-3xl:w-[580px] ' +
44
+ 'max-xl:w-[480px] ' +
45
+ 'max-lg:w-[380px] ' +
46
+ 'max-md2:w-[300px] ' +
47
+ 'max-md:w-[220px] ' +
48
+ 'max-sm:w-[180px] '
49
+ }
50
+ >
51
+ <Image
52
+ src={imagePath + '/strength_new/main_return_bg_right.webp'}
53
+ alt={'강점'}
54
+ fill
55
+ quality={100}
56
+ className={
57
+ 'object-cover max-md:object-[30%] lg:transition-transform lg:duration-500 lg:group-hover:scale-[110%]'
58
+ }
59
+ />
60
+ </span>
61
+
62
+ <p
63
+ className={
64
+ 'relative z-20 text-[32px] font-[800] leading-[1] tracking-[-0.04em] text-[#5674AE] lg:transition-colors lg:duration-500 lg:group-hover:text-[#284890] ' +
65
+ 'max-xl:text-[28px] ' +
66
+ 'max-lg:text-[26px] ' +
67
+ 'max-md:text-[24px] ' +
68
+ 'max-sm:text-[22px] ' +
69
+ 'max-xs:text-[20px]'
70
+ }
71
+ dangerouslySetInnerHTML={{ __html: return_main_text }}
72
+ ></p>
73
+ <span
74
+ className={
75
+ 'relative block h-[32px] w-[26px] max-lg:h-[30px] max-lg:w-6 max-md:h-7 max-md:w-[22px] max-sm:h-6 max-sm:w-5 max-xs:h-5 max-xs:w-4'
76
+ }
77
+ >
78
+ <Image
79
+ src={imagePath + '/strength_new/return_arrow.webp'}
80
+ alt={'강점'}
81
+ fill
82
+ quality={100}
83
+ className={'object-contain '}
84
+ />
85
+ <Image
86
+ src={imagePath + '/strength_new/return_arrow_hover.webp'}
87
+ alt={'강점'}
88
+ fill
89
+ quality={100}
90
+ className={
91
+ 'object-contain opacity-0 transition-opacity duration-500 group-hover:opacity-100 max-lg:hidden'
92
+ }
93
+ />
94
+ </span>
95
+ </Link>
96
+ </Wrapper>
97
+ );
98
+ };
99
+ export default ReturnMainSection;
@@ -10,10 +10,10 @@ const ViewMoreSection = ({ view_more_section_title, view_more_list, initialData
10
10
  const isMain = pathname === '/strength';
11
11
  const { width } = useBrowser(false); // 디바운스 적용
12
12
  const isPC = width >= 1400;
13
- return (<section className={'relative w-full pb-[180px] tracking-[-0.04em] ' +
13
+ return (<section className={'relative w-full tracking-[-0.04em] ' +
14
14
  (isMain
15
- ? 'pt-[100px] max-xl:py-20 max-[700px]:py-[60px]'
16
- : 'pt-[180px] max-xl:py-20 max-[700px]:py-[60px]')}>
15
+ ? 'pb-[180px] pt-[100px] max-xl:py-20 max-[700px]:py-[60px]'
16
+ : 'pt-[180px] max-xl:pt-20 max-[700px]:pt-[60px]')}>
17
17
  <Wrapper>
18
18
  <h2 className={'border-t border-solid border-black text-center text-[32px] font-[800] leading-[1] ' +
19
19
  (isMain
@@ -25,10 +25,10 @@ const ViewMoreSection = ({
25
25
  return (
26
26
  <section
27
27
  className={
28
- 'relative w-full pb-[180px] tracking-[-0.04em] ' +
28
+ 'relative w-full tracking-[-0.04em] ' +
29
29
  (isMain
30
- ? 'pt-[100px] max-xl:py-20 max-[700px]:py-[60px]'
31
- : 'pt-[180px] max-xl:py-20 max-[700px]:py-[60px]')
30
+ ? 'pb-[180px] pt-[100px] max-xl:py-20 max-[700px]:py-[60px]'
31
+ : 'pt-[180px] max-xl:pt-20 max-[700px]:pt-[60px]')
32
32
  }
33
33
  >
34
34
  <Wrapper>
@@ -91,7 +91,7 @@ const RightTextItem = ({ item, index, initialData }) => {
91
91
 
92
92
  {(_a = item.list) === null || _a === void 0 ? void 0 : _a.map((li, li_index) => {
93
93
  return (<li className={'flex gap-5 max-[850px]:flex-col max-[850px]:gap-[6px]'} key={li_index}>
94
- <span className={'flex gap-[10px] max-sm:gap-2'}>
94
+ <h3 className={'flex gap-[10px] max-sm:gap-2'}>
95
95
  <span className={'mt-[5px] block shrink-0 rounded-full bg-[#0A422C] ' +
96
96
  'h-5 w-5 ' +
97
97
  'max-xl:h-4 max-xl:w-4 ' +
@@ -105,7 +105,7 @@ const RightTextItem = ({ item, index, initialData }) => {
105
105
  'max-[850px]:text-[20px]'} dangerouslySetInnerHTML={{
106
106
  __html: replaceInitialData(li.title, initialData)
107
107
  }}/>
108
- </span>
108
+ </h3>
109
109
 
110
110
  <p className={'text-[18px] leading-[1.4] max-xl:text-[16px] max-[850px]:pl-[26px] '} dangerouslySetInnerHTML={{ __html: li.desc }}></p>
111
111
  </li>);
@@ -192,7 +192,7 @@ const LeftTextItem = ({ item, index, initialData }) => {
192
192
 
193
193
  {(_a = item.list) === null || _a === void 0 ? void 0 : _a.map((li, li_index) => {
194
194
  return (<li className={'flex gap-5 max-[850px]:flex-col max-[850px]:gap-[6px]'} key={li_index}>
195
- <span className={'flex gap-[10px] max-sm:gap-2'}>
195
+ <h3 className={'flex gap-[10px] max-sm:gap-2'}>
196
196
  <span className={'mt-[5px] block h-5 w-5 shrink-0 rounded-full bg-[#0A422C] ' +
197
197
  'max-xl:h-4 max-xl:w-4 ' +
198
198
  'max-sm:mt-[6px]'}/>
@@ -203,7 +203,7 @@ const LeftTextItem = ({ item, index, initialData }) => {
203
203
  'max-[850px]:text-[20px]'} dangerouslySetInnerHTML={{
204
204
  __html: li.title.replace('(2025년 7월 기준)', `<span class='text-[16px] text-black font-[400] block max-xl:text-[12px]'>(2025년 7월 기준)</span>`)
205
205
  }}/>
206
- </span>
206
+ </h3>
207
207
 
208
208
  <span className={'text-[18px] leading-[1.4] max-xl:text-[16px] max-[850px]:pl-[26px]'} dangerouslySetInnerHTML={{ __html: li.desc }}></span>
209
209
  </li>);
@@ -203,7 +203,7 @@ const RightTextItem = ({
203
203
  className={'flex gap-5 max-[850px]:flex-col max-[850px]:gap-[6px]'}
204
204
  key={li_index}
205
205
  >
206
- <span className={'flex gap-[10px] max-sm:gap-2'}>
206
+ <h3 className={'flex gap-[10px] max-sm:gap-2'}>
207
207
  <span
208
208
  className={
209
209
  'mt-[5px] block shrink-0 rounded-full bg-[#0A422C] ' +
@@ -226,7 +226,7 @@ const RightTextItem = ({
226
226
  __html: replaceInitialData(li.title, initialData)
227
227
  }}
228
228
  />
229
- </span>
229
+ </h3>
230
230
 
231
231
  <p
232
232
  className={
@@ -417,7 +417,7 @@ const LeftTextItem = ({
417
417
  className={'flex gap-5 max-[850px]:flex-col max-[850px]:gap-[6px]'}
418
418
  key={li_index}
419
419
  >
420
- <span className={'flex gap-[10px] max-sm:gap-2'}>
420
+ <h3 className={'flex gap-[10px] max-sm:gap-2'}>
421
421
  <span
422
422
  className={
423
423
  'mt-[5px] block h-5 w-5 shrink-0 rounded-full bg-[#0A422C] ' +
@@ -440,7 +440,7 @@ const LeftTextItem = ({
440
440
  )
441
441
  }}
442
442
  />
443
- </span>
443
+ </h3>
444
444
 
445
445
  <span
446
446
  className={
@@ -2270,6 +2270,10 @@ html {
2270
2270
  height: 110px;
2271
2271
  }
2272
2272
 
2273
+ .h-\[120px\] {
2274
+ height: 120px;
2275
+ }
2276
+
2273
2277
  .h-\[125px\] {
2274
2278
  height: 125px;
2275
2279
  }
@@ -3409,6 +3413,10 @@ html {
3409
3413
  width: 60%;
3410
3414
  }
3411
3415
 
3416
+ .w-\[603px\] {
3417
+ width: 603px;
3418
+ }
3419
+
3412
3420
  .w-\[60px\] {
3413
3421
  width: 60px;
3414
3422
  }
@@ -3421,6 +3429,10 @@ html {
3421
3429
  width: 65%;
3422
3430
  }
3423
3431
 
3432
+ .w-\[652px\] {
3433
+ width: 652px;
3434
+ }
3435
+
3424
3436
  .w-\[66px\] {
3425
3437
  width: 66px;
3426
3438
  }
@@ -4305,6 +4317,10 @@ html {
4305
4317
  gap: 220px;
4306
4318
  }
4307
4319
 
4320
+ .gap-\[22px\] {
4321
+ gap: 22px;
4322
+ }
4323
+
4308
4324
  .gap-\[24px\] {
4309
4325
  gap: 24px;
4310
4326
  }
@@ -6727,6 +6743,10 @@ html {
6727
6743
  padding-bottom: 8px;
6728
6744
  }
6729
6745
 
6746
+ .pb-\[90px\] {
6747
+ padding-bottom: 90px;
6748
+ }
6749
+
6730
6750
  .pl-20 {
6731
6751
  padding-left: 5rem;
6732
6752
  }
@@ -10143,10 +10163,18 @@ body {
10143
10163
  width: 50px;
10144
10164
  }
10145
10165
 
10166
+ .max-3xl\:w-\[580px\] {
10167
+ width: 580px;
10168
+ }
10169
+
10146
10170
  .max-3xl\:w-\[60\%\] {
10147
10171
  width: 60%;
10148
10172
  }
10149
10173
 
10174
+ .max-3xl\:w-\[600px\] {
10175
+ width: 600px;
10176
+ }
10177
+
10150
10178
  .max-3xl\:w-\[6px\] {
10151
10179
  width: 6px;
10152
10180
  }
@@ -11218,6 +11246,10 @@ body {
11218
11246
  width: 46%;
11219
11247
  }
11220
11248
 
11249
+ .max-xl\:w-\[480px\] {
11250
+ width: 480px;
11251
+ }
11252
+
11221
11253
  .max-xl\:w-\[50\%\] {
11222
11254
  width: 50%;
11223
11255
  }
@@ -12404,6 +12436,10 @@ body {
12404
12436
  height: 300px;
12405
12437
  }
12406
12438
 
12439
+ .max-lg\:h-\[30px\] {
12440
+ height: 30px;
12441
+ }
12442
+
12407
12443
  .max-lg\:h-\[32px\] {
12408
12444
  height: 32px;
12409
12445
  }
@@ -12512,6 +12548,10 @@ body {
12512
12548
  width: 5rem;
12513
12549
  }
12514
12550
 
12551
+ .max-lg\:w-6 {
12552
+ width: 1.5rem;
12553
+ }
12554
+
12515
12555
  .max-lg\:w-\[140px\] {
12516
12556
  width: 140px;
12517
12557
  }
@@ -12743,6 +12783,10 @@ body {
12743
12783
  gap: 0.5rem;
12744
12784
  }
12745
12785
 
12786
+ .max-lg\:gap-5 {
12787
+ gap: 1.25rem;
12788
+ }
12789
+
12746
12790
  .max-lg\:gap-\[0px\] {
12747
12791
  gap: 0px;
12748
12792
  }
@@ -13010,6 +13054,10 @@ body {
13010
13054
  padding-bottom: 52px;
13011
13055
  }
13012
13056
 
13057
+ .max-lg\:pb-\[60px\] {
13058
+ padding-bottom: 60px;
13059
+ }
13060
+
13013
13061
  .max-lg\:pb-\[6px\] {
13014
13062
  padding-bottom: 6px;
13015
13063
  }
@@ -13054,6 +13102,10 @@ body {
13054
13102
  padding-top: 0px;
13055
13103
  }
13056
13104
 
13105
+ .max-lg\:pt-8 {
13106
+ padding-top: 2rem;
13107
+ }
13108
+
13057
13109
  .max-lg\:pt-\[10px\] {
13058
13110
  padding-top: 10px;
13059
13111
  }
@@ -13388,6 +13440,14 @@ body {
13388
13440
  width: 280px;
13389
13441
  }
13390
13442
 
13443
+ .max-md2\:w-\[300px\] {
13444
+ width: 300px;
13445
+ }
13446
+
13447
+ .max-md2\:w-\[320px\] {
13448
+ width: 320px;
13449
+ }
13450
+
13391
13451
  .max-md2\:w-\[65\%\] {
13392
13452
  width: 65%;
13393
13453
  }
@@ -13938,6 +13998,10 @@ body {
13938
13998
  height: 1rem;
13939
13999
  }
13940
14000
 
14001
+ .max-md\:h-7 {
14002
+ height: 1.75rem;
14003
+ }
14004
+
13941
14005
  .max-md\:h-\[150px\] {
13942
14006
  height: 150px;
13943
14007
  }
@@ -14140,6 +14204,10 @@ body {
14140
14204
  width: 230px;
14141
14205
  }
14142
14206
 
14207
+ .max-md\:w-\[240px\] {
14208
+ width: 240px;
14209
+ }
14210
+
14143
14211
  .max-md\:w-\[260px\] {
14144
14212
  width: 260px;
14145
14213
  }
@@ -14338,6 +14406,10 @@ body {
14338
14406
  gap: 0.5rem;
14339
14407
  }
14340
14408
 
14409
+ .max-md\:gap-3 {
14410
+ gap: 0.75rem;
14411
+ }
14412
+
14341
14413
  .max-md\:gap-8 {
14342
14414
  gap: 2rem;
14343
14415
  }
@@ -14467,6 +14539,16 @@ body {
14467
14539
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
14468
14540
  }
14469
14541
 
14542
+ .max-md\:object-\[30\%\] {
14543
+ -o-object-position: 30%;
14544
+ object-position: 30%;
14545
+ }
14546
+
14547
+ .max-md\:object-\[55\%\] {
14548
+ -o-object-position: 55%;
14549
+ object-position: 55%;
14550
+ }
14551
+
14470
14552
  .max-md\:object-center {
14471
14553
  -o-object-position: center;
14472
14554
  object-position: center;
@@ -14968,6 +15050,10 @@ body {
14968
15050
  padding-top: 0px;
14969
15051
  }
14970
15052
 
15053
+ .max-\[700px\]\:pt-\[60px\] {
15054
+ padding-top: 60px;
15055
+ }
15056
+
14971
15057
  .max-\[700px\]\:text-\[20px\] {
14972
15058
  font-size: 20px;
14973
15059
  }
@@ -15255,6 +15341,10 @@ body {
15255
15341
  display: none;
15256
15342
  }
15257
15343
 
15344
+ .max-sm\:h-6 {
15345
+ height: 1.5rem;
15346
+ }
15347
+
15258
15348
  .max-sm\:h-\[100px\] {
15259
15349
  height: 100px;
15260
15350
  }
@@ -15419,6 +15509,10 @@ body {
15419
15509
  height: 88px;
15420
15510
  }
15421
15511
 
15512
+ .max-sm\:h-\[90px\] {
15513
+ height: 90px;
15514
+ }
15515
+
15422
15516
  .max-sm\:h-auto {
15423
15517
  height: auto;
15424
15518
  }
@@ -15444,6 +15538,10 @@ body {
15444
15538
  min-height: 244px;
15445
15539
  }
15446
15540
 
15541
+ .max-sm\:w-5 {
15542
+ width: 1.25rem;
15543
+ }
15544
+
15447
15545
  .max-sm\:w-\[100\%\] {
15448
15546
  width: 100%;
15449
15547
  }
@@ -16589,6 +16687,10 @@ body {
16589
16687
  height: 2.75rem;
16590
16688
  }
16591
16689
 
16690
+ .max-xs\:h-5 {
16691
+ height: 1.25rem;
16692
+ }
16693
+
16592
16694
  .max-xs\:h-9 {
16593
16695
  height: 2.25rem;
16594
16696
  }
@@ -16697,6 +16799,10 @@ body {
16697
16799
  height: 100%;
16698
16800
  }
16699
16801
 
16802
+ .max-xs\:w-4 {
16803
+ width: 1rem;
16804
+ }
16805
+
16700
16806
  .max-xs\:w-9 {
16701
16807
  width: 2.25rem;
16702
16808
  }
@@ -19852,6 +19958,18 @@ body {
19852
19958
  transition-duration: 150ms;
19853
19959
  }
19854
19960
 
19961
+ .lg\:transition-colors {
19962
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
19963
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
19964
+ transition-duration: 150ms;
19965
+ }
19966
+
19967
+ .lg\:transition-transform {
19968
+ transition-property: transform;
19969
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
19970
+ transition-duration: 150ms;
19971
+ }
19972
+
19855
19973
  .lg\:duration-300 {
19856
19974
  transition-duration: 300ms;
19857
19975
  }
@@ -19911,6 +20029,12 @@ body {
19911
20029
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
19912
20030
  }
19913
20031
 
20032
+ .group:hover .lg\:group-hover\:scale-\[110\%\] {
20033
+ --tw-scale-x: 110%;
20034
+ --tw-scale-y: 110%;
20035
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
20036
+ }
20037
+
19914
20038
  .group:hover .lg\:group-hover\:gap-\[32px\] {
19915
20039
  gap: 32px;
19916
20040
  }
@@ -19925,6 +20049,11 @@ body {
19925
20049
  color: rgb(0 63 118 / var(--tw-text-opacity));
19926
20050
  }
19927
20051
 
20052
+ .group:hover .lg\:group-hover\:text-\[\#284890\] {
20053
+ --tw-text-opacity: 1;
20054
+ color: rgb(40 72 144 / var(--tw-text-opacity));
20055
+ }
20056
+
19928
20057
  .group:hover .lg\:group-hover\:opacity-100 {
19929
20058
  opacity: 1;
19930
20059
  }