|
1 | 1 | import React from 'react' |
| 2 | +import ChatPanelYou from './ChatPanelYou' |
| 3 | +import ChatPanelSender from './ChatPanelSender' |
2 | 4 |
|
3 | 5 | export default function ChatPanel() { |
4 | 6 | return ( |
5 | | - <div className="flex-1 overflow-y-scroll bg-[#EFEAE2] relative flex"> |
6 | | - <div className="w-full h-full absolute bg-[url(./wa-bg.png)]"></div> |
7 | | - <div className="flex flex-col z-50 py-5 px-10 w-full gap-4"> |
8 | | - <div className="relative rounded-lg bg-[#DCF8C6] px-3 py-2 shadow-xs |
9 | | - self-end max-w-[65%]"> |
| 7 | + <div className="flex-1 relative flex flex-col overflow-y-scroll scrollbar"> |
| 8 | + <div className="flex-1 flex flex-col z-50 py-5 px-10 w-full gap-4"> |
| 9 | + <ChatPanelYou message='Hi, What is your name?' sentAt='8:16 AM' /> |
| 10 | + <ChatPanelSender> |
10 | 11 | <p className="text-sm text-gray-700"> |
11 | | - Halo Admin Joy Dental, saya mau konsultasi gigi |
| 12 | + Hi, there! My name is Jamil, nice to meet you! |
12 | 13 | </p> |
13 | | - <div className="flex items-center justify-end gap-1 text-[11px] text-gray-500"> |
14 | | - <span>8:16 AM</span> |
15 | | - <svg |
16 | | - viewBox="0 0 16 11" |
17 | | - height="11" |
18 | | - width="16" |
19 | | - preserveAspectRatio="xMidYMid meet" |
20 | | - className="text-[#53bdeb]" |
21 | | - fill="none"> |
22 | | - <title>msg-dblcheck</title> |
23 | | - <path d="M11.0714 0.652832C10.991 0.585124 10.8894 0.55127 10.7667 0.55127C10.6186 0.55127 10.4916 0.610514 10.3858 0.729004L4.19688 8.36523L1.79112 6.09277C1.7488 6.04622 1.69802 6.01025 1.63877 5.98486C1.57953 5.95947 1.51817 5.94678 1.45469 5.94678C1.32351 5.94678 1.20925 5.99544 1.11192 6.09277L0.800883 6.40381C0.707784 6.49268 0.661235 6.60482 0.661235 6.74023C0.661235 6.87565 0.707784 6.98991 0.800883 7.08301L3.79698 10.0791C3.94509 10.2145 4.11224 10.2822 4.29844 10.2822C4.40424 10.2822 4.5058 10.259 4.60313 10.2124C4.70046 10.1659 4.78086 10.1003 4.84434 10.0156L11.4903 1.59863C11.5623 1.5013 11.5982 1.40186 11.5982 1.30029C11.5982 1.14372 11.5348 1.01888 11.4078 0.925781L11.0714 0.652832ZM8.6212 8.32715C8.43077 8.20866 8.2488 8.09017 8.0753 7.97168C7.99489 7.89128 7.8891 7.85107 7.75791 7.85107C7.6098 7.85107 7.4892 7.90397 7.3961 8.00977L7.10411 8.33984C7.01947 8.43717 6.97715 8.54508 6.97715 8.66357C6.97715 8.79476 7.0237 8.90902 7.1168 9.00635L8.1959 10.0791C8.33132 10.2145 8.49636 10.2822 8.69102 10.2822C8.79681 10.2822 8.89838 10.259 8.99571 10.2124C9.09304 10.1659 9.17556 10.1003 9.24327 10.0156L15.8639 1.62402C15.9358 1.53939 15.9718 1.43994 15.9718 1.32568C15.9718 1.1818 15.9125 1.05697 15.794 0.951172L15.4386 0.678223C15.3582 0.610514 15.2587 0.57666 15.1402 0.57666C14.9964 0.57666 14.8715 0.635905 14.7657 0.754395L8.6212 8.32715Z" |
24 | | - fill="currentColor"> |
25 | | - </path> |
26 | | - </svg> |
27 | | - </div> |
28 | | - {/* Triangle shape for chat bubble */} |
29 | | - <div |
30 | | - className="absolute top-0 -right-2.5 h-4 w-4" |
31 | | - style={{ |
32 | | - clipPath: "polygon(0 0, 100% 0, 0 100%, 0 50%)", |
33 | | - }} |
34 | | - > |
35 | | - <div className="absolute h-5 w-5 transform bg-[#DCF8C6]" /> |
36 | | - </div> |
37 | | - </div> |
38 | | - |
39 | | - <div className="relative rounded-lg bg-white px-3 py-2 shadow-xs |
40 | | - self-start max-w-[65%]"> |
41 | | - <p className="text-sm text-gray-700"> |
42 | | - Terima kasih telah menghubungi Hotline Klinik Gigi Joy Dental. Mohon maaf saat ini di luar jam operasional kami. Kami akan segera menghubungi kembali di jam operasional: |
| 14 | + </ChatPanelSender> |
| 15 | + <ChatPanelYou message='Tell me about yourself' sentAt='8:20 AM' /> |
| 16 | + <ChatPanelSender> |
| 17 | + <p className="text-sm text-gray-700 text-justify"> |
| 18 | + Passionate and skilled Software Engineer with 8 years of extensive experience |
| 19 | + in designing, developing, and maintaining robust web and mobile applications. |
| 20 | + Proficient in full-stack development, with a deep understanding of front-end and |
| 21 | + back-end technologies. Demonstrated expertise in delivering high-quality, |
| 22 | + scalable solutions tailored to meet user needs and business objectives. |
43 | 23 | </p> |
44 | | - <div className="flex items-center justify-end gap-1 text-[11px] text-gray-500"> |
45 | | - <span>8:16 AM</span> |
46 | | - </div> |
47 | | - {/* Triangle shape for chat bubble */} |
48 | | - <div |
49 | | - className="absolute top-0 -left-2.5 h-4 w-4" |
50 | | - style={{ |
51 | | - clipPath: "polygon(0 0, 0 0, 100% 0, 100% 100%)", |
52 | | - }} |
53 | | - > |
54 | | - <div className="absolute h-5 w-5 transform bg-white" /> |
| 24 | + <p className="text-sm text-gray-700 text-justify mt-2"> |
| 25 | + Experienced in agile development methodologies, collaborating |
| 26 | + effectively with cross-functional teams to drive projects from |
| 27 | + concept to deployment. Committed to continuous learning and staying |
| 28 | + up-to-date with industry trends to implement innovative solutions. |
| 29 | + </p> |
| 30 | + <p className="text-sm text-gray-700 text-justify mt-2"> |
| 31 | + Seeking to leverage comprehensive technical |
| 32 | + knowledge and problem-solving abilities to contribute to |
| 33 | + dynamic and forward-thinking development teams. |
| 34 | + </p> |
| 35 | + </ChatPanelSender> |
| 36 | + <ChatPanelYou message='Skills' sentAt='8:25 AM' /> |
| 37 | + <ChatPanelSender> |
| 38 | + <div className="text-sm text-gray-700 text-justify flex |
| 39 | + flex-col gap-5 w-sm"> |
| 40 | + <div> |
| 41 | + <strong>Programming Language</strong> |
| 42 | + <ul className="list-disc ml-5"> |
| 43 | + <li>PHP</li> |
| 44 | + <li>JavaScript</li> |
| 45 | + <li>TypeScript</li> |
| 46 | + <li>Dart</li> |
| 47 | + <li>Kotlin</li> |
| 48 | + <li>Java</li> |
| 49 | + </ul> |
| 50 | + </div> |
| 51 | + <div> |
| 52 | + <strong>Frameworks</strong> |
| 53 | + <ul className="list-disc ml-5"> |
| 54 | + <li>Symfony</li> |
| 55 | + <li>Slim</li> |
| 56 | + <li>Laravel</li> |
| 57 | + <li>Flutter</li> |
| 58 | + <li>React.js</li> |
| 59 | + <li>Vue.js</li> |
| 60 | + <li>Vite.js</li> |
| 61 | + <li>Next.js</li> |
| 62 | + </ul> |
| 63 | + </div> |
| 64 | + <div> |
| 65 | + <strong>Database</strong> |
| 66 | + <ul className="list-disc ml-5"> |
| 67 | + <li>MySQL</li> |
| 68 | + <li>Postgres</li> |
| 69 | + <li>MongoDB</li> |
| 70 | + <li>Firebase</li> |
| 71 | + <li>Vercel Storage</li> |
| 72 | + </ul> |
| 73 | + </div> |
| 74 | + <div> |
| 75 | + <strong>DevOps & CI/CD</strong> |
| 76 | + <ul className="list-disc ml-5"> |
| 77 | + <li>Github Actions</li> |
| 78 | + <li>Bitbucket Pipelines</li> |
| 79 | + <li>AWS</li> |
| 80 | + <li>Docker</li> |
| 81 | + </ul> |
| 82 | + </div> |
55 | 83 | </div> |
56 | | - </div> |
| 84 | + </ChatPanelSender> |
57 | 85 | </div> |
58 | 86 | </div> |
59 | 87 | ) |
|
0 commit comments