@daeryun/dr_components 0.2.44 → 0.2.46

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,91 @@
1
+ import React, { RefObject, useEffect, useRef, useState } from 'react';
2
+ import BgImg from '../../asset/images/seo/rec_img_01.webp';
3
+ import Icon1 from '../../asset/images/seo/rec_01.svg';
4
+ import Icon2 from '../../asset/images/seo/rec_02.svg';
5
+ import Icon3 from '../../asset/images/seo/rec_03.svg';
6
+ import Arrow from '../../asset/images/seo/Arrow_Right_MD.svg';
7
+
8
+ import Image from 'next/image';
9
+ import { IInitialDataTypes } from '@daeryun/dr_components/types';
10
+ import Link from 'next/link';
11
+
12
+ const Seo = ({ initialData }: { initialData: IInitialDataTypes }) => {
13
+ const data = [
14
+ '대륜 로펌만의\n<b>AI 빅데이터 판결 분석</b> 변론',
15
+ '<b>620명 이상</b>의\n다양한 분야의 최고의 인재들',
16
+ '지난 4년간 기준\n<b>145,571건의 상담건수</b>'
17
+ ];
18
+
19
+ const iconComponents: any = {
20
+ 0: Icon1,
21
+ 1: Icon2,
22
+ 2: Icon3
23
+ };
24
+
25
+ return (
26
+ <>
27
+ <div className={'relative m-auto px-[20px] py-[40px] sm:px-[40px] sm:py-[40px]'}>
28
+ <Image src={BgImg} fill alt={'배경'} className={''} draggable={false} />
29
+ <div className={'relative'}>
30
+ <div className={'relative flex justify-between '}>
31
+ <p className={'text-[26px] font-[700] text-[#1B467F] max-lg:m-auto sm:text-[34px]'}>
32
+ 대륜의 주요 강점
33
+ </p>
34
+ <Link href={'/strength'} className={'hidden lg:block'}>
35
+ <button
36
+ className={
37
+ 'flex h-[53px] w-[220px] items-center justify-between bg-[#1B467F] px-[14px] text-[18px] font-[600] text-[#fff]'
38
+ }
39
+ >
40
+ 더 많은 강점 살펴보기
41
+ <Arrow></Arrow>
42
+ </button>
43
+ </Link>
44
+ </div>
45
+
46
+ <div
47
+ className={
48
+ 'mt-[26px] flex flex-col justify-between gap-[12px] text-[16px] leading-[20px] sm:mt-[50px] sm:gap-[20px] sm:text-[22px] sm:leading-[28px] lg:flex-row lg:gap-[40px]'
49
+ }
50
+ >
51
+ {data.map((item, index) => (
52
+ <div
53
+ key={index}
54
+ className={
55
+ 'flex h-[94px] items-center justify-center gap-[20px] rounded-[12px] bg-[#fff] bg-opacity-50 text-center tracking-[-0.7px] shadow-md max-sm:px-[18px] sm:h-[120px] lg:h-[200px] lg:w-[306px] lg:flex-col'
56
+ }
57
+ >
58
+ <div
59
+ className={`${index !== 0 ? 'w-[30px]' : 'h-[42px] w-[46px]'} sm:h-[50px] sm:w-[56px] `}
60
+ >
61
+ {iconComponents[index] &&
62
+ React.createElement((iconComponents as any)[index], {
63
+ className: 'w-full h-full'
64
+ })}
65
+ </div>
66
+
67
+ <div
68
+ className="max-lg:w-[250px] max-lg:text-left max-sm:w-[180px]"
69
+ dangerouslySetInnerHTML={{ __html: item.replace(/\n/g, '<br />') }}
70
+ ></div>
71
+ </div>
72
+ ))}
73
+ </div>
74
+
75
+ <Link href={'/strength'} className={' mt-[40px] flex items-center justify-center lg:hidden'}>
76
+ <button
77
+ className={
78
+ 'flex h-[43px] w-[200px] items-center justify-between bg-[#1B467F] px-[14px] text-[16px] font-[600] text-[#fff] sm:h-[53px] sm:w-[220px] sm:text-[18px]'
79
+ }
80
+ >
81
+ 더 많은 강점 살펴보기
82
+ <Arrow></Arrow>
83
+ </button>
84
+ </Link>
85
+ </div>
86
+ </div>
87
+ </>
88
+ );
89
+ };
90
+
91
+ export default Seo;
@@ -614,6 +614,10 @@ video {
614
614
  bottom: 2.5rem;
615
615
  }
