@daeryun/dr_components 1.1.82 → 1.1.84
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.
- package/dist/asset/images/globalOffice/global_arrow.svg +3 -0
- package/dist/asset/images/globalOffice/icon_arrow_white.webp +0 -0
- package/dist/asset/images/globalOffice/korea_line.svg +3 -0
- package/dist/asset/images/globalOffice/korea_line_md.svg +3 -0
- package/dist/asset/images/globalOffice/korea_line_sm.svg +3 -0
- package/dist/asset/images/globalOffice/newyork_line.svg +3 -0
- package/dist/asset/images/globalOffice/newyork_line_md.svg +3 -0
- package/dist/asset/images/globalOffice/newyork_line_sm.svg +3 -0
- package/dist/asset/images/globalOffice/washington_line.svg +3 -0
- package/dist/asset/images/globalOffice/washington_line_md.svg +3 -0
- package/dist/asset/images/globalOffice/washington_line_sm.svg +3 -0
- package/dist/components/GlobalOfficeSection/GlobalOfficeSection.d.ts +3 -0
- package/dist/components/GlobalOfficeSection/GlobalOfficeSection.jsx +204 -0
- package/dist/components/GlobalOfficeSection/GlobalOfficeSection.stories.d.ts +6 -0
- package/dist/components/GlobalOfficeSection/GlobalOfficeSection.stories.jsx +13 -0
- package/dist/components/GlobalOfficeSection/GlobalOfficeSection.stories.tsx +22 -0
- package/dist/components/GlobalOfficeSection/GlobalOfficeSection.tsx +419 -0
- package/dist/components/MapSection/Map.jsx +26 -23
- package/dist/components/MapSection/Map.tsx +27 -23
- package/dist/components/index.js +1 -0
- package/dist/components/index.ts +1 -0
- package/dist/components/page/MapPage/MapPage.d.ts +2 -1
- package/dist/components/page/MapPage/MapPage.jsx +2 -2
- package/dist/components/page/MapPage/MapPage.tsx +10 -2
- package/dist/styles/globals.css +858 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="100%" height="100%" viewBox="0 0 19 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M18.7818 6.88606L13.1914 0.286627C13.041 0.113318 12.8329 0.010612 12.6124 0.000777161C12.3919 -0.00905772 12.1767 0.0747712 12.0133 0.234089C11.85 0.393406 11.7518 0.615371 11.74 0.851857C11.7282 1.08834 11.8038 1.32029 11.9503 1.49741L16.2666 6.59177H0.838753C0.616302 6.59177 0.402962 6.68659 0.245665 6.85537C0.0883683 7.02415 0 7.25306 0 7.49175C0 7.73044 0.0883683 7.95935 0.245665 8.12813C0.402962 8.2969 0.616302 8.39172 0.838753 8.39172H16.265L11.9487 13.4861C11.799 13.6629 11.721 13.8963 11.7317 14.1348C11.7424 14.3734 11.841 14.5976 12.0058 14.7582C12.1706 14.9188 12.3881 15.0025 12.6104 14.991C12.8328 14.9795 13.0418 14.8737 13.1914 14.6969L18.7818 8.09684C18.9221 7.93118 18.9999 7.71534 18.9999 7.49145C18.9999 7.26757 18.9221 7.05172 18.7818 6.88606Z" fill="white"/>
|
|
3
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import Image from 'next/image';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Link from 'next/link';
|
|
4
|
+
import Wrapper from '../Layout/Wrapper';
|
|
5
|
+
import useBrowser from '../hook/useBrowser';
|
|
6
|
+
import LineWashington from '../../asset/images/globalOffice/washington_line.svg';
|
|
7
|
+
import LineNewYork from '../../asset/images/globalOffice/newyork_line.svg';
|
|
8
|
+
import LineKorea from '../../asset/images/globalOffice/korea_line.svg';
|
|
9
|
+
import IconArrow from '../../asset/images/globalOffice/global_arrow.svg';
|
|
10
|
+
import LineWashingtonMd from '../../asset/images/globalOffice/washington_line_md.svg';
|
|
11
|
+
import LineNewYorkMd from '../../asset/images/globalOffice/newyork_line_md.svg';
|
|
12
|
+
import LineKoreaMd from '../../asset/images/globalOffice/korea_line_md.svg';
|
|
13
|
+
import LineWashingtonSm from '../../asset/images/globalOffice/washington_line_sm.svg';
|
|
14
|
+
import LineNewYorkSm from '../../asset/images/globalOffice/newyork_line_sm.svg';
|
|
15
|
+
import LineKoreaSm from '../../asset/images/globalOffice/korea_line_sm.svg';
|
|
16
|
+
// 좌표계산용
|
|
17
|
+
const MAP_W = 3873;
|
|
18
|
+
const MAP_H = 1853;
|
|
19
|
+
const GlobalOfficeSection = () => {
|
|
20
|
+
const { width } = useBrowser(true);
|
|
21
|
+
return (<section className={'relative z-[6] h-[1300px] w-full overflow-hidden bg-white transition-opacity duration-700 ' +
|
|
22
|
+
'max-[1935px]:aspect-[1935/1000] max-[1935px]:h-auto ' +
|
|
23
|
+
'max-xl:aspect-[900/790] ' +
|
|
24
|
+
'max-md:aspect-[360/640] ' +
|
|
25
|
+
'max-[360px]:aspect-auto max-[360px]:h-[640px] '}>
|
|
26
|
+
<Image src={`https://d1tgonli21s4df.cloudfront.net/main_new/global_map_bg${width >= 1280 ? '' : width >= 768 ? '_md' : '_sm'}.webp`} alt="" fill draggable="false" loading={'lazy'} className={'absolute left-0 top-0 h-full w-full object-cover '}/>
|
|
27
|
+
<Wrapper className={'relative h-full font-[NotoSansKR]'}>
|
|
28
|
+
{/*title*/}
|
|
29
|
+
<span className={'absolute bottom-[200px] z-[1] w-[800px] ' +
|
|
30
|
+
'max-[1935px]:bottom-[6vw] max-[1935px]:w-[41.37vw] ' +
|
|
31
|
+
'max-xl:bottom-[10.34vw] max-xl:w-[70.37vw] ' +
|
|
32
|
+
'max-md:bottom-[50px] max-md:w-[80vw] ' +
|
|
33
|
+
'max-[360px]:bottom-[60px] max-[360px]:w-[290px] '}>
|
|
34
|
+
<h2 className={'flex items-center gap-[10px] text-[#04325A] ' +
|
|
35
|
+
'max-[1935px]:gap-[0.52vw] ' +
|
|
36
|
+
'max-xl:gap-[1.8vw] ' +
|
|
37
|
+
'max-[360px]:gap-[7px]'}>
|
|
38
|
+
<span className={'text-[250px] font-[900] leading-none ' +
|
|
39
|
+
'max-[1935px]:text-[10vw] ' +
|
|
40
|
+
'max-xl:text-[17.78vw] ' +
|
|
41
|
+
'max-md:text-[27vw] ' +
|
|
42
|
+
'max-[360px]:text-[97.2px]'}>
|
|
43
|
+
3
|
|
44
|
+
</span>
|
|
45
|
+
<span className={'pt-[24px] text-[70px] font-[700] tracking-[-0.9px] ' +
|
|
46
|
+
'max-[1935px]:pt-[1.24vw] max-[1935px]:text-[3.2vw] max-[1935px]:tracking-[-0.05vw] ' +
|
|
47
|
+
'max-xl:text-[5.3vw] max-xl:tracking-[-0.15vw] ' +
|
|
48
|
+
'max-md:translate-y-[-40%] max-md:pt-0 max-md:text-[8vw] ' +
|
|
49
|
+
'max-[360px]:text-[28.8px]'}>
|
|
50
|
+
Global Offices
|
|
51
|
+
</span>
|
|
52
|
+
</h2>
|
|
53
|
+
<span className={'absolute bottom-[8px] left-[170px] flex items-center gap-[36px] ' +
|
|
54
|
+
'max-[1935px]:bottom-[0.41vw] max-[1935px]:left-[7.1vw] max-[1935px]:gap-[1.86vw] ' +
|
|
55
|
+
'max-xl:bottom-[1vw] max-xl:left-[13vw] max-xl:gap-[3.8vw] ' +
|
|
56
|
+
'max-md:bottom-[3vw] max-md:left-[19vw] max-md:flex-wrap max-md:gap-y-[0.7vw] ' +
|
|
57
|
+
'max-[360px]:bottom-[10.8px] max-[360px]:left-[69px] max-[360px]:gap-y-[2.52px]'}>
|
|
58
|
+
<TextCon text={'korea'}/>
|
|
59
|
+
<TextCon text={'New York'}/>
|
|
60
|
+
<TextCon text={'WASHINGTON'}/>
|
|
61
|
+
</span>
|
|
62
|
+
</span>
|
|
63
|
+
<div className={'relative h-fit w-full translate-y-[-200px] scale-110 ' +
|
|
64
|
+
'max-4xl:translate-y-[-250px] max-4xl:scale-105 ' +
|
|
65
|
+
'max-xl:translate-x-[100px] max-xl:translate-y-[-100px] max-xl:scale-110 ' +
|
|
66
|
+
'max-lg:max-xl:translate-y-[-60px] max-lg:translate-x-[70px] ' +
|
|
67
|
+
'max-md:translate-x-[-20px] max-md:translate-y-[83%] max-md:scale-[1.5] ' +
|
|
68
|
+
'max-2sm:translate-y-[65%] '}>
|
|
69
|
+
{/*지도 이미지*/}
|
|
70
|
+
<Image src={'https://d1tgonli21s4df.cloudfront.net/main_new/global_map.webp'} alt="" width={MAP_W} height={MAP_H} draggable="false" loading={'lazy'} className={'h-full w-full'}/>
|
|
71
|
+
{/*워싱턴*/}
|
|
72
|
+
<Link href={'https://www.sjkplawfirm.com/'} target={'_blank'} style={{ left: `${(930 / MAP_W) * 100}%`, top: `${(730 / MAP_H) * 100}%` }} className={'global_link group absolute h-fit w-fit object-cover ' +
|
|
73
|
+
'-translate-x-[100%] -translate-y-[42px] ' +
|
|
74
|
+
'max-[1935px]:-translate-y-[2.17vw] max-4xl:-translate-y-[2.6vw] max-xl:-translate-y-[4.17vw] ' +
|
|
75
|
+
'max-md:translate-x-0 max-md:translate-y-0 '}>
|
|
76
|
+
<span className={'relative block h-fit w-fit '}>
|
|
77
|
+
{width >= 1280 ? (<LineWashington className={'h-auto w-[260px] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] ' +
|
|
78
|
+
'max-[1935px]:w-[13.44vw] ' +
|
|
79
|
+
'max-4xl:w-[16vw] '}/>) : width >= 768 ? (<LineWashingtonMd className={'h-auto w-[21vw] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] '}/>) : (<LineWashingtonSm className={'h-auto w-[22.44vw] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] ' +
|
|
80
|
+
'max-[360px]:w-[80.8px]'}/>)}
|
|
81
|
+
|
|
82
|
+
<Ping className={'bottom-0 right-0 translate-x-1/2 translate-y-1/2 ' +
|
|
83
|
+
'max-md:bottom-[unset] max-md:left-0 max-md:right-[unset] max-md:top-0 max-md:-translate-x-[40%] max-md:-translate-y-1/2'}/>
|
|
84
|
+
<p className={'absolute -top-[50px] flex h-[50px] w-fit items-end text-[22px] font-[900] uppercase tracking-[-0.5px] text-[#04325A] ' +
|
|
85
|
+
'transition-[color,font-size] duration-300 group-hover:text-[26px] group-hover:text-[#285FA7] ' +
|
|
86
|
+
'max-[1935px]:-top-[2.58vw] max-[1935px]:h-[2.58vw] max-[1935px]:text-[1.14vw] max-[1935px]:group-hover:text-[1.34vw] ' +
|
|
87
|
+
'max-4xl:-top-[3vw] max-4xl:text-[1.5vw] max-4xl:group-hover:text-[1.7vw] ' +
|
|
88
|
+
'max-xl:text-[2.1vw] max-xl:tracking-[-0.1vw] max-xl:group-hover:text-[2.4vw] ' +
|
|
89
|
+
'max-md:bottom-[0.8vw] max-md:right-0 max-md:top-[unset] max-md:text-[3.06vw] max-md:tracking-[-0.1vw] max-md:group-hover:text-[3.06vw] ' +
|
|
90
|
+
'max-[360px]:bottom-[2.88px] max-[360px]:h-fit max-[360px]:text-[11px] max-[360px]:tracking-[-0.4px] max-[360px]:group-hover:text-[11px]'}>
|
|
91
|
+
WASHINGTON
|
|
92
|
+
</p>
|
|
93
|
+
</span>
|
|
94
|
+
<div className={'relative aspect-square w-[220px] translate-y-[-15px] overflow-hidden bg-[#ddd] ' +
|
|
95
|
+
'max-[1935px]:w-[11.37vw] max-[1935px]:translate-y-[-0.78vw] ' +
|
|
96
|
+
'max-4xl:w-[13vw] ' +
|
|
97
|
+
'max-xl:w-[18.1vw] max-xl:translate-y-[-2.2vw] ' +
|
|
98
|
+
'max-md:mt-[2.55vw] max-md:w-[22.22vw] max-md:translate-y-0 ' +
|
|
99
|
+
'max-[360px]:mt-[8px] max-[360px]:w-[80px] '}>
|
|
100
|
+
<Image src={'https://d1tgonli21s4df.cloudfront.net/main_new/washington_img.webp'} alt="" fill draggable="false" loading={'lazy'} unoptimized sizes={'280px'} className={'h-full w-full object-cover ' + 'duration-700 group-hover:scale-105'}/>
|
|
101
|
+
</div>
|
|
102
|
+
</Link>
|
|
103
|
+
|
|
104
|
+
{/*뉴욕*/}
|
|
105
|
+
<Link href={'https://www.sjkplawfirm.com/'} target={'_blank'} style={{ left: `${(980 / MAP_W) * 100}%`, top: `${(670 / MAP_H) * 100}%` }} className={'global_link group absolute flex h-fit w-fit flex-col items-end object-cover ' +
|
|
106
|
+
'max-md:-translate-y-[100%] max-md:flex-col-reverse '}>
|
|
107
|
+
<span className={'relative block h-fit w-fit '}>
|
|
108
|
+
{width >= 1280 ? (<LineNewYork className={'h-auto w-[269px] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] ' +
|
|
109
|
+
'max-[1935px]:w-[13.90vw] ' +
|
|
110
|
+
'max-4xl:w-[15.2vw]'}/>) : width >= 768 ? (<LineNewYorkMd className={'h-auto w-[21vw] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] '}/>) : (<LineNewYorkSm className={'h-auto w-[28.61vw] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] ' +
|
|
111
|
+
'max-[360px]:w-[103px] '}/>)}
|
|
112
|
+
|
|
113
|
+
<Ping className={'left-0 top-0 -translate-x-1/2 -translate-y-1/2 ' +
|
|
114
|
+
'max-md:bottom-0 max-md:top-[unset] max-md:translate-y-1/2 '}/>
|
|
115
|
+
<p className={'absolute bottom-0 right-0 text-[22px] font-[900] uppercase tracking-[-0.5px] text-[#04325A] ' +
|
|
116
|
+
'transition-[color,font-size] duration-300 group-hover:text-[26px] group-hover:text-[#285FA7] ' +
|
|
117
|
+
'max-[1935px]:text-[1.14vw] max-[1935px]:group-hover:text-[1.34vw] ' +
|
|
118
|
+
'max-4xl:text-[1.5vw] max-4xl:group-hover:text-[1.7vw] ' +
|
|
119
|
+
'max-xl:bottom-[0.6vw] max-xl:text-[2.1vw] max-xl:tracking-[-0.1vw] max-xl:group-hover:text-[2.4vw] ' +
|
|
120
|
+
'max-md:bottom-[unset] max-md:top-[0.5vw] max-md:text-[3.06vw] max-md:tracking-[-0.1vw] max-md:group-hover:text-[3.06vw] ' +
|
|
121
|
+
'max-[360px]:top-[1.8px] max-[360px]:text-[11px] max-[360px]:tracking-[-0.4px] max-[360px]:group-hover:text-[11px] '}>
|
|
122
|
+
New York
|
|
123
|
+
</p>
|
|
124
|
+
</span>
|
|
125
|
+
<div className={'relative mt-[20px] aspect-square w-[220px] overflow-hidden bg-[#ddd] ' +
|
|
126
|
+
'max-[1935px]:mt-[1.03vw] max-[1935px]:w-[11.37vw] ' +
|
|
127
|
+
'max-4xl:w-[13vw] ' +
|
|
128
|
+
'max-xl:mt-[1.49vw] max-xl:w-[18.1vw] ' +
|
|
129
|
+
'max-md:mb-[2.22vw] max-md:mt-0 max-md:w-[22.22vw] ' +
|
|
130
|
+
'max-[360px]:mb-[8px] max-[360px]:w-[80px] '}>
|
|
131
|
+
<Image src={'https://d1tgonli21s4df.cloudfront.net/main_new/newyork_img.webp'} alt="" fill draggable="false" loading={'lazy'} unoptimized sizes={'280px'} className={'h-full w-full object-cover ' + 'duration-700 group-hover:scale-105'}/>
|
|
132
|
+
</div>
|
|
133
|
+
</Link>
|
|
134
|
+
|
|
135
|
+
{/*한국*/}
|
|
136
|
+
<Link style={{ right: `${(615 / MAP_W) * 100}%`, top: `${(685 / MAP_H) * 100}%` }} className={'global_link group absolute h-fit w-fit translate-x-[20px] cursor-pointer object-cover ' +
|
|
137
|
+
'max-[1935px]:translate-x-[1.03vw] max-4xl:translate-x-[0.9vw] max-xl:translate-x-0'} href={'/map/seoulbon?scroll=false'}>
|
|
138
|
+
<span className={'relative block h-fit w-fit '}>
|
|
139
|
+
{width >= 1280 ? (<LineKorea className={'h-auto w-[199px] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] ' +
|
|
140
|
+
'max-[1935px]:w-[10.28vw] ' +
|
|
141
|
+
'max-4xl:w-[12vw] '}/>) : width >= 768 ? (<LineKoreaMd className={'h-auto w-[21vw] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] '}/>) : (<LineKoreaSm className={'h-auto w-[21.67vw] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] ' +
|
|
142
|
+
'max-[360px]:w-[78px]'}/>)}
|
|
143
|
+
|
|
144
|
+
<Ping className={'right-0 top-0 -translate-y-1/2 translate-x-1/2 '}/>
|
|
145
|
+
<p className={'absolute bottom-0 left-0 text-[22px] font-[900] uppercase tracking-[-0.5px] text-[#04325A] ' +
|
|
146
|
+
'transition-[color,font-size] duration-300 group-hover:text-[26px] group-hover:text-[#285FA7] ' +
|
|
147
|
+
'max-[1935px]:text-[1.14vw] max-[1935px]:group-hover:text-[1.34vw] ' +
|
|
148
|
+
'max-4xl:text-[1.5vw] max-4xl:group-hover:text-[1.7vw] ' +
|
|
149
|
+
'max-xl:bottom-[0.6vw] max-xl:text-[2.1vw] max-xl:tracking-[-0.1vw] max-xl:group-hover:text-[2.4vw] ' +
|
|
150
|
+
'max-md:bottom-[0.8vw] max-md:h-fit max-md:text-[3.06vw] max-md:tracking-[-0.1vw] max-md:group-hover:text-[3.06vw] ' +
|
|
151
|
+
'max-[360px]:bottom-[2.88px] max-[360px]:h-fit max-[360px]:text-[11px] max-[360px]:tracking-[-0.4px] max-[360px]:group-hover:text-[11px]'}>
|
|
152
|
+
korea
|
|
153
|
+
</p>
|
|
154
|
+
</span>
|
|
155
|
+
<div className={'relative mt-[20px] aspect-square w-[220px] overflow-hidden bg-[#ddd] ' +
|
|
156
|
+
'max-[1935px]:mt-[1.03vw] max-[1935px]:w-[11.37vw] ' +
|
|
157
|
+
'max-4xl:w-[13vw] ' +
|
|
158
|
+
'max-xl:mt-[1.49vw] max-xl:w-[18.1vw] ' +
|
|
159
|
+
'max-md:mt-[2vw] max-md:w-[22.22vw] ' +
|
|
160
|
+
'max-[360px]:mt-[8px] max-[360px]:w-[80px] '}>
|
|
161
|
+
<Image src={'https://d1tgonli21s4df.cloudfront.net/main_new/korea_img.webp'} alt="" fill draggable="false" loading={'lazy'} unoptimized sizes={'280px'} className={'h-full w-full scale-[1.01] object-cover transition-transform ' +
|
|
162
|
+
'duration-700 group-hover:scale-105 '}/>
|
|
163
|
+
</div>
|
|
164
|
+
<div className={'flex h-[55px] w-[220px] translate-y-[-1px] items-center justify-between bg-[#04325A] px-[26px] text-[18px] tracking-[-0.9px] text-white ' +
|
|
165
|
+
'transition-colors group-hover:bg-[#285FA7] ' +
|
|
166
|
+
'max-[1935px]:h-[2.84vw] max-[1935px]:w-[11.37vw] max-[1935px]:px-[1.34vw] max-[1935px]:text-[0.93vw] max-[1935px]:tracking-[-0.05vw] ' +
|
|
167
|
+
'max-4xl:h-[3.5vw] max-4xl:w-[13vw] max-4xl:text-[1.1vw] ' +
|
|
168
|
+
'max-xl:h-[5vw] max-xl:w-[18.1vw] max-xl:text-[1.7vw] ' +
|
|
169
|
+
'max-md:h-[6.39vw] max-md:w-[22.22vw] max-md:px-[2.22vw] max-md:text-[2.22vw] ' +
|
|
170
|
+
'max-[360px]:h-[23px] max-[360px]:w-[80px] max-[360px]:px-[8px] max-[360px]:text-[8px] '}>
|
|
171
|
+
사무소 더 보기
|
|
172
|
+
<IconArrow className={'h-auto w-[16px] ' +
|
|
173
|
+
'max-[1935px]:w-[0.83vw] ' +
|
|
174
|
+
'max-4xl:w-[1vw] ' +
|
|
175
|
+
'max-xl:w-[1.5vw] ' +
|
|
176
|
+
'max-md:w-[2vw] ' +
|
|
177
|
+
'max-[360px]:w-[7px]'}/>
|
|
178
|
+
</div>
|
|
179
|
+
</Link>
|
|
180
|
+
</div>
|
|
181
|
+
</Wrapper>
|
|
182
|
+
</section>);
|
|
183
|
+
};
|
|
184
|
+
export default GlobalOfficeSection;
|
|
185
|
+
const Ping = ({ className }) => {
|
|
186
|
+
return (<div className={'absolute aspect-square w-[9px] max-xl:scale-[0.8] max-2sm:scale-[0.6] ' + className}>
|
|
187
|
+
<div className={'absolute left-0 top-0 h-full w-full rounded-full bg-[#04325A] ' +
|
|
188
|
+
'transition-[transform,background-color] duration-300 group-hover:scale-[1.8] group-hover:bg-[#285FA7] '}/>
|
|
189
|
+
<div className={'ping_1 absolute left-0 top-0 h-full w-full rounded-full bg-[#285FA7] opacity-0 ' +
|
|
190
|
+
'group-hover:animate-global_map_ping_1 duration-500'}/>
|
|
191
|
+
<div className={'ping_2 absolute left-0 top-0 h-full w-full rounded-full bg-[#285FA7] opacity-0 ' +
|
|
192
|
+
'group-hover:animate-global_map_ping_2 duration-500'}/>
|
|
193
|
+
</div>);
|
|
194
|
+
};
|
|
195
|
+
const TextCon = ({ text }) => {
|
|
196
|
+
return (<p className={'text-[30px] font-[700] uppercase tracking-[-0.5px] text-[#7F8791] ' +
|
|
197
|
+
'before:mr-[16px] before:inline-block before:h-[24px] before:w-[3px] before:bg-[#04325A] before:content-[""] ' +
|
|
198
|
+
'max-[1935px]:text-[1.4vw] max-[1935px]:tracking-[-0.03vw] max-[1935px]:before:mr-[0.83vw] max-[1935px]:before:h-[1.1vw] ' +
|
|
199
|
+
'max-xl:text-[2.4vw] max-xl:tracking-[-0.08vw] max-xl:before:mr-[1.33vw] max-xl:before:h-[2vw] ' +
|
|
200
|
+
'max-md:text-[4vw] max-md:leading-none max-md:before:h-[3.33vw] max-md:before:w-[2px] ' +
|
|
201
|
+
'max-[360px]:text-[14.4px] max-[360px]:before:h-[12px] '}>
|
|
202
|
+
{text}
|
|
203
|
+
</p>);
|
|
204
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import GlobalOfficeSection from './GlobalOfficeSection';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
declare const meta: Meta<typeof GlobalOfficeSection>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import GlobalOfficeSection from './GlobalOfficeSection';
|
|
2
|
+
const meta = {
|
|
3
|
+
component: GlobalOfficeSection,
|
|
4
|
+
title: 'GlobalOfficeSection'
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
export const Default = {
|
|
8
|
+
render: args => {
|
|
9
|
+
return (<div className={'font-[SUIT]'}>
|
|
10
|
+
<GlobalOfficeSection />
|
|
11
|
+
</div>);
|
|
12
|
+
}
|
|
13
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import GlobalOfficeSection from './GlobalOfficeSection';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
import { initInitialData } from '../common/initialData';
|
|
4
|
+
|
|
5
|
+
const meta: Meta<typeof GlobalOfficeSection> = {
|
|
6
|
+
component: GlobalOfficeSection,
|
|
7
|
+
title: 'GlobalOfficeSection'
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export default meta;
|
|
11
|
+
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
|
|
14
|
+
export const Default: Story = {
|
|
15
|
+
render: args => {
|
|
16
|
+
return (
|
|
17
|
+
<div className={'font-[SUIT]'}>
|
|
18
|
+
<GlobalOfficeSection />
|
|
19
|
+
</div>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
};
|