@daeryun/dr_components 1.2.53 → 1.2.54

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,167 @@
1
+ //모바일용 하루동안보지않기 판별
2
+ import { IBannerTypes } from './TopBanner'
3
+
4
+ export const isTopPopupMobileHidden = () => {
5
+ if (typeof window === 'undefined') return false
6
+
7
+ const hideUntil = localStorage.getItem('topPopupMobileHideUntil')
8
+ if (!hideUntil) return false
9
+
10
+ return Number(hideUntil) > Date.now()
11
+ }
12
+
13
+ // 임시데이터
14
+ export const tempData: IBannerTypes[] = [
15
+ {
16
+ idx: 89,
17
+ color_code: '',
18
+ days: ['월', '화', '수', '목', '금', '토', '일'],
19
+ end_at: '2026-01-16T13:26:00.000Z',
20
+ end_hour: 23,
21
+ end_min: 59,
22
+ file_alt: '법무법인대륜 상단 팝업이미지',
23
+ file_path: '/topBanner',
24
+ file_type: 'file_tab',
25
+ is_show: true,
26
+ link_type: '_blank',
27
+ p_link: 'https://www.daeryunlaw.com/suit/form?type=ST006',
28
+ p_sort: 4,
29
+ save_file_name: 'top_banner_01_tb.webp',
30
+ start_at: '2025-12-02T13:26:00.000Z',
31
+ start_hour: 0,
32
+ start_min: 0
33
+ },
34
+ {
35
+ idx: 89,
36
+ color_code: '',
37
+ days: ['월', '화', '수', '목', '금', '토', '일'],
38
+ end_at: '2026-01-16T13:26:00.000Z',
39
+ end_hour: 23,
40
+ end_min: 59,
41
+ file_alt: '법무법인대륜 상단 팝업이미지',
42
+ file_path: '/topBanner',
43
+ file_type: 'file_mobile',
44
+ is_show: true,
45
+ link_type: '_blank',
46
+ p_link: 'https://www.daeryunlaw.com/suit/form?type=ST006',
47
+ p_sort: 4,
48
+ save_file_name: 'top_banner_01_mo.webp',
49
+ start_at: '2025-12-02T13:26:00.000Z',
50
+ start_hour: 0,
51
+ start_min: 0
52
+ },
53
+ {
54
+ idx: 94,
55
+ color_code: '',
56
+ days: ['월', '화', '수', '목', '금', '토', '일'],
57
+ end_at: '2026-01-27T11:26:00.000Z',
58
+ end_hour: 23,
59
+ end_min: 59,
60
+ file_alt: '법무법인대륜 상단 팝업이미지',
61
+ file_path: '/topBanner',
62
+ file_type: 'file_tab',
63
+ is_show: true,
64
+ link_type: '_blank',
65
+ p_link: 'https://www.daeryunlaw.com/seminar/24',
66
+ p_sort: 3,
67
+ save_file_name: 'top_banner_02_tb.webp',
68
+ start_at: '2026-01-14T11:26:00.000Z',
69
+ start_hour: 0,
70
+ start_min: 0
71
+ },
72
+ {
73
+ idx: 94,
74
+ color_code: '',
75
+ days: ['월', '화', '수', '목', '금', '토', '일'],
76
+ end_at: '2026-01-27T11:26:00.000Z',
77
+ end_hour: 23,
78
+ end_min: 59,
79
+ file_alt: '법무법인대륜 상단 팝업이미지',
80
+ file_path: '/topBanner',
81
+ file_type: 'file_mobile',
82
+ is_show: true,
83
+ link_type: '_blank',
84
+ p_link: 'https://www.daeryunlaw.com/seminar/24',
85
+ p_sort: 3,
86
+ save_file_name: 'top_banner_02_mo.webp',
87
+ start_at: '2026-01-14T11:26:00.000Z',
88
+ start_hour: 0,
89
+ start_min: 0
90
+ },
91
+ {
92
+ idx: 93,
93
+ color_code: '',
94
+ days: ['월', '화', '수', '목', '금', '토', '일'],
95
+ end_at: '2026-01-29T16:35:00.000Z',
96
+ end_hour: 23,
97
+ end_min: 59,
98
+ file_alt: '법무법인대륜 상단 팝업이미지',
99
+ file_path: '/topBanner',
100
+ file_type: 'file_tab',
101
+ is_show: true,
102
+ link_type: '_blank',
103
+ p_link: 'https://www.daeryunlaw.com/notice/6038',
104
+ p_sort: 2,
105
+ save_file_name: 'top_banner_03_tb.webp',
106
+ start_at: '2026-01-14T16:35:00.000Z',
107
+ start_hour: 0,
108
+ start_min: 0
109
+ },
110
+ {
111
+ idx: 93,
112
+ color_code: '',
113
+ days: ['월', '화', '수', '목', '금', '토', '일'],
114
+ end_at: '2026-01-29T16:35:00.000Z',
115
+ end_hour: 23,
116
+ end_min: 59,
117
+ file_alt: '법무법인대륜 상단 팝업이미지',
118
+ file_path: '/topBanner',
119
+ file_type: 'file_mobile',
120
+ is_show: true,
121
+ link_type: '_blank',
122
+ p_link: 'https://www.daeryunlaw.com/notice/6038',
123
+ p_sort: 2,
124
+ save_file_name: 'top_banner_03_mo.webp',
125
+ start_at: '2026-01-14T16:35:00.000Z',
126
+ start_hour: 0,
127
+ start_min: 0
128
+ },
129
+ {
130
+ idx: 90,
131
+ color_code: '',
132
+ days: ['월', '화', '수', '목', '금', '토', '일'],
133
+ end_at: '2026-01-23T11:14:00.000Z',
134
+ end_hour: 23,
135
+ end_min: 59,
136
+ file_alt: '법무법인대륜 상단 팝업이미지',
137
+ file_path: '/topBanner',
138
+ file_type: 'file_tab',
139
+ is_show: true,
140
+ link_type: '_blank',
141
+ p_link: 'https://forms.gle/verSBoCxvqraQy68A',
142
+ p_sort: 1,
143
+ save_file_name: 'top_banner_04_tb.webp',
144
+ start_at: '2025-12-16T11:14:00.000Z',
145
+ start_hour: 0,
146
+ start_min: 0
147
+ },
148
+ {
149
+ idx: 90,
150
+ color_code: '',
151
+ days: ['월', '화', '수', '목', '금', '토', '일'],
152
+ end_at: '2026-01-23T11:14:00.000Z',
153
+ end_hour: 23,
154
+ end_min: 59,
155
+ file_alt: '법무법인대륜 상단 팝업이미지',
156
+ file_path: '/topBanner',
157
+ file_type: 'file_mobile',
158
+ is_show: true,
159
+ link_type: '_blank',
160
+ p_link: 'https://forms.gle/verSBoCxvqraQy68A',
161
+ p_sort: 1,
162
+ save_file_name: 'top_banner_04_mo.webp',
163
+ start_at: '2025-12-16T11:14:00.000Z',
164
+ start_hour: 0,
165
+ start_min: 0
166
+ }
167
+ ]
@@ -1402,6 +1402,10 @@ html {
1402
1402
  z-index: 900;
1403
1403
  }
