@daeryun/dr_components 0.1.64 → 0.1.66
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.
- package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/CountingSection/CountingSection.jsx +2 -2
- package/dist/components/CountingSection/CountingSection.tsx +2 -2
- package/dist/components/MapFix/AreaImage.d.ts +1 -0
- package/dist/components/MapFix/AreaImage.jsx +6 -2
- package/dist/components/MapFix/AreaImage.tsx +9 -3
- package/dist/components/MapFix/MapFix.d.ts +1 -0
- package/dist/components/MapFix/MapFix.jsx +3 -2
- package/dist/components/MapFix/MapFix.tsx +8 -4
- package/dist/components/MapSection/MapSection.d.ts +3 -2
- package/dist/components/MapSection/MapSection.jsx +23 -13
- package/dist/components/MapSection/MapSection.tsx +30 -22
- package/dist/styles/globals.css +52 -48
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -16,13 +16,15 @@ const MapSection = ({
|
|
|
16
16
|
selectRegion,
|
|
17
17
|
setSelectRegion,
|
|
18
18
|
setMapFixOpen,
|
|
19
|
-
Title
|
|
19
|
+
Title,
|
|
20
|
+
isGroup = false
|
|
20
21
|
}: {
|
|
21
22
|
initialData: IInitialDataTypes;
|
|
22
23
|
selectRegion: string;
|
|
23
24
|
setSelectRegion: any;
|
|
24
25
|
setMapFixOpen: any;
|
|
25
|
-
Title
|
|
26
|
+
Title: React.ReactNode;
|
|
27
|
+
isGroup?: boolean;
|
|
26
28
|
}) => {
|
|
27
29
|
const router = useRouter();
|
|
28
30
|
|
|
@@ -54,34 +56,40 @@ const MapSection = ({
|
|
|
54
56
|
'w-[60%] pb-[200px] max-3xl:pb-[140px] max-lg:w-[63%] max-md2:w-[65%] max-md:w-full max-md:pb-0'
|
|
55
57
|
}
|
|
56
58
|
>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
<span
|
|
60
|
+
className={
|
|
61
|
+
`flex items-center gap-[20px] !font-[NanumSquare] text-[173px] font-[800] leading-none tracking-tight text-black max-3xl:text-[150px] max-xxl:text-[120px] max-lg:text-[90px] max-md:text-[80px]` +
|
|
62
|
+
' max-lg:gap-[10px] ' +
|
|
63
|
+
' max-sm:items-end ' +
|
|
64
|
+
' max-sm:text-[150px] max-2sm:text-[120px] max-xs:text-[100px] max-2xs:text-[70px]'
|
|
65
|
+
}
|
|
66
|
+
>
|
|
67
|
+
{initialData.office_cnt}
|
|
68
|
+
|
|
69
|
+
<span className={'flex flex-col gap-[10px] max-lg:gap-[5px]'}>
|
|
70
|
+
<h2
|
|
62
71
|
className={
|
|
63
|
-
|
|
64
|
-
' max-sm:text-[100px] max-2xs:text-[70px] '
|
|
72
|
+
'text-[30px] tracking-[-0.6px] max-3xl:text-[24px] max-xl:text-[22px] max-lg:text-[18px] max-sm:hidden '
|
|
65
73
|
}
|
|
66
74
|
>
|
|
67
|
-
{
|
|
68
|
-
</
|
|
75
|
+
{Title ? Title : '전국의 대륜 산재전문변호사는 365일 24시간 긴급 대응 가능'}
|
|
76
|
+
</h2>
|
|
69
77
|
<span
|
|
70
78
|
className={
|
|
71
|
-
'
|
|
79
|
+
'text-[80px] max-3xl:text-[70px] max-xxl:text-[60px] ' +
|
|
80
|
+
'max-lg:text-[45px] ' +
|
|
81
|
+
'max-md:text-[40px] ' +
|
|
82
|
+
'max-sm:mb-[15px] max-sm:text-[65px] ' +
|
|
83
|
+
'max-2sm:mb-[10px] max-2sm:text-[55px] ' +
|
|
84
|
+
'max-2sm:mb-[7px] max-xs:text-[45px] ' +
|
|
85
|
+
'max-2xs:text-[35px]'
|
|
72
86
|
}
|
|
73
87
|
>
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
'text-[80px] font-[900] leading-none tracking-[-3.2px] ' +
|
|
77
|
-
'max-3xl:text-[70px] max-xxl:text-[60px] max-lg:text-[45px] max-md:text-[40px] max-sm:text-[45px] max-2xs:text-[35px]'
|
|
78
|
-
}
|
|
79
|
-
>
|
|
80
|
-
OFFICE
|
|
81
|
-
</p>
|
|
88
|
+
{' '}
|
|
89
|
+
OFFICE
|
|
82
90
|
</span>
|
|
83
91
|
</span>
|
|
84
|
-
|
|
92
|
+
</span>
|
|
85
93
|
|
|
86
94
|
<div
|
|
87
95
|
className={
|
|
@@ -120,7 +128,7 @@ const MapSection = ({
|
|
|
120
128
|
>
|
|
121
129
|
{mapAreas && mapAreas.length > 0 ? (
|
|
122
130
|
mapAreas.map((area, index) => {
|
|
123
|
-
return <AreaImage key={index} area={area} />;
|
|
131
|
+
return <AreaImage key={index} area={area} isGroup={isGroup} />;
|
|
124
132
|
})
|
|
125
133
|
) : (
|
|
126
134
|
<></>
|
package/dist/styles/globals.css
CHANGED
|
@@ -1383,10 +1383,6 @@ video {
|
|
|
1383
1383
|
flex-wrap: wrap;
|
|
1384
1384
|
}
|
|
1385
1385
|
|
|
1386
|
-
.items-end {
|
|
1387
|
-
align-items: flex-end;
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
1386
|
.items-center {
|
|
1391
1387
|
align-items: center;
|
|
1392
1388
|
}
|
|
@@ -1768,10 +1764,6 @@ video {
|
|
|
1768
1764
|
padding-bottom: 2.5rem;
|
|
1769
1765
|
}
|
|
1770
1766
|
|
|
1771
|
-
.pb-\[1\.1\%\] {
|
|
1772
|
-
padding-bottom: 1.1%;
|
|
1773
|
-
}
|
|
1774
|
-
|
|
1775
1767
|
.pb-\[200px\] {
|
|
1776
1768
|
padding-bottom: 200px;
|
|
1777
1769
|
}
|
|
@@ -1788,10 +1780,6 @@ video {
|
|
|
1788
1780
|
padding-bottom: 30px;
|
|
1789
1781
|
}
|
|
1790
1782
|
|
|
1791
|
-
.pb-\[8px\] {
|
|
1792
|
-
padding-bottom: 8px;
|
|
1793
|
-
}
|
|
1794
|
-
|
|
1795
1783
|
.pl-\[12px\] {
|
|
1796
1784
|
padding-left: 12px;
|
|
1797
1785
|
}
|
|
@@ -1959,10 +1947,6 @@ video {
|
|
|
1959
1947
|
font-weight: 800;
|
|
1960
1948
|
}
|
|
1961
1949
|
|
|
1962
|
-
.font-\[900\] {
|
|
1963
|
-
font-weight: 900;
|
|
1964
|
-
}
|
|
1965
|
-
|
|
1966
1950
|
.font-bold {
|
|
1967
1951
|
font-weight: 700;
|
|
1968
1952
|
}
|
|
@@ -1979,10 +1963,6 @@ video {
|
|
|
1979
1963
|
font-weight: 600;
|
|
1980
1964
|
}
|
|
1981
1965
|
|
|
1982
|
-
.leading-\[0\.8\] {
|
|
1983
|
-
line-height: 0.8;
|
|
1984
|
-
}
|
|
1985
|
-
|
|
1986
1966
|
.leading-\[17px\] {
|
|
1987
1967
|
line-height: 17px;
|
|
1988
1968
|
}
|
|
@@ -2035,14 +2015,6 @@ video {
|
|
|
2035
2015
|
letter-spacing: -2px;
|
|
2036
2016
|
}
|
|
2037
2017
|
|
|
2038
|
-
.tracking-\[-3\.2px\] {
|
|
2039
|
-
letter-spacing: -3.2px;
|
|
2040
|
-
}
|
|
2041
|
-
|
|
2042
|
-
.tracking-\[-3\.46px\] {
|
|
2043
|
-
letter-spacing: -3.46px;
|
|
2044
|
-
}
|
|
2045
|
-
|
|
2046
2018
|
.tracking-\[0px\] {
|
|
2047
2019
|
letter-spacing: 0px;
|
|
2048
2020
|
}
|
|
@@ -2472,10 +2444,6 @@ body {
|
|
|
2472
2444
|
padding-bottom: 140px;
|
|
2473
2445
|
}
|
|
2474
2446
|
|
|
2475
|
-
.max-3xl\:pb-\[6px\] {
|
|
2476
|
-
padding-bottom: 6px;
|
|
2477
|
-
}
|
|
2478
|
-
|
|
2479
2447
|
.max-3xl\:text-\[150px\] {
|
|
2480
2448
|
font-size: 150px;
|
|
2481
2449
|
}
|
|
@@ -2510,10 +2478,6 @@ body {
|
|
|
2510
2478
|
padding: 10px;
|
|
2511
2479
|
}
|
|
2512
2480
|
|
|
2513
|
-
.max-xxl\:pb-\[3px\] {
|
|
2514
|
-
padding-bottom: 3px;
|
|
2515
|
-
}
|
|
2516
|
-
|
|
2517
2481
|
.max-xxl\:text-\[120px\] {
|
|
2518
2482
|
font-size: 120px;
|
|
2519
2483
|
}
|
|
@@ -2602,6 +2566,10 @@ body {
|
|
|
2602
2566
|
font-size: 20px;
|
|
2603
2567
|
}
|
|
2604
2568
|
|
|
2569
|
+
.max-xl\:text-\[22px\] {
|
|
2570
|
+
font-size: 22px;
|
|
2571
|
+
}
|
|
2572
|
+
|
|
2605
2573
|
.max-xl\:text-\[48px\] {
|
|
2606
2574
|
font-size: 48px;
|
|
2607
2575
|
}
|
|
@@ -2778,6 +2746,14 @@ body {
|
|
|
2778
2746
|
gap: 0.5rem;
|
|
2779
2747
|
}
|
|
2780
2748
|
|
|
2749
|
+
.max-lg\:gap-\[10px\] {
|
|
2750
|
+
gap: 10px;
|
|
2751
|
+
}
|
|
2752
|
+
|
|
2753
|
+
.max-lg\:gap-\[5px\] {
|
|
2754
|
+
gap: 5px;
|
|
2755
|
+
}
|
|
2756
|
+
|
|
2781
2757
|
.max-lg\:rounded-none {
|
|
2782
2758
|
border-radius: 0px;
|
|
2783
2759
|
}
|
|
@@ -2838,10 +2814,6 @@ body {
|
|
|
2838
2814
|
padding-bottom: 18px;
|
|
2839
2815
|
}
|
|
2840
2816
|
|
|
2841
|
-
.max-lg\:pl-\[10px\] {
|
|
2842
|
-
padding-left: 10px;
|
|
2843
|
-
}
|
|
2844
|
-
|
|
2845
2817
|
.max-lg\:pt-\[10px\] {
|
|
2846
2818
|
padding-top: 10px;
|
|
2847
2819
|
}
|
|
@@ -3154,6 +3126,14 @@ body {
|
|
|
3154
3126
|
}
|
|
3155
3127
|
|
|
3156
3128
|
@media not all and (min-width: 640px) {
|
|
3129
|
+
.max-sm\:mb-\[15px\] {
|
|
3130
|
+
margin-bottom: 15px;
|
|
3131
|
+
}
|
|
3132
|
+
|
|
3133
|
+
.max-sm\:hidden {
|
|
3134
|
+
display: none;
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3157
3137
|
.max-sm\:h-\[300px\] {
|
|
3158
3138
|
height: 300px;
|
|
3159
3139
|
}
|
|
@@ -3186,6 +3166,10 @@ body {
|
|
|
3186
3166
|
width: 30%;
|
|
3187
3167
|
}
|
|
3188
3168
|
|
|
3169
|
+
.max-sm\:items-end {
|
|
3170
|
+
align-items: flex-end;
|
|
3171
|
+
}
|
|
3172
|
+
|
|
3189
3173
|
.max-sm\:object-left {
|
|
3190
3174
|
-o-object-position: left;
|
|
3191
3175
|
object-position: left;
|
|
@@ -3201,20 +3185,24 @@ body {
|
|
|
3201
3185
|
padding-bottom: 80px;
|
|
3202
3186
|
}
|
|
3203
3187
|
|
|
3204
|
-
.max-sm\:
|
|
3205
|
-
|
|
3206
|
-
}
|
|
3207
|
-
|
|
3208
|
-
.max-sm\:text-\[100px\] {
|
|
3209
|
-
font-size: 100px;
|
|
3188
|
+
.max-sm\:text-\[150px\] {
|
|
3189
|
+
font-size: 150px;
|
|
3210
3190
|
}
|
|
3211
3191
|
|
|
3212
|
-
.max-sm\:text-\[
|
|
3213
|
-
font-size:
|
|
3192
|
+
.max-sm\:text-\[65px\] {
|
|
3193
|
+
font-size: 65px;
|
|
3214
3194
|
}
|
|
3215
3195
|
}
|
|
3216
3196
|
|
|
3217
3197
|
@media not all and (min-width: 520px) {
|
|
3198
|
+
.max-2sm\:mb-\[10px\] {
|
|
3199
|
+
margin-bottom: 10px;
|
|
3200
|
+
}
|
|
3201
|
+
|
|
3202
|
+
.max-2sm\:mb-\[7px\] {
|
|
3203
|
+
margin-bottom: 7px;
|
|
3204
|
+
}
|
|
3205
|
+
|
|
3218
3206
|
.max-2sm\:mt-\[15px\] {
|
|
3219
3207
|
margin-top: 15px;
|
|
3220
3208
|
}
|
|
@@ -3269,6 +3257,10 @@ body {
|
|
|
3269
3257
|
padding-left: 10px;
|
|
3270
3258
|
}
|
|
3271
3259
|
|
|
3260
|
+
.max-2sm\:text-\[120px\] {
|
|
3261
|
+
font-size: 120px;
|
|
3262
|
+
}
|
|
3263
|
+
|
|
3272
3264
|
.max-2sm\:text-\[13px\] {
|
|
3273
3265
|
font-size: 13px;
|
|
3274
3266
|
}
|
|
@@ -3284,6 +3276,10 @@ body {
|
|
|
3284
3276
|
.max-2sm\:text-\[27px\] {
|
|
3285
3277
|
font-size: 27px;
|
|
3286
3278
|
}
|
|
3279
|
+
|
|
3280
|
+
.max-2sm\:text-\[55px\] {
|
|
3281
|
+
font-size: 55px;
|
|
3282
|
+
}
|
|
3287
3283
|
}
|
|
3288
3284
|
|
|
3289
3285
|
@media not all and (min-width: 480px) {
|
|
@@ -3383,6 +3379,10 @@ body {
|
|
|
3383
3379
|
text-align: left;
|
|
3384
3380
|
}
|
|
3385
3381
|
|
|
3382
|
+
.max-xs\:text-\[100px\] {
|
|
3383
|
+
font-size: 100px;
|
|
3384
|
+
}
|
|
3385
|
+
|
|
3386
3386
|
.max-xs\:text-\[10px\] {
|
|
3387
3387
|
font-size: 10px;
|
|
3388
3388
|
}
|
|
@@ -3407,6 +3407,10 @@ body {
|
|
|
3407
3407
|
font-size: 30px;
|
|
3408
3408
|
}
|
|
3409
3409
|
|
|
3410
|
+
.max-xs\:text-\[45px\] {
|
|
3411
|
+
font-size: 45px;
|
|
3412
|
+
}
|
|
3413
|
+
|
|
3410
3414
|
.max-xs\:leading-snug {
|
|
3411
3415
|
line-height: 1.375;
|
|
3412
3416
|
}
|