@daeryun/dr_components 0.6.78 → 0.6.79

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,220 @@
1
+ 'use client';
2
+
3
+ import style from './complete.module.css';
4
+ import classNames from 'classnames';
5
+ import Link from 'next/link';
6
+ import Arrow from '../../../asset/images/consult/arrow_icon.svg';
7
+ import * as gtag from '../../../lib/gtag';
8
+ import { useRouter } from 'next/navigation';
9
+
10
+ const ConsultComplete = (props: { result: boolean }) => {
11
+ const router = useRouter();
12
+ const goHome = () => {
13
+ router.push('/');
14
+ };
15
+
16
+ const discoveryClick = () => {
17
+ gtag.event({
18
+ action: 'discovery_click',
19
+ category: 'consult',
20
+ label: '증거조사포렌식서비스버튼',
21
+ value: '1'
22
+ });
23
+ };
24
+
25
+ const forensicClick = () => {
26
+ gtag.event({
27
+ action: 'forensic_click',
28
+ category: 'consult',
29
+ label: '디지털포렌식서비스버튼',
30
+ value: '1'
31
+ });
32
+ };
33
+
34
+ const guardClick = () => {
35
+ gtag.event({
36
+ action: 'guard_click',
37
+ category: 'consult',
38
+ label: '경호서비스버튼',
39
+ value: '1'
40
+ });
41
+ };
42
+ return props.result ? (
43
+ <>
44
+ <section>
45
+ <div className={`${style.complete} `}>
46
+ <div className={'mt-[9em] sm:mt-[14em] lg:mt-[20em]'}>
47
+ <svg
48
+ className={`${style.svg} `}
49
+ version="1.1"
50
+ xmlns="http://www.w3.org/2000/svg"
51
+ viewBox="0 0 130.2 130.2"
52
+ >
53
+ <circle
54
+ className={classNames({ [style.path]: true, [style.circle]: true })}
55
+ fill="none"
56
+ stroke="#ab0634"
57
+ strokeWidth="6"
58
+ strokeMiterlimit="10"
59
+ cx="65.1"
60
+ cy="65.1"
61
+ r="62.1"
62
+ />
63
+ <polyline
64
+ className={classNames({ [style.path]: true, [style.check]: true })}
65
+ fill="none"
66
+ stroke="#ab0634"
67
+ strokeWidth="6"
68
+ strokeLinecap="round"
69
+ strokeMiterlimit="10"
70
+ points="100.2,40.2 51.5,88.8 29.8,67.5 "
71
+ />
72
+ </svg>
73
+ </div>
74
+
75
+ <div className={style.sub_title}>
76
+ <h1 className={''}>신청이 완료되었습니다.</h1>
77
+ <p className={style.tit_box}>
78
+ 접수하신 상담문의는 순차적으로 직원 확인 후 <br />
79
+ <b>대표번호(1800-7905)</b>로 전화드리겠습니다.
80
+ <br />
81
+ </p>
82
+ <br />
83
+ <p className={'tracking-tighter'}>
84
+ 대륜을 선택해주신 믿음에 보답하고자 편안한 분위기에서 <br />
85
+ 체계적인 상담이 이뤄질 수 있도록 노력하겠습니다.
86
+ <br />
87
+ <br />
88
+ </p>
89
+ </div>
90
+ <div
91
+ className={
92
+ 'mx-auto mb-[1.6em] mt-[1.8em] flex flex-col justify-center gap-[20px] text-center md:flex-row'
93
+ }
94
+ >
95
+ <Link
96
+ href={'https://daeryunlaw-discovery.com/'}
97
+ className={
98
+ 'group flex h-[70px] w-[320px] flex-col items-center justify-center rounded-[38px] border-[1px] border-solid border-[#AE0E36] leading-[1.4] transition-[background-color] hover:bg-[#AE0E36] max-md:m-auto xs:w-[320px]'
99
+ }
100
+ onClick={discoveryClick}
101
+ target={'_blank'}
102
+ >
103
+ <p
104
+ className={
105
+ 'text-[16px] font-extrabold text-[#AE0E36] transition-[color] group-hover:text-[#fff]'
106
+ }
107
+ >
108
+ 증거조사도 같이 상담받으세요
109
+ </p>
110
+ <p
111
+ className={
112
+ ' flex items-center gap-[8px] text-[15px] transition-[color] group-hover:text-[#fff]'
113
+ }
114
+ >
115
+ 관련정보 보러가기
116
+ <Arrow className={'transition-[fill] group-hover:fill-white'} />
117
+ </p>
118
+ </Link>
119
+
120
+ <Link
121
+ href={'https://www.daeryunlaw-forensic.com/'}
122
+ className={
123
+ 'group flex h-[70px] w-[320px] flex-col items-center justify-center rounded-[38px] border-[1px] border-solid border-[#AE0E36] leading-[1.4] transition-[background-color] hover:bg-[#AE0E36] max-md:m-auto xs:w-[320px]'
124
+ }
125
+ onClick={forensicClick}
126
+ target={'_blank'}
127
+ >
128
+ <p
129
+ className={
130
+ 'text-[16px] font-extrabold text-[#AE0E36] transition-[color] group-hover:text-[#fff]'
131
+ }
132
+ >
133
+ 디지털포렌식도 같이 상담받으세요
134
+ </p>
135
+ <p
136
+ className={
137
+ ' flex items-center gap-[8px] text-[15px] transition-[color] group-hover:text-[#fff]'
138
+ }
139
+ >
140
+ 관련정보 보러가기
141
+ <Arrow className={'transition-[fill] group-hover:fill-white'} />
142
+ </p>
143
+ </Link>
144
+ <Link
145
+ href={'https://www.daeryunlaw-guard.com/'}
146
+ className={
147
+ 'group flex h-[70px] w-[320px] flex-col items-center justify-center rounded-[38px] border-[1px] border-solid border-[#AE0E36] leading-[1.4] transition-[background-color] hover:bg-[#AE0E36] max-md:m-auto xs:w-[320px]'
148
+ }
149
+ onClick={guardClick}
150
+ target={'_blank'}
151
+ >
152
+ <p
153
+ className={
154
+ 'text-[16px] font-extrabold text-[#AE0E36] transition-[color] group-hover:text-[#fff]'
155
+ }
156
+ >
157
+ 경호서비스도 받을 수 있습니다
158
+ </p>
159
+ <p
160
+ className={
161
+ ' flex items-center gap-[8px] text-[15px] transition-[color] group-hover:text-[#fff]'
162
+ }
163
+ >
164
+ 관련정보 보러가기
165
+ <Arrow className={'transition-[fill] group-hover:fill-white'} />
166
+ </p>
167
+ </Link>
168
+ </div>
169
+ <div className={`${style.btn} mb-[4em] sm:mb-[7em] lg:mb-[10em] `}>
170
+ <button type="button" onClick={goHome}>
171
+ 홈으로 가기
172
+ </button>
173
+ </div>
174
+ </div>
175
+ </section>
176
+ </>
177
+ ) : (
178
+ <>
179
+ <section>
180
+ <div className={style.complete}>
181
+ <svg
182
+ className={style.svg}
183
+ version="1.1"
184
+ xmlns="http://www.w3.org/2000/svg"
185
+ viewBox="0 0 130.2 130.2"
186
+ >
187
+ <circle
188
+ className={classNames({ [style.path]: true, [style.circle]: true })}
189
+ fill="none"
190
+ stroke="#ab0634"
191
+ strokeWidth="6"
192
+ strokeMiterlimit="10"
193
+ cx="65.1"
194
+ cy="65.1"
195
+ r="62.1"
196
+ />
197
+ <polyline
198
+ className={classNames({ [style.path]: true, [style.check]: true })}
199
+ fill="none"
200
+ stroke="#ab0634"
201
+ strokeWidth="6"
202
+ strokeLinecap="round"
203
+ strokeMiterlimit="10"
204
+ points="100.2,40.2 51.5,88.8 29.8,67.5 "
205
+ />
206
+ </svg>
207
+ <div className={style.sub_title}>
208
+ <p>잘못된 접근입니다.</p>
209
+ </div>
210
+ <div className={style.btn}>
211
+ <button type="button" onClick={goHome}>
212
+ 홈으로 가기
213
+ </button>
214
+ </div>
215
+ </div>
216
+ </section>
217
+ </>
218
+ );
219
+ };
220
+ export default ConsultComplete;
@@ -0,0 +1,141 @@
1
+ #complete_cont {
2
+
3
+ margin: 0 auto;
4
+ line-height: 1.6;
5
+ }
6
+
7
+ .complete {
8
+ width: 100%;
9
+
10
+ }
11
+ .complete .sub_title {
12
+ text-align: center;
13
+ }
14
+ .complete .sub_title h1 {
15
+ font-size: 38px;
16
+ padding-bottom: 20px;
17
+ }
18
+ .complete .sub_title p {
19
+ font-size: 20px;
20
+ color: #666;
21
+ }
22
+ .complete .sub_title p b {
23
+ color: #ab0634;
24
+ }
25
+ .complete .sub_title .tit_box {
26
+ background-color: #f1f1f1c2;
27
+ width: 50%;
28
+ margin: 0 auto;
29
+ padding: 1em;
30
+ }
31
+ .complete .btn {
32
+ text-align: center;
33
+ }
34
+ .complete .btn button {
35
+ padding: 10px 40px;
36
+ background-color: #fff;
37
+ cursor: pointer;
38
+ color: #747474;
39
+ font-size: 18px;
40
+ font-weight: 400;
41
+ margin-right: 5px;
42
+ border: 1px solid #d5d5d5;
43
+ }
44
+ .complete .btn button:hover {
45
+ background-color: #ab0634;
46
+ color: #fff;
47
+ border-color:#ab0634;
48
+ }
49
+
50
+ .svg {
51
+ width: 100px;
52
+ display: block;
53
+ margin: 0 auto;
54
+ margin-bottom: 40px;
55
+ margin-top: -50px;
56
+ }
57
+
58
+ .path {
59
+ stroke-dasharray: 1000;
60
+ stroke-dashoffset: 0;
61
+ }
62
+
63
+ .path.circle {
64
+ animation: dash 0.9s ease-in-out;
65
+ animation-fill-mode: forwards;
66
+ }
67
+
68
+ .path.check {
69
+ stroke-dashoffset: -100;
70
+ animation: check 3s ease-in;
71
+ animation-fill-mode: forwards;
72
+ }
73
+
74
+ @keyframes check {
75
+ 0% {
76
+ stroke-dashoffset: -100;
77
+ }
78
+ 100% {
79
+ stroke-dashoffset: 900;
80
+ }
81
+ }
82
+
83
+ @media only screen and (max-width: 1280px) {
84
+ #complete_cont {
85
+ width: 100%;
86
+ margin: 0 auto;
87
+ line-height: 1.6;
88
+ }
89
+
90
+ .complete {
91
+ width: 100%;
92
+
93
+ }
94
+ .complete .sub_title .tit_box {
95
+ width: 70%;
96
+ }
97
+ }
98
+
99
+ @media only screen and (max-width: 640px) {
100
+ #complete_cont {
101
+ width: 100%;
102
+ margin: 0 auto;
103
+ line-height: 1.6;
104
+ position: relative;
105
+ }
106
+
107
+ .complete {
108
+
109
+
110
+ }
111
+ .complete .sub_title h1 {
112
+ font-size: 28px;
113
+ padding-bottom: 15px;
114
+ }
115
+ .complete .sub_title p {
116
+ font-size: 15px;
117
+ color: #666;
118
+ }
119
+
120
+ .complete .btn button {
121
+ padding: 10px 40px;
122
+ background-color: #fff;
123
+ cursor: pointer;
124
+ color: #747474;
125
+ font-size: 18px;
126
+ font-weight: 300;
127
+ margin-top: 50px;
128
+ margin-right: 5px;
129
+ border: 1px solid #d5d5d5;
130
+ }
131
+
132
+ .svg {
133
+ width: 80px;
134
+ display: block;
135
+ margin: 0 auto;
136
+ margin-bottom: 50px;
137
+ }
138
+ .complete .sub_title .tit_box {
139
+ width: 90%;
140
+ }
141
+ }
@@ -1233,6 +1233,10 @@ video {
1233
1233
  margin-bottom: 2.25rem;
1234
1234
  }