1404
1404
 
1405
+ .z-\[99991\] {
1406
+ z-index: 99991;
1407
+ }
1408
+
1405
1409
  .z-\[999998\] {
1406
1410
  z-index: 999998;
1407
1411
  }
@@ -1873,6 +1877,10 @@ html {
1873
1877
  margin-right: 5px;
1874
1878
  }
1875
1879
 
1880
+ .mr-\[60px\] {
1881
+ margin-right: 60px;
1882
+ }
1883
+
1876
1884
  .mr-\[70px\] {
1877
1885
  margin-right: 70px;
1878
1886
  }
@@ -2345,6 +2353,10 @@ html {
2345
2353
  aspect-ratio: 6/11;
2346
2354
  }
2347
2355
 
2356
+ .aspect-\[900\/392\] {
2357
+ aspect-ratio: 900/392;
2358
+ }
2359
+
2348
2360
  .aspect-square {
2349
2361
  aspect-ratio: 1 / 1;
2350
2362
  }
@@ -5029,6 +5041,10 @@ html {
5029
5041
  margin-left: calc(6px * calc(1 - var(--tw-space-x-reverse)));
5030
5042
  }
5031
5043
 
5044
+ .self-end {
5045
+ align-self: flex-end;
5046
+ }
5047
+
5032
5048
  .overflow-auto {
5033
5049
  overflow: auto;
5034
5050
  }
@@ -5263,6 +5279,11 @@ html {
5263
5279
  border-top-right-radius: 30px;
5264
5280
  }
5265
5281
 
