@daeryun/dr_components 1.2.39 → 1.2.41
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/components/Footer/index.jsx +1 -1
- package/dist/components/Footer/index.tsx +1 -1
- package/dist/components/GlobalOfficeSection/GlobalOfficeSection.jsx +3 -9
- package/dist/components/GlobalOfficeSection/GlobalOfficeSection.tsx +3 -13
- package/dist/components/categoryView/CategoryComponent.jsx +1 -1
- package/dist/components/categoryView/CategoryComponent.tsx +2 -1
- package/dist/components/common/hook/index.d.ts +1 -1
- package/dist/components/common/hook/index.js +1 -1
- package/dist/components/common/hook/index.ts +1 -1
- package/dist/components/page/Integrate/Broadcast.d.ts +0 -1
- package/dist/components/page/Integrate/Broadcast.jsx +2 -3
- package/dist/components/page/Integrate/Broadcast.tsx +2 -6
- package/dist/components/page/Integrate/Field.d.ts +0 -1
- package/dist/components/page/Integrate/Field.jsx +2 -5
- package/dist/components/page/Integrate/Field.tsx +2 -9
- package/dist/components/page/Integrate/LawInfo.d.ts +0 -1
- package/dist/components/page/Integrate/LawInfo.jsx +2 -5
- package/dist/components/page/Integrate/LawInfo.tsx +2 -8
- package/dist/components/page/Integrate/Reply.d.ts +0 -1
- package/dist/components/page/Integrate/Reply.jsx +6 -8
- package/dist/components/page/Integrate/Reply.tsx +8 -10
- package/dist/components/page/Integrate/SearchData.jsx +6 -8
- package/dist/components/page/Integrate/SearchData.tsx +0 -8
- package/dist/components/page/Integrate/Success.d.ts +0 -1
- package/dist/components/page/Integrate/Success.jsx +4 -7
- package/dist/components/page/Integrate/Success.tsx +5 -10
- package/dist/components/page/Integrate/Trend.d.ts +0 -1
- package/dist/components/page/Integrate/Trend.jsx +2 -5
- package/dist/components/page/Integrate/Trend.tsx +2 -7
- package/dist/components/page/MapPage/MobileMapKeyDetail.jsx +1 -6
- package/dist/components/page/MapPage/MobileMapKeyDetail.tsx +1 -9
- package/dist/components/page/MapPage/PcMapKeyDetail.jsx +1 -6
- package/dist/components/page/MapPage/PcMapKeyDetail.tsx +1 -9
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/components/hook/useIsApp.d.ts +0 -2
- package/dist/components/hook/useIsApp.js +0 -22
- package/dist/components/hook/useIsApp.ts +0 -29
|
@@ -6,10 +6,8 @@ import imgExpand from '../../../asset/images/map/expand.webp';
|
|
|
6
6
|
import imgMap from '../../../asset/images/map/map.webp';
|
|
7
7
|
import imgShare from '../../../asset/images/map/share.webp';
|
|
8
8
|
import imgYoutube from '../../../asset/images/map/youtube.webp';
|
|
9
|
-
import useIsApp from '../../hook/useIsApp';
|
|
10
9
|
const MobileMapKeyDetail = ({ h1Title, mapInfo, setShowModal, mapPath, mapShare, targetRef }) => {
|
|
11
10
|
var _a, _b, _c;
|
|
12
|
-
const isApp = useIsApp();
|
|
13
11
|
return (<div ref={targetRef} className="block md:mt-[5%] lg:hidden">
|
|
14
12
|
<div className="border-b-[1px] border-solid border-[#285FA7] py-7">
|
|
15
13
|
<div className="flex flex-col gap-4 md:flex-row">
|
|
@@ -18,10 +16,7 @@ const MobileMapKeyDetail = ({ h1Title, mapInfo, setShowModal, mapPath, mapShare,
|
|
|
18
16
|
<h2 className="break-keep text-[18px] font-[800] text-[#0D2B52] md:text-[18px] lg:text-[28px]">
|
|
19
17
|
{mapInfo.title}
|
|
20
18
|
</h2>
|
|
21
|
-
{mapInfo.domain && (<Link href={{
|
|
22
|
-
pathname: `https://${mapInfo.domain}`,
|
|
23
|
-
query: Object.assign({}, (isApp ? { isApp: true } : {}))
|
|
24
|
-
}} target="_blank" className="group mx-auto mt-[30px] flex h-[70px] w-[200px] items-center justify-between rounded-[12px] border-[1px] border-solid border-[#0D2B52] px-[15px] hover:bg-[#0D2B52] max-xl:h-[60px] max-xl:w-[170px] max-xl:px-[10px] max-md:mb-[20px] max-md:mt-[10px] max-md:h-[50px] max-md:w-[155px]">
|
|
19
|
+
{mapInfo.domain && (<Link href={`https://${mapInfo.domain}`} target="_blank" className="group mx-auto mt-[30px] flex h-[70px] w-[200px] items-center justify-between rounded-[12px] border-[1px] border-solid border-[#0D2B52] px-[15px] hover:bg-[#0D2B52] max-xl:h-[60px] max-xl:w-[170px] max-xl:px-[10px] max-md:mb-[20px] max-md:mt-[10px] max-md:h-[50px] max-md:w-[155px]">
|
|
25
20
|
<span className="relative block aspect-square w-[37px] rounded-full bg-[#0D2B52] group-hover:bg-[#fff] max-xl:w-[35px]">
|
|
26
21
|
<IconHome className="scale-[.65] fill-[#fff] group-hover:fill-[#0D2B52]"/>
|
|
27
22
|
</span>
|
|
@@ -9,7 +9,6 @@ import imgMap from '../../../asset/images/map/map.webp';
|
|
|
9
9
|
import imgShare from '../../../asset/images/map/share.webp';
|
|
10
10
|
import imgYoutube from '../../../asset/images/map/youtube.webp';
|
|
11
11
|
import { ForwardedRef } from 'react';
|
|
12
|
-
import useIsApp from '../../hook/useIsApp';
|
|
13
12
|
|
|
14
13
|
const MobileMapKeyDetail = ({
|
|
15
14
|
h1Title,
|
|
@@ -26,8 +25,6 @@ const MobileMapKeyDetail = ({
|
|
|
26
25
|
mapShare: (item: IMap) => Promise<void>;
|
|
27
26
|
targetRef: ForwardedRef<HTMLDivElement>;
|
|
28
27
|
}) => {
|
|
29
|
-
const isApp = useIsApp();
|
|
30
|
-
|
|
31
28
|
return (
|
|
32
29
|
<div ref={targetRef} className="block md:mt-[5%] lg:hidden">
|
|
33
30
|
<div className="border-b-[1px] border-solid border-[#285FA7] py-7">
|
|
@@ -39,12 +36,7 @@ const MobileMapKeyDetail = ({
|
|
|
39
36
|
</h2>
|
|
40
37
|
{mapInfo.domain && (
|
|
41
38
|
<Link
|
|
42
|
-
href={{
|
|
43
|
-
pathname: `https://${mapInfo.domain}`,
|
|
44
|
-
query: {
|
|
45
|
-
...(isApp ? { isApp: true } : {})
|
|
46
|
-
}
|
|
47
|
-
}}
|
|
39
|
+
href={`https://${mapInfo.domain}`}
|
|
48
40
|
target="_blank"
|
|
49
41
|
className="group mx-auto mt-[30px] flex h-[70px] w-[200px] items-center justify-between rounded-[12px] border-[1px] border-solid border-[#0D2B52] px-[15px] hover:bg-[#0D2B52] max-xl:h-[60px] max-xl:w-[170px] max-xl:px-[10px] max-md:mb-[20px] max-md:mt-[10px] max-md:h-[50px] max-md:w-[155px]"
|
|
50
42
|
>
|
|
@@ -6,10 +6,8 @@ import imgExpand from '../../../asset/images/map/expand.webp';
|
|
|
6
6
|
import imgMap from '../../../asset/images/map/map.webp';
|
|
7
7
|
import imgShare from '../../../asset/images/map/share.webp';
|
|
8
8
|
import imgYoutube from '../../../asset/images/map/youtube.webp';
|
|
9
|
-
import useIsApp from '../../hook/useIsApp';
|
|
10
9
|
const PcMapKeyDetail = ({ h1Title, mapInfo, setShowModal, mapPath, mapShare, targetRef }) => {
|
|
11
10
|
var _a, _b, _c;
|
|
12
|
-
const isApp = useIsApp();
|
|
13
11
|
return (<div ref={targetRef} className="hidden border-b-[1px] border-solid border-[#285FA7] py-14 lg:block">
|
|
14
12
|
<div className="flex gap-10">
|
|
15
13
|
<div className="w-[35%] text-center">
|
|
@@ -17,10 +15,7 @@ const PcMapKeyDetail = ({ h1Title, mapInfo, setShowModal, mapPath, mapShare, tar
|
|
|
17
15
|
<h2 className="break-keep font-[800] text-[#0D2B52] md:text-[20px] lg:text-[22px]">
|
|
18
16
|
{mapInfo.title}
|
|
19
17
|
</h2>
|
|
20
|
-
{mapInfo.domain && (<Link href={{
|
|
21
|
-
pathname: `https://${mapInfo.domain}`,
|
|
22
|
-
query: Object.assign({}, (isApp ? { isApp: true } : {}))
|
|
23
|
-
}} target="_blank" className="group mx-auto mt-[30px] flex h-[70px] w-[200px] items-center justify-between rounded-[12px] border-[1px] border-solid border-[#0D2B52] px-[15px] hover:bg-[#0D2B52] max-xl:h-[60px] max-xl:w-[170px] max-xl:px-[10px]">
|
|
18
|
+
{mapInfo.domain && (<Link href={`https://${mapInfo.domain}`} target="_blank" className="group mx-auto mt-[30px] flex h-[70px] w-[200px] items-center justify-between rounded-[12px] border-[1px] border-solid border-[#0D2B52] px-[15px] hover:bg-[#0D2B52] max-xl:h-[60px] max-xl:w-[170px] max-xl:px-[10px]">
|
|
24
19
|
<span className="relative block aspect-square w-[37px] rounded-full bg-[#0D2B52] group-hover:bg-[#fff] max-xl:w-[35px]">
|
|
25
20
|
<IconHome className="scale-[.65] fill-[#fff] group-hover:fill-[#0D2B52]"/>
|
|
26
21
|
</span>
|
|
@@ -8,7 +8,6 @@ import imgExpand from '../../../asset/images/map/expand.webp';
|
|
|
8
8
|
import imgMap from '../../../asset/images/map/map.webp';
|
|
9
9
|
import imgShare from '../../../asset/images/map/share.webp';
|
|
10
10
|
import imgYoutube from '../../../asset/images/map/youtube.webp';
|
|
11
|
-
import useIsApp from '../../hook/useIsApp';
|
|
12
11
|
|
|
13
12
|
const PcMapKeyDetail = ({
|
|
14
13
|
h1Title,
|
|
@@ -25,8 +24,6 @@ const PcMapKeyDetail = ({
|
|
|
25
24
|
mapShare: (item: IMap) => Promise<void>;
|
|
26
25
|
targetRef: ForwardedRef<HTMLDivElement>;
|
|
27
26
|
}) => {
|
|
28
|
-
const isApp = useIsApp();
|
|
29
|
-
|
|
30
27
|
return (
|
|
31
28
|
<div ref={targetRef} className="hidden border-b-[1px] border-solid border-[#285FA7] py-14 lg:block">
|
|
32
29
|
<div className="flex gap-10">
|
|
@@ -37,12 +34,7 @@ const PcMapKeyDetail = ({
|
|
|
37
34
|
</h2>
|
|
38
35
|
{mapInfo.domain && (
|
|
39
36
|
<Link
|
|
40
|
-
href={{
|
|
41
|
-
pathname: `https://${mapInfo.domain}`,
|
|
42
|
-
query: {
|
|
43
|
-
...(isApp ? { isApp: true } : {})
|
|
44
|
-
}
|
|
45
|
-
}}
|
|
37
|
+
href={`https://${mapInfo.domain}`}
|
|
46
38
|
target="_blank"
|
|
47
39
|
className="group mx-auto mt-[30px] flex h-[70px] w-[200px] items-center justify-between rounded-[12px] border-[1px] border-solid border-[#0D2B52] px-[15px] hover:bg-[#0D2B52] max-xl:h-[60px] max-xl:w-[170px] max-xl:px-[10px]"
|
|
48
40
|
>
|