1235
1235
 
1236
+ .mb-\[1\.6em\] {
1237
+ margin-bottom: 1.6em;
1238
+ }
1239
+
1236
1240
  .mb-\[100px\] {
1237
1241
  margin-bottom: 100px;
1238
1242
  }
@@ -1313,6 +1317,10 @@ video {
1313
1317
  margin-bottom: 46px;
1314
1318
  }
1315
1319
 
1320
+ .mb-\[4em\] {
1321
+ margin-bottom: 4em;
1322
+ }
1323
+
1316
1324
  .mb-\[4px\] {
1317
1325
  margin-bottom: 4px;
1318
1326
  }
@@ -1489,6 +1497,10 @@ video {
1489
1497
  margin-top: -330px;
1490
1498
  }
1491
1499
 
1500
+ .mt-\[1\.8em\] {
1501
+ margin-top: 1.8em;
1502
+ }
1503
+
1492
1504
  .mt-\[100px\] {
1493
1505
  margin-top: 100px;
1494
1506
  }
@@ -1713,6 +1725,10 @@ video {
1713
1725
  margin-top: 8px;
1714
1726
  }
1715
1727
 
1728
+ .mt-\[9em\] {
1729
+ margin-top: 9em;
1730
+ }
1731
+
1716
1732
  .mt-auto {
1717
1733
  margin-top: auto;
1718
1734
  }
