Skip to content

Commit

Permalink
unit-conversion/data: Swap columns with rows
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Jul 11, 2024
1 parent 9f6b6f8 commit 2d22b23
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/routes/unit-conversion/data/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</script>

<Tool>
<TwoColumnView leftTitle="Bi-bytes (common)" rightTitle="International System of Units">
<TwoColumnView leftTitle="Bi-bytes (common)" rightTitle="Data rates (bi-bits, common)">
<div slot="left">
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="bytes" name="Bytes" />
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="kibibytes" name="Kibibytes" />
Expand All @@ -19,24 +19,24 @@
</div>

<div slot="right">
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="bits" name="Bits" />
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="kibibits" name="Kibibits" />
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="mebibits" name="Mebibits" />
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="gibibits" name="Gibibits" />
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="tebibits" name="Tebibits" />
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="pebibits" name="Pebibits" />
</div>
</TwoColumnView>

<TwoColumnView leftTitle="International System of Units" rightTitle="Data rates (bits, International System of Units)">
<div slot="left">
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="bytes" name="Bytes" />
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="kilobytes" name="Kilobytes" />
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="megabytes" name="Megabytes" />
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="gigabytes" name="Gigabytes" />
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="terabytes" name="Terabytes" />
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="petabytes" name="Petabytes" />
</div>
</TwoColumnView>

<TwoColumnView leftTitle="Data rates (bi-bits, common)" rightTitle="Data rates (bits, International System of Units)">
<div slot="left">
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="bits" name="Bits" />
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="kibibits" name="Kibibits" />
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="mebibits" name="Mebibits" />
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="gibibits" name="Gibibits" />
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="tebibits" name="Tebibits" />
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="pebibits" name="Pebibits" />
</div>

<div slot="right">
<SingleUnit bind:baseValue={baseValue} bind:from={from} to="bits" name="Bits" />
Expand Down

0 comments on commit 2d22b23

Please sign in to comment.