@daeryun/dr_components 0.7.52 → 0.7.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.
Files changed (115) hide show
  1. package/dist/asset/images/lawfirm/balance.svg +19 -0
  2. package/dist/asset/images/lawfirm/certified.svg +33 -0
  3. package/dist/asset/images/lawfirm/checkbox.svg +11 -0
  4. package/dist/asset/images/lawfirm/document.svg +23 -0
  5. package/dist/asset/images/lawfirm/downArrow.svg +5 -0
  6. package/dist/asset/images/lawfirm/picture.svg +12 -0
  7. package/dist/asset/images/lawfirm/section_1_1.webp +0 -0
  8. package/dist/asset/images/lawfirm/section_1_1_m.webp +0 -0
  9. package/dist/asset/images/lawfirm/section_1_2.webp +0 -0
  10. package/dist/asset/images/lawfirm/section_1_3.webp +0 -0
  11. package/dist/asset/images/lawfirm/section_1_3_m.webp +0 -0
  12. package/dist/asset/images/lawfirm/section_1_4.webp +0 -0
  13. package/dist/asset/images/lawfirm/section_1_5.webp +0 -0
  14. package/dist/asset/images/lawfirm/section_1_5_m.webp +0 -0
  15. package/dist/asset/images/lawfirm/section_1_6.webp +0 -0
  16. package/dist/asset/images/lawfirm/section_1_7.webp +0 -0
  17. package/dist/asset/images/lawfirm/section_1_8.webp +0 -0
  18. package/dist/asset/images/lawfirm/section_2.webp +0 -0
  19. package/dist/asset/images/lawfirm/section_2_m.webp +0 -0
  20. package/dist/asset/images/lawfirm/section_3_1.webp +0 -0
  21. package/dist/asset/images/lawfirm/section_3_1_m.webp +0 -0
  22. package/dist/asset/images/lawfirm/section_3_1_t.webp +0 -0
  23. package/dist/asset/images/lawfirm/section_3_2.webp +0 -0
  24. package/dist/asset/images/lawfirm/section_3_2_m.webp +0 -0
  25. package/dist/asset/images/lawfirm/section_3_2_t.webp +0 -0
  26. package/dist/asset/images/lawfirm/section_3_3.webp +0 -0
  27. package/dist/asset/images/lawfirm/section_3_3_m.webp +0 -0
  28. package/dist/asset/images/lawfirm/section_3_3_t.webp +0 -0
  29. package/dist/asset/images/lawfirm/section_3_4.webp +0 -0
  30. package/dist/asset/images/lawfirm/section_3_4_m.webp +0 -0
  31. package/dist/asset/images/lawfirm/section_3_4_t.webp +0 -0
  32. package/dist/asset/images/lawfirm/section_3_5.webp +0 -0
  33. package/dist/asset/images/lawfirm/section_3_5_m.webp +0 -0
  34. package/dist/asset/images/lawfirm/section_3_5_t.webp +0 -0
  35. package/dist/asset/images/lawfirm/section_4.webp +0 -0
  36. package/dist/asset/images/lawfirm/section_4_m.webp +0 -0
  37. package/dist/asset/images/lawfirm/section_5_1.webp +0 -0
  38. package/dist/asset/images/lawfirm/section_5_2.webp +0 -0
  39. package/dist/asset/images/lawfirm/section_5_3.webp +0 -0
  40. package/dist/asset/images/lawfirm/section_5_4.webp +0 -0
  41. package/dist/asset/images/lawfirm/section_5_5.webp +0 -0
  42. package/dist/asset/images/lawfirm/section_5_6.webp +0 -0
  43. package/dist/asset/images/lawfirm/section_6.webp +0 -0
  44. package/dist/asset/images/lawfirm/section_6_m.webp +0 -0
  45. package/dist/asset/images/lawfirm/section_6_t.webp +0 -0
  46. package/dist/asset/images/lawfirm/section_7_1.webp +0 -0
  47. package/dist/asset/images/lawfirm/section_7_2.webp +0 -0
  48. package/dist/asset/images/lawfirm/section_7_3.webp +0 -0
  49. package/dist/asset/images/lawfirm/section_9.webp +0 -0
  50. package/dist/asset/images/lawfirm/section_9_m.webp +0 -0
  51. package/dist/asset/images/lawfirm/section_9_t.webp +0 -0
  52. package/dist/components/PageTitleBox/PageTitleBox.d.ts +6 -2
  53. package/dist/components/PageTitleBox/PageTitleBox.jsx +3 -2
  54. package/dist/components/PageTitleBox/PageTitleBox.tsx +10 -4
  55. package/dist/components/common/hook/index.d.ts +1 -0
  56. package/dist/components/common/hook/index.js +1 -0
  57. package/dist/components/common/hook/index.ts +1 -0
  58. package/dist/components/{hook → common/hook}/useElementObserve.d.ts +2 -0
  59. package/dist/components/{hook → common/hook}/useElementObserve.js +4 -2
  60. package/dist/components/{hook → common/hook}/useElementObserve.ts +4 -2
  61. package/dist/components/page/Lawfirm/CardSection1.d.ts +14 -0
  62. package/dist/components/page/Lawfirm/CardSection1.jsx +41 -0
  63. package/dist/components/page/Lawfirm/CardSection1.tsx +101 -0
  64. package/dist/components/page/Lawfirm/CardSection3.d.ts +17 -0
  65. package/dist/components/page/Lawfirm/CardSection3.jsx +45 -0
  66. package/dist/components/page/Lawfirm/CardSection3.tsx +132 -0
  67. package/dist/components/page/Lawfirm/CardSection5.d.ts +10 -0
  68. package/dist/components/page/Lawfirm/CardSection5.jsx +26 -0
  69. package/dist/components/page/Lawfirm/CardSection5.tsx +38 -0
  70. package/dist/components/page/Lawfirm/CardSection7.d.ts +12 -0
  71. package/dist/components/page/Lawfirm/CardSection7.jsx +21 -0
  72. package/dist/components/page/Lawfirm/CardSection7.tsx +46 -0
  73. package/dist/components/page/Lawfirm/Lawfirm.d.ts +2 -0
  74. package/dist/components/page/Lawfirm/Lawfirm.jsx +28 -0
  75. package/dist/components/page/Lawfirm/Lawfirm.stories.d.ts +6 -0
  76. package/dist/components/page/Lawfirm/Lawfirm.stories.jsx +14 -0
  77. package/dist/components/page/Lawfirm/Lawfirm.stories.tsx +21 -0
  78. package/dist/components/page/Lawfirm/Lawfirm.tsx +34 -0
  79. package/dist/components/page/Lawfirm/Section1.d.ts +5 -0
  80. package/dist/components/page/Lawfirm/Section1.jsx +114 -0
  81. package/dist/components/page/Lawfirm/Section1.tsx +221 -0
  82. package/dist/components/page/Lawfirm/Section2.d.ts +5 -0
  83. package/dist/components/page/Lawfirm/Section2.jsx +81 -0
  84. package/dist/components/page/Lawfirm/Section2.tsx +121 -0
  85. package/dist/components/page/Lawfirm/Section3.d.ts +8 -0
  86. package/dist/components/page/Lawfirm/Section3.jsx +213 -0
  87. package/dist/components/page/Lawfirm/Section3.tsx +274 -0
  88. package/dist/components/page/Lawfirm/Section4.d.ts +5 -0
  89. package/dist/components/page/Lawfirm/Section4.jsx +45 -0
  90. package/dist/components/page/Lawfirm/Section4.tsx +75 -0
  91. package/dist/components/page/Lawfirm/Section5.d.ts +8 -0
  92. package/dist/components/page/Lawfirm/Section5.jsx +135 -0
  93. package/dist/components/page/Lawfirm/Section5.tsx +174 -0
  94. package/dist/components/page/Lawfirm/Section6.d.ts +3 -0
  95. package/dist/components/page/Lawfirm/Section6.jsx +41 -0
  96. package/dist/components/page/Lawfirm/Section6.tsx +66 -0
  97. package/dist/components/page/Lawfirm/Section7.d.ts +5 -0
  98. package/dist/components/page/Lawfirm/Section7.jsx +136 -0
  99. package/dist/components/page/Lawfirm/Section7.tsx +201 -0
  100. package/dist/components/page/Lawfirm/Section8.d.ts +5 -0
  101. package/dist/components/page/Lawfirm/Section8.jsx +110 -0
  102. package/dist/components/page/Lawfirm/Section8.tsx +145 -0
  103. package/dist/components/page/Lawfirm/Section9.d.ts +3 -0
  104. package/dist/components/page/Lawfirm/Section9.jsx +36 -0
  105. package/dist/components/page/Lawfirm/Section9.tsx +70 -0
  106. package/dist/components/page/Lawfirm/lawfirm.module.css +541 -0
  107. package/dist/components/page/index.d.ts +1 -0
  108. package/dist/components/page/index.js +1 -0
  109. package/dist/components/page/index.ts +1 -0
  110. package/dist/lib/categoryMenuName.js +3 -0
  111. package/dist/lib/categoryMenuName.ts +2 -0
  112. package/dist/styles/globals.css +1491 -16
  113. package/dist/styles/observe.module.css +19 -0
  114. package/dist/tsconfig.tsbuildinfo +1 -1
  115. package/package.json +1 -1
