|
| 1 | +import { FC } from 'react'; |
| 2 | +import { Send } from 'lucide-react'; |
| 3 | + |
| 4 | +const Basic: FC = () => { |
| 5 | + return ( |
| 6 | + <div className="flex items-center justify-center w-full h-full"> |
| 7 | + <div className="w-full max-w-[768px]"> |
| 8 | + <div className="w-full p-2 rounded-md"> |
| 9 | + <div className="flex items-center justify-center w-full h-full gap-3"> |
| 10 | + <div className="flex flex-col w-full"> |
| 11 | + <label htmlFor="min_token" className="mb-2"> |
| 12 | + Min Token |
| 13 | + </label> |
| 14 | + <input |
| 15 | + id="min_token" |
| 16 | + className="w-full p-3 rounded-md outline-none" |
| 17 | + /> |
| 18 | + </div> |
| 19 | + <div className="flex flex-col w-full"> |
| 20 | + <label htmlFor="min_token" className="mb-2"> |
| 21 | + Max Token |
| 22 | + </label> |
| 23 | + <input |
| 24 | + id="min_token" |
| 25 | + className="w-full p-3 rounded-md outline-none" |
| 26 | + /> |
| 27 | + </div> |
| 28 | + <div className="flex flex-col w-full"> |
| 29 | + <label htmlFor="min_token" className="mb-2"> |
| 30 | + Service |
| 31 | + </label> |
| 32 | + <input |
| 33 | + id="min_token" |
| 34 | + className="w-full p-3 rounded-md outline-none" |
| 35 | + /> |
| 36 | + </div> |
| 37 | + </div> |
| 38 | + <div className="mt-4"> |
| 39 | + <div className="w-full p-3 overflow-y-auto rounded-md scrollbar-corner-transparent scrollbar-thin scrollbar-track-transparent h-96 bg-slate-900"> |
| 40 | + <div className="max-w-full chat chat-end"> |
| 41 | + <div className="text-white bg-gray-600 chat-bubble"> |
| 42 | + You underestimate my power! |
| 43 | + </div> |
| 44 | + </div> |
| 45 | + <div className="max-w-full chat chat-start"> |
| 46 | + <div className="text-white chat-bubble"> |
| 47 | + You underestimate my power! |
| 48 | + </div> |
| 49 | + </div> |
| 50 | + <div className="max-w-full chat chat-end"> |
| 51 | + <div className="text-white bg-gray-600 chat-bubble"> |
| 52 | + You underestimate my power! |
| 53 | + </div> |
| 54 | + </div> |
| 55 | + <div className="max-w-full chat chat-start"> |
| 56 | + <div className="text-white chat-bubble"> |
| 57 | + You underestimate my power! |
| 58 | + </div> |
| 59 | + </div> |
| 60 | + <div className="max-w-full chat chat-end"> |
| 61 | + <div className="text-white bg-gray-600 chat-bubble"> |
| 62 | + You underestimate my power! |
| 63 | + </div> |
| 64 | + </div> |
| 65 | + <div className="max-w-full chat chat-start"> |
| 66 | + <div className="text-white chat-bubble"> |
| 67 | + You underestimate my power! |
| 68 | + </div> |
| 69 | + </div> |
| 70 | + <div className="max-w-full chat chat-end"> |
| 71 | + <div className="text-white bg-gray-600 chat-bubble"> |
| 72 | + You underestimate my power! |
| 73 | + </div> |
| 74 | + </div> |
| 75 | + <div className="max-w-full chat chat-start"> |
| 76 | + <div className="text-white chat-bubble"> |
| 77 | + You underestimate my power! |
| 78 | + </div> |
| 79 | + </div> |
| 80 | + </div> |
| 81 | + </div> |
| 82 | + <div className="relative mt-4"> |
| 83 | + <textarea |
| 84 | + className="w-full p-4 pr-16 rounded-md outline-none resize-none" |
| 85 | + rows={2} |
| 86 | + /> |
| 87 | + <button className="absolute flex items-center justify-center p-2 bg-white rounded-full right-3 top-5"> |
| 88 | + <Send className="size-6 stroke-[#121212]" /> |
| 89 | + </button> |
| 90 | + </div> |
| 91 | + </div> |
| 92 | + </div> |
| 93 | + </div> |
| 94 | + ); |
| 95 | +}; |
| 96 | + |
| 97 | +export default Basic; |
0 commit comments