@daeryun/dr_components 0.6.44 → 0.6.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.
- package/dist/components/Daeryuntalk/ChatConversation.jsx +2 -3
- package/dist/components/Daeryuntalk/ChatConversation.tsx +2 -4
- package/dist/components/Daeryuntalk/ChatHomeView.jsx +1 -1
- package/dist/components/Daeryuntalk/ChatHomeView.tsx +1 -1
- package/dist/components/Daeryuntalk/HistoryView.tsx +1 -2
- package/dist/components/ViewMoreSection/ViewMoreSection.jsx +3 -2
- package/dist/components/ViewMoreSection/ViewMoreSection.tsx +3 -2
- package/dist/styles/globals.css +0 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -42,9 +42,8 @@ const ChatConversation = ({ onBackClick }) => {
|
|
|
42
42
|
<PrevIcon width={28} height={28}/>
|
|
43
43
|
</button>
|
|
44
44
|
<div className="flex items-center">
|
|
45
|
-
<
|
|
46
|
-
|
|
47
|
-
</div>
|
|
45
|
+
<DaeryunLogoIcon width={28} height={28} className="mr-2"/>
|
|
46
|
+
|
|
48
47
|
<h2 className="font-bold leading-[140%] tracking-[-4%]">법무법인(유한)대륜</h2>
|
|
49
48
|
</div>
|
|
50
49
|
<div className="w-7"></div>
|
|
@@ -4,7 +4,6 @@ import ChatMessage from './ChatMessage';
|
|
|
4
4
|
import ChatInput from './ChatInput';
|
|
5
5
|
import NoticeMessage from './NoticeMessage';
|
|
6
6
|
import DateSeparator from './DateSeparator';
|
|
7
|
-
import Image from 'next/image';
|
|
8
7
|
import PrevIcon from '../../asset/images/daeryuntalk/prev.svg';
|
|
9
8
|
import DaeryunLogoIcon from '../../asset/images/daeryuntalk/daeryun-logo.svg';
|
|
10
9
|
type ChatConversationProps = {
|
|
@@ -63,9 +62,8 @@ const ChatConversation: React.FC<ChatConversationProps> = ({ onBackClick }) => {
|
|
|
63
62
|
<PrevIcon width={28} height={28} />
|
|
64
63
|
</button>
|
|
65
64
|
<div className="flex items-center">
|
|
66
|
-
<
|
|
67
|
-
|
|
68
|
-
</div>
|
|
65
|
+
<DaeryunLogoIcon width={28} height={28} className="mr-2" />
|
|
66
|
+
|
|
69
67
|
<h2 className="font-bold leading-[140%] tracking-[-4%]">법무법인(유한)대륜</h2>
|
|
70
68
|
</div>
|
|
71
69
|
<div className="w-7"></div>
|
|
@@ -63,7 +63,7 @@ const ChatHomeView = () => {
|
|
|
63
63
|
|
|
64
64
|
<section className="mx-auto mt-[150px] flex w-[320px] flex-col gap-5 rounded-[12px] bg-white px-4 py-6 shadow-[0px_4px_10px_0px_#00000026]">
|
|
65
65
|
<div className="flex items-center">
|
|
66
|
-
<DaeryunLogoIcon width={24} height={24}/>
|
|
66
|
+
<DaeryunLogoIcon width={24} height={24} className="mr-2"/>
|
|
67
67
|
<h1 className="font-medium">법무법인(유한)대륜</h1>
|
|
68
68
|
</div>
|
|
69
69
|
|
|
@@ -96,7 +96,7 @@ const ChatHomeView: React.FC = () => {
|
|
|
96
96
|
|
|
97
97
|
<section className="mx-auto mt-[150px] flex w-[320px] flex-col gap-5 rounded-[12px] bg-white px-4 py-6 shadow-[0px_4px_10px_0px_#00000026]">
|
|
98
98
|
<div className="flex items-center">
|
|
99
|
-
<DaeryunLogoIcon width={24} height={24} />
|
|
99
|
+
<DaeryunLogoIcon width={24} height={24} className="mr-2" />
|
|
100
100
|
<h1 className="font-medium">법무법인(유한)대륜</h1>
|
|
101
101
|
</div>
|
|
102
102
|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import Image from 'next/image';
|
|
3
2
|
import LinkRight from '../../asset/images/daeryuntalk/link_right.svg';
|
|
4
3
|
import EmptyMessage from '../../asset/images/daeryuntalk/empty_message.svg';
|
|
5
4
|
import SendIcon from '../../asset/images/daeryuntalk/send.svg';
|
|
6
5
|
import PrevIcon from '../../asset/images/daeryuntalk/prev.svg';
|
|
7
|
-
|
|
6
|
+
|
|
8
7
|
const mockChatHistories: any[] = [];
|
|
9
8
|
|
|
10
9
|
type HistoryViewProps = {
|
|
@@ -16,11 +16,12 @@ const ViewMoreSection = (props) => {
|
|
|
16
16
|
};
|
|
17
17
|
const handleOnKeyPress = (event) => {
|
|
18
18
|
if (event.key === 'Enter') {
|
|
19
|
+
const encoded = encodeURIComponent(search.trim());
|
|
19
20
|
if (!props.isGroupSearch) {
|
|
20
|
-
window.open(`https://www.daeryunlaw.com/integrate?tab=전체&search=${
|
|
21
|
+
window.open(`https://www.daeryunlaw.com/integrate?tab=전체&search=${encoded}`, '_blank');
|
|
21
22
|
}
|
|
22
23
|
else {
|
|
23
|
-
router.push(`/integrate?tab=전체&search=${
|
|
24
|
+
router.push(`/integrate?tab=전체&search=${encoded}`);
|
|
24
25
|
}
|
|
25
26
|
}
|
|
26
27
|
};
|
|
@@ -40,10 +40,11 @@ const ViewMoreSection = (props: IViewMoreSectionTypes) => {
|
|
|
40
40
|
|
|
41
41
|
const handleOnKeyPress = (event: React.KeyboardEvent<HTMLInputElement>) => {
|
|
42
42
|
if (event.key === 'Enter') {
|
|
43
|
+
const encoded = encodeURIComponent(search.trim());
|
|
43
44
|
if (!props.isGroupSearch) {
|
|
44
|
-
window.open(`https://www.daeryunlaw.com/integrate?tab=전체&search=${
|
|
45
|
+
window.open(`https://www.daeryunlaw.com/integrate?tab=전체&search=${encoded}`, '_blank');
|
|
45
46
|
} else {
|
|
46
|
-
router.push(`/integrate?tab=전체&search=${
|
|
47
|
+
router.push(`/integrate?tab=전체&search=${encoded}`);
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
50
|
};
|