@@ -0,0 +1,132 @@
1
+ import Image from 'next/image';
2
+
3
+ interface LawfirmCardProps {
4
+ title: React.ReactNode;
5
+ label: string;
6
+ description: React.ReactNode;
7
+ compareLabel: string;
8
+ compareDescription: React.ReactNode;
9
+ image: string;
10
+ imageTa: string;
11
+ imageMo: string;
12
+ imageWidth: number;
13
+ imageHeight: number;
14
+ isFullWidth?: boolean;
15
+ className?: string;
16
+ style?: React.CSSProperties;
17
+ }
18
+
19
+ export default function CardSection3({
20
+ title,
21
+ label,
22
+ description,
23
+ compareLabel,
24
+ compareDescription,
25
+ image,
26
+ imageTa,
27
+ imageMo,
28
+ imageWidth,
29
+ imageHeight,
30
+ isFullWidth = false,
31
+ className = '',
32
+ style = {}
33
+ }: LawfirmCardProps) {
34
+ return (
35
+ <li
36
+ style={style}
37
+ className={`relative flex h-[500px] flex-col overflow-hidden rounded-[20px] bg-white max-xl:h-fit max-xl:min-h-[244px] max-xl:flex-row max-xl:justify-between max-xl:gap-x-10 max-xl:p-0 max-lg2:min-h-[322px] max-md2:gap-x-0 max-xs:flex-col max-xs:items-center ${
38
+ isFullWidth ? 'col-span-2 px-[120px] py-[150px] max-xl:col-span-1' : 'p-10'
39
+ } ${className}`}
40
+ >
41
+ <div
42
+ className={
43
+ 'absolute bottom-0 left-0 h-full w-full max-xl:w-[50%] max-xl:max-w-[380px] max-xs:right-0 max-xs:top-0 max-xs:h-[148px] max-xs:w-full max-xs:max-w-full max-xs:overflow-hidden'
44
+ }
45
+ >
46
+ <Image
47
+ src={image}
48
+ className="absolute bottom-0 right-0 object-cover max-xl:hidden"
49
+ width={imageWidth}
50
+ height={imageHeight}
51
+ unoptimized
52
+ alt=""
53
+ />
54
+ <Image
55
+ src={imageMo}
56
+ className="absolute bottom-0 right-0 hidden object-cover max-xs:block max-xs:w-[320px]"
57
+ width={imageWidth}
58
+ height={imageHeight}
59
+ unoptimized
60
+ alt=""
61
+ />
62
+ </div>
63
+ <div
64
+ className={
65
+ 'absolute bottom-0 left-0 h-full overflow-hidden max-xl:w-[calc(100%-660px)] max-lg2:w-[calc(100%-550px)] max-md2:w-[calc(100%-400px)] max-md2:min-w-[300px] max-xs:hidden'
66
+ }
67
+ >
68
+ <Image
69
+ src={imageTa}
70
+ className={`absolute ${isFullWidth ? '-right-[20px] w-[calc(100%-120px)] min-w-[320px] max-lg2:w-[calc(100%-80px)] max-md2:min-w-[300px] max-sm:min-w-[270px]' : '-right-[50px] w-[calc(100%-110px)] min-w-[340px] max-lg2:-right-[80px] max-md2:min-w-full'} bottom-0 hidden object-cover max-xl:block max-md2:left-0 max-xs:hidden`}
71
+ width={imageWidth}
72
+ height={imageHeight}
73
+ unoptimized
74
+ alt=""
75
+ />
76
+ </div>
77
+ <div
78
+ className={
79
+ 'relative max-xl:w-[300px] max-md2:w-[280px] max-md2:shrink-0 max-sm:w-full max-sm:max-w-[240px] max-sm:shrink max-xs:h-[148px] max-xs:w-full max-xs:max-w-full max-xs:p-5'
80
+ }
81
+ >
82
+ <p className="relative z-20 mb-10 text-[40px] font-extrabold max-xl:p-10 max-xl:text-[32px] max-sm:pr-0 max-sm:text-[30px] max-xs:p-0 max-xs:text-[28px]">
83
+ {title}.
84
+ </p>
85
+ </div>
86
+ <div
87
+ className={
88
+ 'h-fit w-full max-xl:max-w-[660px] max-xl:p-10 max-lg2:max-w-[550px] max-md2:max-w-[400px] max-sm:flex max-sm:w-full max-sm:flex-col max-sm:items-center max-sm:p-0'
89
+ }
90
+ >
91
+ <div className="flex flex-col gap-y-[30px] max-sm:w-[230px] max-sm:gap-y-[30px] max-sm:px-5 max-sm:py-10 max-sm:pl-0 max-xs:w-full max-xs:pb-[30px] max-xs:pl-5 max-xs:pt-[50px]">
92
+ <div className="z-20 flex gap-x-[30px] text-2xl font-extrabold max-xl:gap-x-[30px] max-xl:text-2xl max-lg2:flex-col max-sm:items-center">
93
+ <div className="inline-block h-fit min-w-[230px] rounded-full bg-gradient-to-r from-[#3482F6] via-[#A358FB] via-[#E73B6A] to-[#ED4914] p-[2px] max-xl:w-[200px] max-xl:min-w-[200px] max-xs:min-w-[160px] max-xs:max-w-[160px] ">
94
+ <span className=" block h-full w-full rounded-full bg-white px-5 py-1 text-center max-sm:py-[1px] max-sm:text-xl max-xs:text-[16px] ">
95
+ {label}
96
+ </span>
97
+ </div>
98
+ <span
99
+ className={
100
+ 'mt-[6px] items-center justify-between max-lg2:mt-5 max-sm:mt-5 max-sm:flex max-sm:h-[84px] max-sm:text-center'
101
+ }
102
+ >
103
+ {description}
104
+ </span>
105
+ </div>
106
+ <hr
107
+ className="z-20 max-w-[662px] border-t border-solid max-xs:hidden"
108
+ style={{
109
+ borderImageSource:
110
+ 'linear-gradient(90deg, rgba(0, 0, 0, 0.2) 79.81%, rgba(0, 0, 0, 0) 100%)',
111
+ borderImageSlice: 1,
112
+ borderImageRepeat: 'stretch',
113
+ borderImageWidth: 1
114
+ }}
115
+ />
116
+ <p className="z-20 flex items-start gap-x-[30px] text-[24px] text-black/50 max-xl:text-xl max-lg2:flex-col max-sm:items-center">
117
+ <span className="min-w-[230px] rounded-full border border-solid border-black/50 px-5 py-1 text-center max-xl:min-w-[200px] max-xl:max-w-[200px] max-lg2:mb-5 max-sm:mb-5 max-sm:py-[1px] max-sm:text-xl max-xs:min-w-[160px] max-xs:max-w-[160px] max-xs:text-[16px] ">
118
+ {compareLabel}
119
+ </span>
120
+ <span
121
+ className={
122
+ 'mt-1 items-center justify-center max-lg2:mt-0 max-sm:flex max-sm:h-[72px] max-sm:text-center'
123
+ }
124
+ >
125
+ {compareDescription}
126
+ </span>
127
+ </p>
128
+ </div>
129
+ </div>
130
+ </li>
131
+ );
132
+ }
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ export interface CardSection5Props {
3
+ img: string;
4
+ title: string[];
5
+ desc: string[];
6
+ className?: string;
7
+ style?: React.CSSProperties;
8
+ }
9
+ declare const CardSection5: ({ img, title, desc, className, style }: CardSection5Props) => React.JSX.Element;
10
+ export default CardSection5;
@@ -0,0 +1,26 @@
1
+ import Image from 'next/image';
2
+ import React from 'react';
3
+ import CheckBox from '../../../asset/images/lawfirm/checkbox.svg';
4
+ const CardSection5 = ({ img, title, desc, className = '', style = {} }) => (<li style={style} className={`flex flex-col gap-y-5 ${className}`}>
5
+ <div className="relative h-[350px] overflow-hidden rounded-[20px] bg-[#F4F3F6] max-xl:h-[200px]">
6
+ <Image src={img} className="object-cover" fill alt=""/>
7
+ </div>
8
+ <div className="flex gap-x-5 max-xl:gap-x-[18px] max-md2:gap-x-[14px] max-sm:gap-x-[10px]">
9
+ <div className="h-fit w-fit pt-1">
10
+ <CheckBox className="h-6 w-6 max-xl:h-[22px] max-xl:w-[22px] max-md2:h-5 max-md2:w-5 max-sm:h-[18px] max-sm:w-[18px]"/>
11
+ </div>
12
+ <div className="flex flex-col gap-y-5 max-xl:gap-y-[10px]">
13
+ <p className="text-[28px] font-extrabold leading-[120%] max-xl:text-2xl max-md2:text-[22px] max-md:text-xl">
14
+ {title[0]}
15
+ <br />
16
+ {title[1]}
17
+ </p>
18
+ <p className="text-[20px] text-[#909090] max-md2:text-[18px] max-md:text-[16px]">
19
+ {desc[0]}
20
+ <br />
21
+ {desc[1]}
22
+ </p>
23
+ </div>
24
+ </div>
25
+ </li>);
26
+ export default CardSection5;
@@ -0,0 +1,38 @@
1
+ import Image from 'next/image';
2
+ import React from 'react';
3
+ import CheckBox from '../../../asset/images/lawfirm/checkbox.svg';
4
+
5
+ export interface CardSection5Props {
6
+ img: string;
7
+ title: string[];
8
+ desc: string[];
9
+ className?: string;
10
+ style?: React.CSSProperties;
11
+ }
12
+
13
+ const CardSection5 = ({ img, title, desc, className = '', style = {} }: CardSection5Props) => (
14
+ <li style={style} className={`flex flex-col gap-y-5 ${className}`}>
15
+ <div className="relative h-[350px] overflow-hidden rounded-[20px] bg-[#F4F3F6] max-xl:h-[200px]">
16
+ <Image src={img} className="object-cover" fill alt="" />
17
+ </div>
18
+ <div className="flex gap-x-5 max-xl:gap-x-[18px] max-md2:gap-x-[14px] max-sm:gap-x-[10px]">
19
+ <div className="h-fit w-fit pt-1">
20
+ <CheckBox className="h-6 w-6 max-xl:h-[22px] max-xl:w-[22px] max-md2:h-5 max-md2:w-5 max-sm:h-[18px] max-sm:w-[18px]" />
21
+ </div>
22
+ <div className="flex flex-col gap-y-5 max-xl:gap-y-[10px]">
23
+ <p className="text-[28px] font-extrabold leading-[120%] max-xl:text-2xl max-md2:text-[22px] max-md:text-xl">
24
+ {title[0]}
25
+ <br />
26
+ {title[1]}
27
+ </p>
28
+ <p className="text-[20px] text-[#909090] max-md2:text-[18px] max-md:text-[16px]">
29
+ {desc[0]}
30
+ <br />
31
+ {desc[1]}
32
+ </p>
33
+ </div>
34
+ </div>
35
+ </li>
36
+ );
37
+
38
+ export default CardSection5;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ interface CardSection7Props {
3
+ imageSrc: string;
4
+ gradient: string;
5
+ bgColor: string;
6
+ title: string[];
7
+ paragraphs: React.ReactNode;
8
+ className?: string;
9
+ style?: React.CSSProperties;
10
+ }
11
+ declare const CardSection7: ({ imageSrc, gradient, title, bgColor, paragraphs, className, style }: CardSection7Props) => React.JSX.Element;
12
+ export default CardSection7;
@@ -0,0 +1,21 @@
1
+ import Image from 'next/image';
2
+ import React from 'react';
3
+ const CardSection7 = ({ imageSrc, gradient, title, bgColor, paragraphs, className = '', style = {} }) => (<li style={style} className={`max- relative h-full w-full overflow-hidden rounded-[20px] max-xl:h-fit ${className} ${bgColor}`}>
4
+ <div className="absolute bottom-0 right-0 h-[340px] w-full max-xl:h-full max-xl:w-[390px] max-sm:h-[250px] max-sm:w-full">
5
+ <Image src={imageSrc} fill className="object-cover max-sm:!top-[20px] max-3sm:top-0" alt=""/>
6
+ </div>
7
+ <div className={`absolute h-full w-full ${gradient}`}/>
8
+ <div className="flex h-full w-full flex-col gap-y-10 p-10 text-white max-xl:gap-y-5 max-sm:px-5 max-sm:pb-[140px]">
9
+ <p className={'z-20 text-[32px] font-extrabold max-xl:text-2xl'}>
10
+ {title[0]}
11
+ <br />
12
+ {title[1]}.
13
+ </p>
14
+ <div className="z-20 flex flex-col gap-y-5 max-xl:w-[calc(100%-160px)] max-md2:w-[calc(100%-180px)] max-md:w-[calc(100%-140px)] max-sm:w-full">
15
+ <p className={'flex flex-col gap-y-5 text-[20px] font-medium text-white/80 max-xl:text-[16px]'}>
16
+ {paragraphs}
17
+ </p>
18
+ </div>
19
+ </div>
20
+ </li>);
21
+ export default CardSection7;
@@ -0,0 +1,46 @@
1
+ import Image from 'next/image'
2
+ import React from 'react'
3
+
4
+ interface CardSection7Props {
5
+ imageSrc: string
6
+ gradient: string
7
+ bgColor: string
8
+ title: string[]
9
+ paragraphs: React.ReactNode
10
+ className?: string
11
+ style?: React.CSSProperties
12
+ }
13
+
14
+ const CardSection7 = ({
15
+ imageSrc,
16
+ gradient,
17
+ title,
18
+ bgColor,
19
+ paragraphs,
20
+ className = '',
21
+ style = {}
22
+ }: CardSection7Props) => (
23
+ <li
24
+ style={style}
25
+ className={`max- relative h-full w-full overflow-hidden rounded-[20px] max-xl:h-fit ${className} ${bgColor}`}
26
+ >
27
+ <div className="absolute bottom-0 right-0 h-[340px] w-full max-xl:h-full max-xl:w-[390px] max-sm:h-[250px] max-sm:w-full">
28
+ <Image src={imageSrc} fill className="object-cover max-sm:!top-[20px] max-3sm:top-0" alt="" />
29
+ </div>
30
+ <div className={`absolute h-full w-full ${gradient}`} />
31
+ <div className="flex h-full w-full flex-col gap-y-10 p-10 text-white max-xl:gap-y-5 max-sm:px-5 max-sm:pb-[140px]">
32
+ <p className={'z-20 text-[32px] font-extrabold max-xl:text-2xl'}>
33
+ {title[0]}
34
+ <br />
35
+ {title[1]}.
36
+ </p>
37
+ <div className="z-20 flex flex-col gap-y-5 max-xl:w-[calc(100%-160px)] max-md2:w-[calc(100%-180px)] max-md:w-[calc(100%-140px)] max-sm:w-full">
38
+ <p className={'flex flex-col gap-y-5 text-[20px] font-medium text-white/80 max-xl:text-[16px]'}>
39
+ {paragraphs}
40
+ </p>
41
+ </div>
42
+ </div>
43
+ </li>
44
+ )
45
+
46
+ export default CardSection7
@@ -0,0 +1,2 @@
1
+ declare const Lawfirm: () => import("react").JSX.Element;
2
+ export default Lawfirm;
@@ -0,0 +1,28 @@
1
+ 'use client';
2
+ import Section1 from './Section1';
3
+ import Section2 from './Section2';
4
+ import Section3 from './Section3';
5
+ import Section4 from './Section4';
6
+ import Section5 from './Section5';
7
+ import Section6 from './Section6';
8
+ import Section7 from './Section7';
9
+ import Section8 from './Section8';
10
+ import Section9 from './Section9';
11
+ const Lawfirm = () => {
12
+ const UpperSectionPadding = 'w-full max-w-[1920px] px-[140px] max-3xl:px-[80px] max-xl:px-[40px] max-sm:px-[20px]';
13
+ const LowerSectionPadding = 'w-full max-w-[1920px] px-[192px] max-3xl:px-[80px] max-xl:px-[40px] max-sm:px-[20px] max-sm:py-[60px] max-xl:py-[120px] py-[180px]';
14
+ return (<>
15
+ <div className={`relative mx-auto flex w-full flex-col items-center`}>
16
+ <Section1 CommonPadding={UpperSectionPadding}/>
17
+ <Section2 CommonPadding={UpperSectionPadding}/>
18
+ <Section3 CommonPadding={UpperSectionPadding}/>
19
+ <Section4 CommonPadding={UpperSectionPadding}/>
20
+ <Section5 CommonPadding={UpperSectionPadding}/>
21
+ <Section6 />
22
+ <Section7 CommonPadding={LowerSectionPadding}/>
23
+ <Section8 CommonPadding={LowerSectionPadding}/>
24
+ <Section9 />
25
+ </div>
26
+ </>);
27
+ };
28
+ export default Lawfirm;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Lawfirm from './Lawfirm';
3
+ declare const meta: Meta<typeof Lawfirm>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
@@ -0,0 +1,14 @@
1
+ import Lawfirm from './Lawfirm';
2
+ const meta = {
3
+ component: Lawfirm,
4
+ title: 'Lawfirm'
5
+ };
6
+ export default meta;
7
+ export const Default = {
8
+ render: args => {
9
+ return (<div className={'w-full'}>
10
+ <Lawfirm {...args}/>
11
+ </div>);
12
+ },
13
+ args: {}
14
+ };
@@ -0,0 +1,21 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Lawfirm from './Lawfirm';
3
+
4
+ const meta: Meta<typeof Lawfirm> = {
5
+ component: Lawfirm,
6
+ title: 'Lawfirm'
7
+ };
8
+ export default meta;
9
+
10
+ type Story = StoryObj<typeof meta>;
11
+
12
+ export const Default: Story = {
13
+ render: args => {
14
+ return (
15
+ <div className={'w-full'}>
16
+ <Lawfirm {...args} />
17
+ </div>
18
+ );
19
+ },
20
+ args: {}
21
+ };
@@ -0,0 +1,34 @@
1
+ 'use client';
2
+
3
+ import Section1 from './Section1';
4
+ import Section2 from './Section2';
5
+ import Section3 from './Section3';
6
+ import Section4 from './Section4';
7
+ import Section5 from './Section5';
8
+ import Section6 from './Section6';
9
+ import Section7 from './Section7';
10
+ import Section8 from './Section8';
11
+ import Section9 from './Section9';
12
+
13
+ const Lawfirm = () => {
14
+ const UpperSectionPadding = 'w-full max-w-[1920px] px-[140px] max-3xl:px-[80px] max-xl:px-[40px] max-sm:px-[20px]';
15
+ const LowerSectionPadding =
16
+ 'w-full max-w-[1920px] px-[192px] max-3xl:px-[80px] max-xl:px-[40px] max-sm:px-[20px] max-sm:py-[60px] max-xl:py-[120px] py-[180px]';
17
+
18
+ return (
19
+ <>
20
+ <div className={`relative mx-auto flex w-full flex-col items-center`}>
21
+ <Section1 CommonPadding={UpperSectionPadding} />
22
+ <Section2 CommonPadding={UpperSectionPadding} />
23
+ <Section3 CommonPadding={UpperSectionPadding} />
24
+ <Section4 CommonPadding={UpperSectionPadding} />
25
+ <Section5 CommonPadding={UpperSectionPadding} />
26
+ <Section6 />
27
+ <Section7 CommonPadding={LowerSectionPadding} />
28
+ <Section8 CommonPadding={LowerSectionPadding} />
29
+ <Section9 />
30
+ </div>
31
+ </>
32
+ );
33
+ };
34
+ export default Lawfirm;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ declare const Section1: ({ CommonPadding }: {
3
+ CommonPadding: string;
4
+ }) => React.JSX.Element;
5
+ export default Section1;
@@ -0,0 +1,114 @@
1
+ import Image from 'next/image';
2
+ import React, { useEffect, useRef, useState } from 'react';
3
+ import style from './lawfirm.module.css';
4
+ import useElementObserve from '../../common/hook/useElementObserve';
5
+ import CardSection1 from './CardSection1';
6
+ import Section_1_1 from '../../../asset/images/lawfirm/section_1_1.webp';
7
+ import Section_1_1_m from '../../../asset/images/lawfirm/section_1_1_m.webp';
8
+ import Section_1_2 from '../../../asset/images/lawfirm/section_1_2.webp';
9
+ import Section_1_3 from '../../../asset/images/lawfirm/section_1_3.webp';
10
+ import Section_1_3_m from '../../../asset/images/lawfirm/section_1_3_m.webp';
11
+ import Section_1_4 from '../../../asset/images/lawfirm/section_1_4.webp';
12
+ import Section_1_5 from '../../../asset/images/lawfirm/section_1_5.webp';
13
+ import Section_1_5_m from '../../../asset/images/lawfirm/section_1_5_m.webp';
14
+ import Section_1_6 from '../../../asset/images/lawfirm/section_1_6.webp';
15
+ import Section_1_7 from '../../../asset/images/lawfirm/section_1_7.webp';
16
+ import Section_1_8 from '../../../asset/images/lawfirm/section_1_8.webp';
17
+ const Section1 = ({ CommonPadding }) => {
18
+ const target1Ref = useRef(null);
19
+ const target2Ref = useRef(null);
20
+ const target3Ref = useRef(null);
21
+ const target4Ref = useRef(null);
22
+ const { flag: flag1, flagFastClass: div1Class } = useElementObserve(target1Ref, 0.2);
23
+ const { flag: flag2, flagFastClass: div2Class } = useElementObserve(target2Ref, 1);
24
+ const { flag: flag3, flagFastClass: div3Class } = useElementObserve(target3Ref, 1);
25
+ const { flag: flag4, flagFastClass: div4Class } = useElementObserve(target4Ref, 0.6);
26
+ // 이미지 페이드
27
+ const [fade1, setFade1] = useState(false);
28
+ const [fade2, setFade2] = useState(false);
29
+ const [fade3, setFade3] = useState(false);
30
+ useEffect(() => {
31
+ if (flag1) {
32
+ let img1 = setTimeout(() => {
33
+ setFade1(true);
34
+ }, 550);
35
+ return () => {
36
+ clearTimeout(img1);
37
+ };
38
+ }
39
+ }, [flag1]);
40
+ useEffect(() => {
41
+ if (flag2) {
42
+ let img2 = setTimeout(() => {
43
+ setFade2(true);
44
+ }, 550);
45
+ return () => {
46
+ clearTimeout(img2);
47
+ };
48
+ }
49
+ }, [flag2]);
50
+ useEffect(() => {
51
+ if (flag3) {
52
+ let img3 = setTimeout(() => {
53
+ setFade3(true);
54
+ }, 550);
55
+ return () => {
56
+ clearTimeout(img3);
57
+ };
58
+ }
59
+ }, [flag3]);
60
+ return (<>
61
+ <section className={CommonPadding +
62
+ ` max flex flex-col gap-y-[30px] py-[180px] tracking-[-1.92px] max-xl:pb-[120px] max-xl:pt-20 max-sm:pb-[40px]`}>
63
+ <CardSection1 fade={fade1} minStep={1} title="중소로펌, 1인 변호사 전담 구조" subtitle="로펌 1.0" tags={['과중한 업무', '느린 대응', '잦은 실수', '변호사 개인 역량에 의존']} image1={Section_1_1} image2={Section_1_2} imageMo={Section_1_1_m} divClass={div1Class} observeRef={target1Ref}/>
64
+ <CardSection1 fade={fade2} minStep={2} title="대형로펌 시스템" subtitle="로펌 2.0" tags={['고비용', '낮은 접근성', '전관 중심', '상담·서면·재판 분리']} image1={Section_1_3} image2={Section_1_4} imageMo={Section_1_3_m} divClass={div2Class} observeRef={target2Ref}/>
65
+ <CardSection1 fade={fade3} minStep={3} title="한국형 네트워크 로펌" subtitle="로펌 2.5" tags={['사무소별 소통 부족', '책임 소재 불명확', '품질의 비일관성', '허위·과장광고']} image1={Section_1_5} image2={Section_1_6} imageMo={Section_1_5_m} divClass={div3Class} observeRef={target3Ref}/>
66
+ <div ref={target4Ref} className={`${div4Class}`}>
67
+ <div className={` ${style.borderGradientAnimated} relative h-[500px] w-full overflow-hidden max-xl:h-[400px] max-md:h-[380px]`}>
68
+ <div className="relative z-10 h-full w-full overflow-hidden rounded-[28px] bg-white px-[160px] py-20 max-5xl:px-[60px] max-xl:px-10 max-xl:py-[60px] max-md:px-5 max-md:py-10">
69
+ <div className={'relative z-20 flex h-full w-fit flex-col justify-between max-md:w-full max-md:justify-normal max-md:gap-y-10'}>
70
+ <p className={'z-20 flex flex-col py-8 font-[SUIT] max-xl:py-0'}>
71
+ <span className={'text-[32px] font-extrabold max-xl:text-[28px] max-sm:text-xl max-2sm:text-[16px]'}>
72
+ 대륜형 글로벌 로펌 시스템
73
+ </span>
74
+ <span className={'text-7xl font-extrabold max-xl:text-5xl max-sm:text-[40px] max-2sm:text-[32px]'}>
75
+ 로펌 3.0
76
+ </span>
77
+ </p>
78
+ <p className={'z-20 flex w-[500px] flex-wrap gap-x-[10px] gap-y-4 max-3xl:gap-x-2 max-3xl:gap-y-[10px] max-md:w-[400px]'}>
79
+ {[
80
+ '실력 중심',
81
+ '상담·서면·재판 원팀 수행',
82
+ '전국적·국제적 대응체계',
83
+ '합리적 비용'
84
+ ].map((tag, idx) => (<span key={idx} className="max-2sm::px-3 h-fit w-fit rounded-full border border-solid border-black px-5 py-1 text-[28px] font-medium leading-[160%] max-xl:px-4 max-xl:text-xl max-2sm:py-[6px] max-2sm:text-[16px] max-2sm:leading-[100%]">
85
+ {tag}
86
+ </span>))}
87
+ </p>
88
+ </div>
89
+ <div className={'absolute left-0 top-0 h-full w-full'}>
90
+ <div className={'relative h-full w-full'}>
91
+ <Image src={Section_1_7} alt="" className={style.orbitImage1} width={514} height={521} priority/>
92
+ <Image src={Section_1_7} alt="" className={style.orbitImage2 + ''} width={514} height={521} priority/>
93
+ </div>
94
+ </div>
95
+ <div className="absolute bottom-[-30px] left-0 z-10 h-full w-full">
96
+ <div className="absolute bottom-[-155px] right-[-65px] aspect-square w-[590px] max-xl:-bottom-[120px] max-xl:-right-[58px] max-xl:w-[430px] max-md2:-bottom-[127px] max-md2:-right-[118px] max-md:-bottom-[95px] max-md:-right-[85px] max-md:w-[280px]">
97
+ <div className="relative h-full w-full rounded-full border border-solid border-[#FAFAFA]">
98
+ <div className={`absolute left-1/2 top-1/2 -ml-[295px] -mt-[295px] h-full w-full max-xl:-ml-[214px] max-xl:-mt-[215px] max-md2:-ml-[215px] max-md2:-mt-[214px] max-md:-ml-[139px] max-md:-mt-[140px] ${style.rotateStepPause}`} style={{ transformOrigin: '50% 50%' }}>
99
+ <div className="absolute h-4 w-4 rounded-full bg-[#FAFAFA] max-xl:h-3 max-xl:w-3 max-md:h-2 max-md:w-2" style={{ left: '50%', top: 0, transform: 'translate(-50%, -50%)' }}/>
100
+ <div className="absolute h-4 w-4 rounded-full bg-[#FAFAFA] max-xl:h-3 max-xl:w-3 max-md:h-2 max-md:w-2" style={{ left: '100%', top: '50%', transform: 'translate(-50%, -50%)' }}/>
101
+ <div className="absolute h-4 w-4 rounded-full bg-[#FAFAFA] max-xl:h-3 max-xl:w-3 max-md:h-2 max-md:w-2" style={{ left: '50%', top: '100%', transform: 'translate(-50%, -50%)' }}/>
102
+ <div className="absolute h-4 w-4 rounded-full bg-[#FAFAFA] max-xl:h-3 max-xl:w-3 max-md:h-2 max-md:w-2" style={{ left: 0, top: '50%', transform: 'translate(-50%, -50%)' }}/>
103
+ </div>
104
+ </div>
105
+ </div>
106
+ <Image src={Section_1_8} className="absolute bottom-0 right-0 h-fit w-[499px] max-xl:w-[345px] max-md2:-right-12 max-md:-bottom-4 max-md:w-[230px]" width={500} height={369} alt="" priority/>
107
+ </div>
108
+ </div>
109
+ </div>
110
+ </div>
111
+ </section>
112
+ </>);
113
+ };
114
+ export default Section1;