616
616
 
617
+ .bottom-\[110px\] {
618
+ bottom: 110px;
619
+ }
620
+
617
621
  .bottom-\[20px\] {
618
622
  bottom: 20px;
619
623
  }
@@ -960,6 +964,10 @@ video {
960
964
  margin-top: 22px;
961
965
  }
962
966
 
967
+ .mt-\[26px\] {
968
+ margin-top: 26px;
969
+ }
970
+
963
971
  .mt-\[30px\] {
964
972
  margin-top: 30px;
965
973
  }
@@ -1160,6 +1168,10 @@ video {
1160
1168
  height: 42px;
1161
1169
  }
1162
1170
 
1171
+ .h-\[43px\] {
1172
+ height: 43px;
1173
+ }
1174
+
1163
1175
  .h-\[460px\] {
1164
1176
  height: 460px;
1165
1177
  }
@@ -1176,6 +1188,10 @@ video {
1176
1188
  height: 535px;
1177
1189
  }
1178
1190
 
1191
+ .h-\[53px\] {
1192
+ height: 53px;
1193
+ }
1194
+
1179
1195
  .h-\[55\%\] {
1180
1196
  height: 55%;
1181
1197
  }
@@ -1212,6 +1228,10 @@ video {
1212
1228
  height: 82px;
1213
1229
  }
1214
1230
 
1231
+ .h-\[94px\] {
1232
+ height: 94px;
1233
+ }
1234
+
1215
1235
  .h-auto {
1216
1236
  height: auto;
1217
1237
  }
@@ -1465,6 +1485,10 @@ video {
1465
1485
  width: 45%;
1466
1486
  }
1467
1487
 
1488
+ .w-\[46px\] {
1489
+ width: 46px;
1490
+ }
1491
+
1468
1492
  .w-\[48\%\] {
1469
1493
  width: 48%;
1470
1494
  }
@@ -2001,6 +2025,10 @@ video {
2001
2025
  border-radius: 10px;
2002
2026
  }
2003
2027
 
2028
+ .rounded-\[12px\] {
2029
+ border-radius: 12px;
2030
+ }
2031
+
2004
2032
  .rounded-\[15px\] {
2005
2033
  border-radius: 15px;
2006
2034
  }
@@ -2152,6 +2180,11 @@ video {
2152
2180
  background-color: rgb(27 36 79 / var(--tw-bg-opacity));
2153
2181
  }
2154
2182
 
