parent
c0a3de0117
commit
cc703354f5
4 changed files with 45 additions and 2 deletions
After Width: | Height: | Size: 1.1 KiB |
@ -0,0 +1,25 @@ |
|||||||
|
import React from "react"; |
||||||
|
|
||||||
|
import file from "./images/file.svg"; |
||||||
|
|
||||||
|
const index = () => { |
||||||
|
return ( |
||||||
|
<div className="bg-white w-fit flex flex-col items-center p-10 rounded-lg border-2 border-dashed border-blue-300"> |
||||||
|
<div className=" cursor-pointer"> |
||||||
|
<img src={file} className="cursor-pointer relative" /> |
||||||
|
<input |
||||||
|
type="file" |
||||||
|
className="absolute top-10 opacity-0" |
||||||
|
style={{ right: "0px" }} |
||||||
|
name="" |
||||||
|
/> |
||||||
|
</div> |
||||||
|
<p className="text-sm mt-5"> |
||||||
|
یک فایل را اینجا بکشید یا از{" "} |
||||||
|
<span className="text-blue-300">رایانه خود انتخاب کنید</span> |
||||||
|
</p> |
||||||
|
</div> |
||||||
|
); |
||||||
|
}; |
||||||
|
|
||||||
|
export default index; |
Loading…
Reference in new issue