@daeryun/dr_components 1.2.54 → 1.2.55

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.
@@ -99,7 +99,7 @@ const MobileTopBanner = ({ popup, setMobileOpen, addClickCnt }) => {
99
99
  // alt={item.file_alt}
100
100
  alt={'주말, 공휴일에도 방문상담 접수 진행 중입니다.'} fill onClick={() => {
101
101
  addClickCnt(item.idx);
102
- }} priority fetchPriority="high" sizes={'100vw'} className={'h-full w-full object-contain'}/>
102
+ }} priority fetchPriority="high" sizes={'100vw'} className={'h-full w-full object-cover'}/>
103
103
  </Link>);
104
104
  })}
105
105
  </span>
@@ -145,7 +145,7 @@ const MobileTopBanner = ({
145
145
  priority
146
146
  fetchPriority="high"
147
147
  sizes={'100vw'}
148
- className={'h-full w-full object-contain'}
148
+ className={'h-full w-full object-cover'}
149
149
  />
150
150
  </Link>
151
151
  );
@@ -41,7 +41,7 @@ export const tempData = [
41
41
  link_type: '_blank',
42
42
  p_link: 'https://www.daeryunlaw.com/suit/form?type=ST006',
43
43
  p_sort: 4,
44
- save_file_name: 'top_banner_01_mo.webp',
44
+ save_file_name: 'top_banner_01_mob.webp',
45
45
  start_at: '2025-12-02T13:26:00.000Z',
46
46
  start_hour: 0,
47
47
  start_min: 0
@@ -79,7 +79,7 @@ export const tempData = [
79
79
  link_type: '_blank',
80
80
  p_link: 'https://www.daeryunlaw.com/seminar/24',
81
81
  p_sort: 3,
82
- save_file_name: 'top_banner_02_mo.webp',
82
+ save_file_name: 'top_banner_02_mob.webp',
83
83
  start_at: '2026-01-14T11:26:00.000Z',
84
84
  start_hour: 0,
85
85
  start_min: 0
@@ -117,7 +117,7 @@ export const tempData = [
117
117
  link_type: '_blank',
118
118
  p_link: 'https://www.daeryunlaw.com/notice/6038',
119
119
  p_sort: 2,
120
- save_file_name: 'top_banner_03_mo.webp',
120
+ save_file_name: 'top_banner_03_mob.webp',
121
121
  start_at: '2026-01-14T16:35:00.000Z',
122
122
  start_hour: 0,
123
123
  start_min: 0
@@ -155,7 +155,7 @@ export const tempData = [
155
155
  link_type: '_blank',
156
156
  p_link: 'https://forms.gle/verSBoCxvqraQy68A',
157
157
  p_sort: 1,
158
- save_file_name: 'top_banner_04_mo.webp',
158
+ save_file_name: 'top_banner_04_mob.webp',
159
159
  start_at: '2025-12-16T11:14:00.000Z',
160
160
  start_hour: 0,
161
161
  start_min: 0
@@ -1,14 +1,14 @@
1
1
  //모바일용 하루동안보지않기 판별
2
- import { IBannerTypes } from './TopBanner'
2
+ import { IBannerTypes } from './TopBanner';
3
3
 
4
4
  export const isTopPopupMobileHidden = () => {
5
- if (typeof window === 'undefined') return false
5
+ if (typeof window === 'undefined') return false;
6
6
 
7
- const hideUntil = localStorage.getItem('topPopupMobileHideUntil')
8
- if (!hideUntil) return false
7
+ const hideUntil = localStorage.getItem('topPopupMobileHideUntil');
8
+ if (!hideUntil) return false;
9
9
 
10
- return Number(hideUntil) > Date.now()
11
- }
10
+ return Number(hideUntil) > Date.now();
11
+ };
12
12
 
13
13
  // 임시데이터
14
14
  export const tempData: IBannerTypes[] = [
@@ -45,7 +45,7 @@ export const tempData: IBannerTypes[] = [
45
45
  link_type: '_blank',
46
46
  p_link: 'https://www.daeryunlaw.com/suit/form?type=ST006',
47
47
  p_sort: 4,
48
- save_file_name: 'top_banner_01_mo.webp',
48
+ save_file_name: 'top_banner_01_mob.webp',
49
49
  start_at: '2025-12-02T13:26:00.000Z',
50
50
  start_hour: 0,
51
51
  start_min: 0
@@ -83,7 +83,7 @@ export const tempData: IBannerTypes[] = [
83
83
  link_type: '_blank',
84
84
  p_link: 'https://www.daeryunlaw.com/seminar/24',
85
85
  p_sort: 3,
86
- save_file_name: 'top_banner_02_mo.webp',
86
+ save_file_name: 'top_banner_02_mob.webp',
87
87
  start_at: '2026-01-14T11:26:00.000Z',
88
88
  start_hour: 0,
89
89
  start_min: 0
@@ -121,7 +121,7 @@ export const tempData: IBannerTypes[] = [
121
121
  link_type: '_blank',
122
122
  p_link: 'https://www.daeryunlaw.com/notice/6038',
123
123
  p_sort: 2,
124
- save_file_name: 'top_banner_03_mo.webp',
124
+ save_file_name: 'top_banner_03_mob.webp',
125
125
  start_at: '2026-01-14T16:35:00.000Z',
126
126
  start_hour: 0,
127
127
  start_min: 0
@@ -159,9 +159,9 @@ export const tempData: IBannerTypes[] = [
159
159
  link_type: '_blank',
160
160
  p_link: 'https://forms.gle/verSBoCxvqraQy68A',
161
161
  p_sort: 1,
162
- save_file_name: 'top_banner_04_mo.webp',
162
+ save_file_name: 'top_banner_04_mob.webp',
163
163
  start_at: '2025-12-16T11:14:00.000Z',
164
164
  start_hour: 0,
165
165
  start_min: 0
166
166
  }
167
- ]
167
+ ];