feat: add KiB/kB explanations

Fix #64
This commit is contained in:
ShareVB committed 2025-05-11 17:54:01 +02:00
1 parent 3b21a6b60e
commit 6762677a94
3 files changed
+20

No files matched your search

@@ -53,6 +53,13 @@ const convertedValue = computed(() => {
<template>
<div>
<n-p text-center>
1MiB = 1024KiB ; 1MB = 1000kB ; 1GiB = 1024MiB ; 1GB = 1000MB ;
<n-a href="https://en.wikipedia.org/wiki/Byte" target="_blank" rel="noopener">
see here for details
</n-a>
</n-p>
<c-card>
<n-form-item label="Input Size:" label-placement="left" mb-1>
<c-input-text
@@ -142,6 +142,13 @@ const amountTransferableOutput = computed(() => {
<template>
<div>
<n-p text-center>
1MiB = 1024KiB ; 1MB = 1000kB ; 1GiB = 1024MiB ; 1GB = 1000MB ;
<n-a href="https://en.wikipedia.org/wiki/Byte" target="_blank" rel="noopener">
see here for details
</n-a>
</n-p>
<c-card title="Transfer Time" mb-2>
<n-form-item label="Data Size:" label-placement="left">
<n-input v-model:value="transferTimeInput.dataSize" placeholder="Data Size..." :min="0" w-full />
@@ -32,6 +32,12 @@ const claimedUnit = ref('tb');
label="Unit:"
:options="dec_units"
/>
<n-p>
1MiB = 1024KiB ; 1MB = 1000kB ; 1GiB = 1024MiB ; 1GB = 1000MB ;
<n-a href="https://en.wikipedia.org/wiki/Byte" target="_blank" rel="noopener">
see here for details
</n-a>
</n-p>
<n-divider />