|
| 1 | +<template> |
| 2 | + <c-table-container :maxW="{ base: '300px', lg: 'unset' }"> |
| 3 | + <c-table variant="striped" colorScheme="teal"> |
| 4 | + <c-table-caption>Imperial to metric conversion factors</c-table-caption> |
| 5 | + <c-thead> |
| 6 | + <c-tr> |
| 7 | + <c-th aria-hidden /> |
| 8 | + <c-th>To Convert</c-th> |
| 9 | + <c-th>into</c-th> |
| 10 | + <c-th>multiply by</c-th> |
| 11 | + </c-tr> |
| 12 | + </c-thead> |
| 13 | + <c-tbody> |
| 14 | + <c-tr> |
| 15 | + <c-th rowSpan="4">Length</c-th> |
| 16 | + <c-td>inches</c-td> |
| 17 | + <c-td>millimeters (mm)</c-td> |
| 18 | + <c-td isNumeric>25.4</c-td> |
| 19 | + </c-tr> |
| 20 | + <c-tr> |
| 21 | + <c-td>feet</c-td> |
| 22 | + <c-td>centimeters (cm)</c-td> |
| 23 | + <c-td isNumeric>30.48</c-td> |
| 24 | + </c-tr> |
| 25 | + <c-tr> |
| 26 | + <c-td>yards</c-td> |
| 27 | + <c-td>metres (m)</c-td> |
| 28 | + <c-td isNumeric>0.91444</c-td> |
| 29 | + </c-tr> |
| 30 | + <c-tr> |
| 31 | + <c-td>miles</c-td> |
| 32 | + <c-td>kilometres (km)</c-td> |
| 33 | + <c-td isNumeric>1.61</c-td> |
| 34 | + </c-tr> |
| 35 | + <c-tr> |
| 36 | + <c-th rowSpan="4">Area</c-th> |
| 37 | + <c-td>square inches</c-td> |
| 38 | + <c-td>sq. millimeters (mm²)</c-td> |
| 39 | + <c-td isNumeric>645</c-td> |
| 40 | + </c-tr> |
| 41 | + <c-tr> |
| 42 | + <c-td>square feet</c-td> |
| 43 | + <c-td>sq. metres (m²)</c-td> |
| 44 | + <c-td isNumeric>0.0929</c-td> |
| 45 | + </c-tr> |
| 46 | + <c-tr> |
| 47 | + <c-td>square yards</c-td> |
| 48 | + <c-td>sq. metres (m²)</c-td> |
| 49 | + <c-td isNumeric>.0836</c-td> |
| 50 | + </c-tr> |
| 51 | + <c-tr> |
| 52 | + <c-td>acres</c-td> |
| 53 | + <c-td>hectares</c-td> |
| 54 | + <c-td isNumeric>2.47</c-td> |
| 55 | + </c-tr> |
| 56 | + <c-tr> |
| 57 | + <c-th rowSpan="4">Volume</c-th> |
| 58 | + <c-td>cubic inches</c-td> |
| 59 | + <c-td>millilitres (ml)</c-td> |
| 60 | + <c-td isNumeric>25.4</c-td> |
| 61 | + </c-tr> |
| 62 | + <c-tr> |
| 63 | + <c-td>cubic feet</c-td> |
| 64 | + <c-td>litres</c-td> |
| 65 | + <c-td isNumeric>28.3</c-td> |
| 66 | + </c-tr> |
| 67 | + <c-tr> |
| 68 | + <c-td>imperial gallons</c-td> |
| 69 | + <c-td>litres</c-td> |
| 70 | + <c-td isNumeric>4.55</c-td> |
| 71 | + </c-tr> |
| 72 | + <c-tr> |
| 73 | + <c-td> <abbr>US</abbr> barrels </c-td> |
| 74 | + <c-td>cubic metres (m³)</c-td> |
| 75 | + <c-td isNumeric>0.159</c-td> |
| 76 | + </c-tr> |
| 77 | + </c-tbody> |
| 78 | + <c-tfoot> |
| 79 | + <c-tr> |
| 80 | + <c-th aria-hidden /> |
| 81 | + <c-th>To convert</c-th> |
| 82 | + <c-th>into</c-th> |
| 83 | + <c-th>multiply by</c-th> |
| 84 | + </c-tr> |
| 85 | + </c-tfoot> |
| 86 | + </c-table> |
| 87 | + </c-table-container> |
| 88 | +</template> |
| 89 | +<script setup lang="ts"> |
| 90 | +import { |
| 91 | + CTable, |
| 92 | + CTableContainer, |
| 93 | + CTableCaption, |
| 94 | + CThead, |
| 95 | + CTr, |
| 96 | + CTh, |
| 97 | + CTbody, |
| 98 | + CTd, |
| 99 | + CTfoot, |
| 100 | +} from "../index" |
| 101 | +</script> |
0 commit comments