This commit is contained in:
Timur Ercan
2023-01-12 13:21:32 +01:00
parent 444108ce36
commit b37da8c25b
2 changed files with 12 additions and 72 deletions

View File

@ -87,6 +87,9 @@ const DashboardPage: NextPageWithLayout = () => {
<div className="mt-12">
<button
type="button"
onClick={() => {
document?.getElementById("fileUploadHelper")?.click();
}}
className="relative block w-full rounded-lg border-2 border-dashed border-gray-300 p-12 text-center hover:border-neon focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"
>
<svg
@ -106,6 +109,7 @@ const DashboardPage: NextPageWithLayout = () => {
Upload a new document
</span>
</button>
<input id="fileUploadHelper" type="file" hidden />
</div>
</div>
</>