2183
+ .bg-\[\#1B467F\] {
2184
+ --tw-bg-opacity: 1;
2185
+ background-color: rgb(27 70 127 / var(--tw-bg-opacity));
2186
+ }
2187
+
2155
2188
  .bg-\[\#285EA7\] {
2156
2189
  --tw-bg-opacity: 1;
2157
2190
  background-color: rgb(40 94 167 / var(--tw-bg-opacity));
@@ -2344,6 +2377,11 @@ video {
2344
2377
  padding-right: 140px;
2345
2378
  }
2346
2379
 
2380
+ .px-\[14px\] {
2381
+ padding-left: 14px;
2382
+ padding-right: 14px;
2383
+ }
2384
+
2347
2385
  .px-\[190px\] {
2348
2386
  padding-left: 190px;
2349
2387
  padding-right: 190px;
@@ -2830,6 +2868,10 @@ video {
2830
2868
  line-height: 1;
2831
2869
  }
2832
2870
 
2871
+ .leading-\[20px\] {
2872
+ line-height: 20px;
2873
+ }
2874
+
2833
2875
  .leading-\[24px\] {
2834
2876
  line-height: 24px;
2835
2877
  }
@@ -2984,6 +3026,11 @@ video {
2984
3026
  color: rgb(10 137 175 / var(--tw-text-opacity));
2985
3027
  }
2986
3028
 
3029
+ .text-\[\#1B467F\] {
3030
+ --tw-text-opacity: 1;
3031
+ color: rgb(27 70 127 / var(--tw-text-opacity));
3032
+ }
3033
+
2987
3034
  .text-\[\#215eaa\] {
2988
3035
  --tw-text-opacity: 1;
2989
3036
  color: rgb(33 94 170 / var(--tw-text-opacity));
@@ -3134,6 +3181,12 @@ video {
3134
3181
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
3135
3182
  }
3136
3183
 
3184
+ .shadow-md {
3185
+ --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
3186
+ --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
3187
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
3188
+ }
3189
+
3137
3190
  .outline-none {
3138
3191
  outline: 2px solid transparent;
3139
3192
  outline-offset: 2px;
@@ -3814,10 +3867,6 @@ body {
3814
3867
  bottom: 15px;
3815
3868
  }
3816
3869
 
3817
- .max-5xl\:bottom-\[50px\] {
3818
- bottom: 50px;
3819
- }
3820
-
3821
3870
  .max-5xl\:mb-\[3px\] {
3822
3871
  margin-bottom: 3px;
3823
3872
  }
@@ -4624,6 +4673,10 @@ body {
4624
4673
  top: 2.8%;
4625
4674
  }
4626
4675
 
4676
+ .max-lg\:m-auto {
4677
+ margin: auto;
4678
+ }
4679
+
4627
4680
  .max-lg\:mb-\[70px\] {
4628
4681
  margin-bottom: 70px;
4629
4682
  }
@@ -4776,6 +4829,10 @@ body {
4776
4829
  width: 240px;
4777
4830
  }
4778
4831
 
4832
+ .max-lg\:w-\[250px\] {
4833
+ width: 250px;
4834
+ }
4835
+
4779
4836
  .max-lg\:w-\[25px\] {
4780
4837
  width: 25px;
4781
4838
  }
@@ -4968,6 +5025,10 @@ body {
4968
5025
  padding-top: 20px;
4969
5026
  }
4970
5027
 
5028
+ .max-lg\:text-left {
5029
+ text-align: left;
5030
+ }
5031
+
4971
5032
  .max-lg\:text-right {
4972
5033
  text-align: right;
4973
5034
  }
@@ -5510,6 +5571,36 @@ body {
5510
5571
  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));
5511
5572
  }
5512
5573
 
5574
+ @keyframes map_flicker {
5575
+ 0% {
5576
+ fill: #A7B3C8;
5577
+ }
5578
+
5579
+ 80% {
5580
+ fill: #254B80;
5581
+ }
5582
+
5583
+ 100% {
5584
+ fill: #254B80;
5585
+ }
5586
+
5587
+ 0% {
5588
+ fill: #A7B3C8;
5589
+ }
5590
+
5591
+ 80% {
5592
+ fill: #254B80;
5593
+ }
5594
+
5595
+ 100% {
5596
+ fill: #254B80;
5597
+ }
5598
+ }
5599
+
5600
+ .max-md\:animate-map_flicker {
5601
+ animation: map_flicker 1s ease-in-out infinite;
5602
+ }
5603
+
5513
5604
  .max-md\:grid-cols-1 {
5514
5605
  grid-template-columns: repeat(1, minmax(0, 1fr));
5515
5606
  }
@@ -5778,6 +5869,10 @@ body {
5778
5869
  width: 14px;
5779
5870
  }
5780
5871
 
5872
+ .max-sm\:w-\[180px\] {
5873
+ width: 180px;
5874
+ }
5875
+
5781
5876
  .max-sm\:w-\[230px\] {
5782
5877
  width: 230px;
5783
5878
  }
@@ -5803,6 +5898,11 @@ body {
5803
5898
  object-position: left;
5804
5899
  }
5805
5900
 
5901
+ .max-sm\:px-\[18px\] {
5902
+ padding-left: 18px;
5903
+ padding-right: 18px;
5904
+ }
5905
+
5806
5906
  .max-sm\:py-20 {
5807
5907
  padding-top: 5rem;
5808
5908
  padding-bottom: 5rem;
@@ -6520,6 +6620,10 @@ body {
6520
6620
  margin-top: 32px;
6521
6621
  }
6522
6622
 
6623
+ .sm\:mt-\[50px\] {
6624
+ margin-top: 50px;
6625
+ }
6626
+
6523
6627
  .sm\:grid {
6524
6628
  display: grid;
6525
6629
  }
@@ -6528,17 +6632,67 @@ body {
6528
6632
  display: none;
6529
6633
  }
6530
6634
 
6635
+ .sm\:h-\[120px\] {
6636
+ height: 120px;
6637
+ }
6638
+
6639
+ .sm\:h-\[50px\] {
6640
+ height: 50px;
6641
+ }
6642
+
6643
+ .sm\:h-\[53px\] {
6644
+ height: 53px;
6645
+ }
6646
+
6531
6647
  .sm\:w-\[18px\] {
6532
6648
  width: 18px;
6533
6649
  }
6534
6650
 
6651
+ .sm\:w-\[220px\] {
6652
+ width: 220px;
6653
+ }
6654
+
6655
+ .sm\:w-\[56px\] {
6656
+ width: 56px;
6657
+ }
6658
+
6535
6659
  .sm\:grid-cols-3 {
6536
6660
  grid-template-columns: repeat(3, minmax(0, 1fr));
6537
6661
  }
6538
6662
 
6663
+ .sm\:gap-\[20px\] {
6664
+ gap: 20px;
6665
+ }
6666
+
6667
+ .sm\:px-\[40px\] {
6668
+ padding-left: 40px;
6669
+ padding-right: 40px;
6670
+ }
6671
+
6672
+ .sm\:py-\[40px\] {
6673
+ padding-top: 40px;
6674
+ padding-bottom: 40px;
6675
+ }
6676
+
6539
6677
  .sm\:text-\[1\.4em\] {
6540
6678
  font-size: 1.4em;
6541
6679
  }
6680
+
6681
+ .sm\:text-\[18px\] {
6682
+ font-size: 18px;
6683
+ }
6684
+
6685
+ .sm\:text-\[22px\] {
6686
+ font-size: 22px;
6687
+ }
6688
+
6689
+ .sm\:text-\[34px\] {
6690
+ font-size: 34px;
6691
+ }
6692
+
6693
+ .sm\:leading-\[28px\] {
6694
+ line-height: 28px;
6695
+ }
6542
6696
  }
6543
6697
 
6544
6698
  @media (min-width: 768px) {
@@ -6575,6 +6729,10 @@ body {
6575
6729
  white-space: pre-wrap;
6576
6730
  }
6577
6731
 
6732
+ .md\:\!fill-\[\#254B80\] {
6733
+ fill: #254B80 !important;
6734
+ }
6735
+
6578
6736
  .md\:pb-8 {
6579
6737
  padding-bottom: 2rem;
6580
6738
  }
@@ -6614,10 +6772,18 @@ body {
6614
6772
  display: none;
6615
6773
  }
6616
6774
 
6775
+ .lg\:h-\[200px\] {
6776
+ height: 200px;
6777
+ }
6778
+
6617
6779
  .lg\:w-3\/5 {
6618
6780
  width: 60%;
6619
6781
  }
6620
6782
 
6783
+ .lg\:w-\[306px\] {
6784
+ width: 306px;
6785
+ }
6786
+
6621
6787
  .lg\:w-\[49px\] {
6622
6788
  width: 49px;
6623
6789
  }
@@ -6630,6 +6796,18 @@ body {
6630
6796
  cursor: auto;
6631
6797
  }
6632
6798
 
6799
+ .lg\:flex-row {
6800
+ flex-direction: row;
6801
+ }
6802
+
6803
+ .lg\:flex-col {
6804
+ flex-direction: column;
6805
+ }
6806
+
6807
+ .lg\:gap-\[40px\] {
6808
+ gap: 40px;
6809
+ }
6810
+
6633
6811
  .lg\:whitespace-pre-wrap {
6634
6812
  white-space: pre-wrap;
6635
6813
  }