@@ -3672,6 +3688,10 @@ video {
3672
3688
  border-radius: 36px;
3673
3689
  }
3674
3690
 
3691
+ .rounded-\[38px\] {
3692
+ border-radius: 38px;
3693
+ }
3694
+
3675
3695
  .rounded-\[40px\] {
3676
3696
  border-radius: 40px;
3677
3697
  }
@@ -3896,6 +3916,11 @@ video {
3896
3916
  border-color: rgb(170 29 54 / var(--tw-border-opacity));
3897
3917
  }
3898
3918
 
3919
+ .border-\[\#AE0E36\] {
3920
+ --tw-border-opacity: 1;
3921
+ border-color: rgb(174 14 54 / var(--tw-border-opacity));
3922
+ }
3923
+
3899
3924
  .border-\[\#B5B5B5\] {
3900
3925
  --tw-border-opacity: 1;
3901
3926
  border-color: rgb(181 181 181 / var(--tw-border-opacity));
@@ -6233,6 +6258,12 @@ video {
6233
6258
  transition-duration: 150ms;
6234
6259
  }
6235
6260
 
6261
+ .transition-\[background-color\] {
6262
+ transition-property: background-color;
6263
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
6264
+ transition-duration: 150ms;
6265
+ }
6266
+
6236
6267
  .transition-\[border\] {
6237
6268
  transition-property: border;
6238
6269
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
@@ -7383,6 +7414,11 @@ body {
7383
7414
  background-color: rgb(114 45 109 / var(--tw-bg-opacity));
7384
7415
  }
7385
7416
 
7417
+ .hover\:bg-\[\#AE0E36\]:hover {
7418
+ --tw-bg-opacity: 1;
7419
+ background-color: rgb(174 14 54 / var(--tw-bg-opacity));
7420
+ }
7421
+
7386
7422
  .hover\:bg-\[\#EAEAEA\]:hover {
7387
7423
  --tw-bg-opacity: 1;
7388
7424
  background-color: rgb(234 234 234 / var(--tw-bg-opacity));
@@ -10254,6 +10290,10 @@ body {
10254
10290
  margin: 0px;
10255
10291
  }
10256
10292
 
10293
+ .max-md\:m-auto {
10294
+ margin: auto;
10295
+ }
10296
+
10257
10297
  .max-md\:mx-\[-10px\] {
10258
10298
  margin-left: -10px;
10259
10299
  margin-right: -10px;
@@ -12740,6 +12780,10 @@ body {
12740
12780
  display: none;
12741
12781
  }
12742
12782
 
12783
+ .xs\:w-\[320px\] {
12784
+ width: 320px;
12785
+ }
12786
+
12743
12787
  .xs\:w-full {
12744
12788
  width: 100%;
12745
12789
  }
@@ -12831,6 +12875,10 @@ body {
12831
12875
  margin-bottom: 10px;
12832
12876
  }
12833
12877
 
12878
+ .sm\:mb-\[7em\] {
12879
+ margin-bottom: 7em;
12880
+ }
12881
+
12834
12882
  .sm\:ml-4 {
12835
12883
  margin-left: 1rem;
12836
12884
  }
@@ -12847,6 +12895,10 @@ body {
12847
12895
  margin-top: 2rem;
12848
12896
  }
12849
12897
 
12898
+ .sm\:mt-\[14em\] {
12899
+ margin-top: 14em;
12900
+ }
12901
+
12850
12902
  .sm\:mt-\[32px\] {
12851
12903
  margin-top: 32px;
12852
12904
  }
@@ -13809,6 +13861,10 @@ body {
13809
13861
  margin-bottom: 20px;
13810
13862
  }
13811
13863
 
13864
+ .lg\:mb-\[10em\] {
13865
+ margin-bottom: 10em;
13866
+ }
13867
+
13812
13868
  .lg\:mb-\[3px\] {
13813
13869
  margin-bottom: 3px;
13814
13870
  }
@@ -13865,6 +13921,10 @@ body {
13865
13921
  margin-top: 18px;
13866
13922
  }
13867
13923
 
13924
+ .lg\:mt-\[20em\] {
13925
+ margin-top: 20em;
13926
+ }
13927
+
13868
13928
  .lg\:mt-\[20px\] {
13869
13929
  margin-top: 20px;
13870
13930
  }