Skip to content

Commit

Permalink
🚸 Add maximum upload file size info (#498)
Browse files Browse the repository at this point in the history
* 🚸 Add maximum upload file size info

* 💬 Update limit text to recommend file size
  • Loading branch information
AuroraHuang22 authored Dec 13, 2024
1 parent 1ed9bf1 commit aaa076a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/IscnUploadForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
@click="$refs.imageFile.click()"
>{{ $t('UploadForm.button.selectFile') }}
</Button>
<p class="w-full text-center text-[12px] text-medium-gray mt-[12px]" v-text="$t('UploadForm.button.size.limit')" />
<input
ref="imageFile"
class="hidden"
Expand Down Expand Up @@ -346,7 +347,7 @@ export default class IscnUploadForm extends Vue {
},
'items-center',
'justify-between',
'p-[32px]',
'p-[28px]',
'mb-[12px]',
'border-[2px]',
'border-dashed',
Expand Down
1 change: 1 addition & 0 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@
"UploadForm.button.confirm": "Confirm",
"UploadForm.button.mintUrl": "Has a URL, Arweave or IPFS hash? Mint NFT here",
"UploadForm.button.selectFile": "Select a file",
"UploadForm.button.size.limit": "(Recommended file size: < 20 MB)",
"UploadForm.button.skip": "Skip Upload",
"UploadForm.button": "Start Upload",
"UploadForm.label.insertISCNPage": "Add ISCN Page to EPUB & PDF",
Expand Down

0 comments on commit aaa076a

Please sign in to comment.