-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This Pull Request implements keyfile drag-and-drop style of uploading file. Comes with support for uploaded file type checking. Closes #3 [screencast-bpconcjcammlapcogcnnelfmaeghhagj-2024.03.08-22_19_41.webm](https://github.com/babblebey/private-key-converter/assets/25631971/2c95f461-8837-4dd0-a3cf-ae14d3396f35)
- Loading branch information
Showing
3 changed files
with
71 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { PlusIcon } from "@heroicons/react/24/outline"; | ||
|
||
export function Dropbox() { | ||
return ( | ||
<div className="hidden items-center justify-center fixed top-0 z-40 w-full h-screen bg-black/70 backdrop-blur" id="dropbox"> | ||
<p className="flex items-center text-md md:text-xl text-white space-x-2"> | ||
<PlusIcon className="w-10 h-10" aria-hidden="true" /> | ||
<span>Drop key file here to upload</span> | ||
</p> | ||
</div> | ||
); | ||
}; |