5282
+ .rounded-t-\[40px\] {
5283
+ border-top-left-radius: 40px;
5284
+ border-top-right-radius: 40px;
5285
+ }
5286
+
5266
5287
  .rounded-t-\[8px\] {
5267
5288
  border-top-left-radius: 8px;
5268
5289
  border-top-right-radius: 8px;
@@ -5872,6 +5893,11 @@ html {
5872
5893
  background-color: rgb(0 0 0 / var(--tw-bg-opacity));
5873
5894
  }
5874
5895
 
5896
+ .bg-\[\#000\] {
5897
+ --tw-bg-opacity: 1;
5898
+ background-color: rgb(0 0 0 / var(--tw-bg-opacity));
5899
+ }
5900
+
5875
5901
  .bg-\[\#04325A\] {
5876
5902
  --tw-bg-opacity: 1;
5877
5903
  background-color: rgb(4 50 90 / var(--tw-bg-opacity));
@@ -6073,6 +6099,10 @@ html {
6073
6099
  background-color: rgb(138 23 41 / var(--tw-bg-opacity));
6074
6100
  }
6075
6101
 
6102
+ .bg-\[\#90909080\] {
6103
+ background-color: #90909080;
6104
+ }
6105
+
6076
6106
  .bg-\[\#909090\] {
6077
6107
  --tw-bg-opacity: 1;
6078
6108
  background-color: rgb(144 144 144 / var(--tw-bg-opacity));
@@ -6490,6 +6520,10 @@ html {
6490
6520
  --tw-bg-opacity: 0.7;
6491
6521
  }
6492
6522
 
6523
+ .bg-opacity-75 {
6524
+ --tw-bg-opacity: 0.75;
6525
+ }
6526
+
6493
6527
  .bg-opacity-80 {
6494
6528
  --tw-bg-opacity: 0.8;
6495
6529
  }
@@ -8337,6 +8371,10 @@ html {
8337
8371
  line-height: 1.25;
8338
8372
  }
8339
8373
 
8374
+ .tracking-\[-0\.02em\] {
8375
+ letter-spacing: -0.02em;
8376
+ }
8377
+
8340
8378
  .tracking-\[-0\.04\%\] {
8341
8379
  letter-spacing: -0.04%;
8342
8380
  }
@@ -15923,6 +15961,10 @@ body {
15923
15961
  margin-right: 1.25rem;
15924
15962
  }
15925
15963
 
15964
+ .max-md\:mr-\[40px\] {
15965
+ margin-right: 40px;
15966
+ }
15967
+
15926
15968
  .max-md\:mt-0 {
15927
15969
  margin-top: 0px;
15928
15970
  }
@@ -16836,6 +16878,11 @@ body {
16836
16878
  padding-right: 35px;
16837
16879
  }
16838
16880
 
16881
+ .max-md\:px-\[40px\] {
16882
+ padding-left: 40px;
16883
+ padding-right: 40px;
16884
+ }
16885
+
16839
16886
  .max-md\:py-10 {
16840
16887
  padding-top: 2.5rem;
16841
16888
  padding-bottom: 2.5rem;
@@ -17478,6 +17525,10 @@ body {
17478
17525
  margin-right: 0px;
17479
17526
  }
17480
17527
 
17528
+ .max-sm\:mr-\[16px\] {
17529
+ margin-right: 16px;
17530
+ }
17531
+
17481
17532
  .max-sm\:mt-10 {
17482
17533
  margin-top: 2.5rem;
17483
17534
  }
@@ -17770,6 +17821,10 @@ body {
17770
17821
  height: 568px;
17771
17822
  }
17772
17823
 
17824
+ .max-sm\:h-\[60px\] {
17825
+ height: 60px;
17826
+ }
17827
+
17773
17828
  .max-sm\:h-\[72px\] {
17774
17829
  height: 72px;
17775
17830
  }
@@ -17947,6 +18002,10 @@ body {
17947
18002
  width: 420px;
17948
18003
  }
17949
18004
 
18005
+ .max-sm\:w-\[47px\] {
18006
+ width: 47px;
18007
+ }
18008
+
17950
18009
  .max-sm\:w-\[50px\] {
17951
18010
  width: 50px;
17952
18011
  }
@@ -18305,6 +18364,11 @@ body {
18305
18364
  padding-bottom: 30px;
18306
18365
  }
18307
18366
 
18367
+ .max-sm\:py-\[4px\] {
18368
+ padding-top: 4px;
18369
+ padding-bottom: 4px;
18370
+ }
18371
+
18308
18372
  .max-sm\:py-\[60px\] {
18309
18373
  padding-top: 60px;
18310
18374
  padding-bottom: 60px;
@@ -18481,6 +18545,10 @@ body {
18481
18545
  font-size: 10px;
18482
18546
  }
18483
18547
 
18548
+ .max-sm\:text-\[13px\] {
18549
+ font-size: 13px;
18550
+ }
18551
+
18484
18552
  .max-sm\:text-\[14px\] {
18485
18553
  font-size: 14px;
18486
18554
  }
@@ -19101,6 +19169,10 @@ body {
19101
19169
  display: none;
19102
19170
  }
19103
19171
 
19172
+ .max-xs\:aspect-\[360\/216\] {
19173
+ aspect-ratio: 360/216;
19174
+ }
19175
+
19104
19176
  .max-xs\:h-11 {
19105
19177
  height: 2.75rem;
19106
19178
  }
@@ -19477,6 +19549,11 @@ body {
19477
19549
  overflow: hidden;
19478
19550
  }
19479
19551
 
19552
+ .max-xs\:rounded-t-\[20px\] {
19553
+ border-top-left-radius: 20px;
19554
+ border-top-right-radius: 20px;
19555
+ }
19556
+
19480
19557
  .max-xs\:p-0 {
19481
19558
  padding: 0px;
19482
19559
  }