Add power conversion entries and responsive nav tweaks
This commit is contained in:
@@ -251,6 +251,44 @@ The registry currently contains 416 unique calculator slugs.
|
||||
| Horsepower to BTU/min – Get BTUs per minute from mechanical horsepower. | horsepower-to-btumin | 42.4072263427 |
|
||||
| Horsepower to Calories Per Second – Translate mechanical horsepower into calories per second. | horsepower-to-calories-per-second | 178.226546845 |
|
||||
| Horsepower to Electrical Horsepower – Convert mechanical horsepower into electrical horsepower. | horsepower-to-electrical-horsepower | 0.999597683646 |
|
||||
| Kilowatts to kVA | kilowatts-to-kva | 1 |
|
||||
| Lusec to Watts | lusec-to-watts | 0.000133322 |
|
||||
| Watts to BTU/min | watts-to-btumin | 0.0568690272522 |
|
||||
| Calories Per Second to Metric Horsepower (ps) | calories-per-second-to-metric-horsepower-ps | 0.0056886568468 |
|
||||
| Horsepower to Lusec | horsepower-to-lusec | 5593224.46408 |
|
||||
| Horsepower to Mechanical Hp | horsepower-to-mechanical-hp | 1 |
|
||||
| Horsepower to Megawatts | horsepower-to-megawatts | 0.000745699872 |
|
||||
| Horsepower to Metric Horsepower (ps) | horsepower-to-metric-horsepower-ps | 1.01386966599 |
|
||||
| Kilowatts to Boiler Horsepower | kilowatts-to-boiler-horsepower | 0.101941995005 |
|
||||
| Kilowatts to Electrical Horsepower | kilowatts-to-electrical-horsepower | 1.34048257373 |
|
||||
| Kilowatts to Metric Horsepower (ps) | kilowatts-to-metric-horsepower-ps | 1.3596216173 |
|
||||
| Lusec to Boiler Horsepower | lusec-to-boiler-horsepower | 1.3591110658e-08 |
|
||||
| Lusec to Electrical Horsepower | lusec-to-electrical-horsepower | 1.78715817694e-07 |
|
||||
| Lusec to Horsepower | lusec-to-horsepower | 1.78787746929e-07 |
|
||||
| Lusec to Metric Horsepower (ps) | lusec-to-metric-horsepower-ps | 1.81267473262e-07 |
|
||||
| Mechanical Hp to Boiler Horsepower | mechanical-hp-to-boiler-horsepower | 0.0760181326265 |
|
||||
| Mechanical Hp to Electrical Horsepower | mechanical-hp-to-electrical-horsepower | 0.999597683646 |
|
||||
| Mechanical Hp to Horsepower | mechanical-hp-to-horsepower | 1 |
|
||||
| Mechanical Hp to Metric Horsepower (ps) | mechanical-hp-to-metric-horsepower-ps | 1.01386966599 |
|
||||
| Megawatts to Boiler Horsepower | megawatts-to-boiler-horsepower | 101.941995005 |
|
||||
| Megawatts to Electrical Horsepower | megawatts-to-electrical-horsepower | 1340.48257373 |
|
||||
| Megawatts to Horsepower | megawatts-to-horsepower | 1341.02208884 |
|
||||
| Megawatts to Metric Horsepower (ps) | megawatts-to-metric-horsepower-ps | 1359.6216173 |
|
||||
| Metric Horsepower (ps) to Boiler Horsepower | metric-horsepower-ps-to-boiler-horsepower | 0.0749782098986 |
|
||||
| Metric Horsepower (ps) to BTU/hour | metric-horsepower-ps-to-btuhour | 2509.62590746 |
|
||||
| Metric Horsepower (ps) to BTU/min | metric-horsepower-ps-to-btumin | 41.8270984577 |
|
||||
| Metric Horsepower (ps) to Calories Per Second | metric-horsepower-ps-to-calories-per-second | 175.788420172 |
|
||||
| Metric Horsepower (ps) to Electrical Horsepower | metric-horsepower-ps-to-electrical-horsepower | 0.985923257373 |
|
||||
| Metric Horsepower (ps) to Horsepower | metric-horsepower-ps-to-horsepower | 0.986320070067 |
|
||||
| Metric Horsepower (ps) to Kilowatts | metric-horsepower-ps-to-kilowatts | 0.73549875 |
|
||||
| Metric Horsepower (ps) to Lusec | metric-horsepower-ps-to-lusec | 5516709.54531 |
|
||||
| Metric Horsepower (ps) to Mechanical Hp | metric-horsepower-ps-to-mechanical-hp | 0.986320070067 |
|
||||
| Metric Horsepower (ps) to Megawatts | metric-horsepower-ps-to-megawatts | 0.00073549875 |
|
||||
| Metric Horsepower (ps) to Tons Of Refrigeration | metric-horsepower-ps-to-tons-of-refrigeration | 0.209135492289 |
|
||||
| Tons Of Refrigeration to Boiler Horsepower | tons-of-refrigeration-to-boiler-horsepower | 0.358514994648 |
|
||||
| Tons Of Refrigeration to Electrical Horsepower | tons-of-refrigeration-to-electrical-horsepower | 4.71427994638 |
|
||||
| Tons Of Refrigeration to Metric Horsepower (ps) | tons-of-refrigeration-to-metric-horsepower-ps | 4.78158914614 |
|
||||
| Watts to Electrical Horsepower | watts-to-electrical-horsepower | 0.00134048257373 |
|
||||
| Hours to Days | hours-to-days | 0.0416666667 |
|
||||
| Hours to Minutes | hours-to-minutes | 60.0 |
|
||||
| Inches of Mercury to Pascals | inches-of-mercury-to-pascals | 3386.389 |
|
||||
@@ -812,6 +850,22 @@ The registry currently contains 416 unique calculator slugs.
|
||||
| Kilowatts to BTU/hour – Convert kilowatts to BTU per hour. | kilowatts-to-btuhour | 3412.142 |
|
||||
| Kilowatts to Megawatts – Convert power from kilowatts to megawatts. | kilowatts-to-megawatts | 0.001 |
|
||||
| Kilowatts to Watts – Convert kilowatts to watts. | kilowatts-to-watts | 1000 |
|
||||
| Kilowatts to Amps – Relate kilowatts to amperage when the voltage is known. | kilowatts-to-amps | Multi-Variable |
|
||||
| Kilowatts to Abamperes – Convert kilowatts into CGS abamperes using abvolts or current. | kilowatts-to-abamperes | Multi-Variable |
|
||||
| Kilowatts to Abvolts – Convert kilowatts into abvolts given CGS abamperes. | kilowatts-to-abvolts | Multi-Variable |
|
||||
| Kilowatts to Ampere-hours – Turn kilowatt draws into ampere-hours when you know the duration. | kilowatts-to-ampere-hours | Multi-Variable |
|
||||
| Kilowatts to BTU/min – Convert kilowatts into BTUs per minute for heat rate comparisons. | kilowatts-to-btumin | 56.8690272522 |
|
||||
| Kilowatts to Calories Per Second – Translate kilowatts into calories per second for nutrition math. | kilowatts-to-calories-per-second | 238.8458966 |
|
||||
| Kilowatts to Coulombs – Convert kilowatts into coulombs when the time or voltage is given. | kilowatts-to-coulombs | Multi-Variable |
|
||||
| Kilowatts to Farads – Estimate the capacitance in farads from kilowatt loads. | kilowatts-to-farads | Multi-Variable |
|
||||
| Kilowatts to Henries – Estimate inductance in henries using kilowatt load and frequency. | kilowatts-to-henries | Multi-Variable |
|
||||
| Kilowatts to Lusec – Translate kilowatts into lusecs for legacy power ratings. | kilowatts-to-lusec | 7500637.554192106 |
|
||||
| Kilowatts to Mechanical Hp – Convert kilowatts into mechanical horsepower. | kilowatts-to-mechanical-hp | 1.341021858656296 |
|
||||
| Kilowatts to Microfarads – Convert kilowatt loads into capacitance using voltage. | kilowatts-to-microfarads | Multi-Variable |
|
||||
| Kilowatts to Microhenries – Estimate inductance in microhenries for a kilowatt-level circuit. | kilowatts-to-microhenries | Multi-Variable |
|
||||
| Kilowatts to Milliampere-hours – Turn kilowatt-hours into milliampere-hours given voltage. | kilowatts-to-milliampere-hours | Multi-Variable |
|
||||
| Kilowatts to Milliamps – Convert kilowatts into milliamps when you know the voltage. | kilowatts-to-milliamps | Multi-Variable |
|
||||
| Kilowatts to Millihenries – Estimate inductance in millihenries from a kilowatt load. | kilowatts-to-millihenries | Multi-Variable |
|
||||
| Kilometers per kWh to Miles per kWh – Convert energy efficiency from km/kWh to mi/kWh. | km-per-kwh-to-miles-per-kwh | 0.621371 |
|
||||
| Kilometers per Second to Speed of Light – Express a speed in kilometers per second as a fraction of c (299,792.458 km/s). | kilometers-per-second-to-speed-of-light | 3.33564095198152e-6 |
|
||||
| Knots to Feet per Second – Convert a nautical mile per hour into feet per second. | knots-to-feet-per-second | 1.6878098376 |
|
||||
@@ -1172,6 +1226,30 @@ The registry currently contains 416 unique calculator slugs.
|
||||
| Watts to Calories per Second – Translate watts into calories per second for nutrition math. | watts-to-calories-per-second | 0.2388458966 |
|
||||
| Watts to Kilowatts – Express watts as kilowatts for appliance specs. | watts-to-kilowatts | 0.001 |
|
||||
| Watts to Metric Horsepower – Convert watts into metric horsepower (PS) for vehicle specs. | watts-to-metric-horsepower | 0.00135962162 |
|
||||
| Watts to Volts – Determine the voltage when you know the power and current. | watts-to-volts | Multi-Variable |
|
||||
| Watts to Abamperes – Convert watts into CGS abamperes when you have voltage in abvolts. | watts-to-abamperes | Multi-Variable |
|
||||
| Watts to Abvolts – Convert watts into CGS abvolts using abamperes. | watts-to-abvolts | Multi-Variable |
|
||||
| Watts to Ampere-hours – Turn a watt draw into ampere-hours when you know the duration or voltage. | watts-to-ampere-hours | Multi-Variable |
|
||||
| Watts to Coulombs – Translate watts into coulombs when voltage or time is provided. | watts-to-coulombs | Multi-Variable |
|
||||
| Watts to Farads – Estimate capacitance required for a given wattage and voltage. | watts-to-farads | Multi-Variable |
|
||||
| Watts to Henries – Estimate inductance from a wattage and frequency scenario. | watts-to-henries | Multi-Variable |
|
||||
| Watts to kVA – Convert watts into kilovolt-amperes assuming unity power factor. | watts-to-kva | 0.001 |
|
||||
| Watts to Lusec – Translate watts into lusecs for vintage motor specs. | watts-to-lusec | 7500.637554192106 |
|
||||
| Watts to Mechanical Hp – Translate watts into mechanical horsepower. | watts-to-mechanical-hp | 0.001341021858656296 |
|
||||
| Watts to Megawatts – Scale watts down to megawatts. | watts-to-megawatts | 0.000001 |
|
||||
| Watts to Microfarads – Convert wattage into capacitance when voltage is known. | watts-to-microfarads | Multi-Variable |
|
||||
| Watts to Microhenries – Convert wattage into inductance using frequency or current. | watts-to-microhenries | Multi-Variable |
|
||||
| Watts to Milliampere-hours – Convert power into milliampere-hours over time with voltage input. | watts-to-milliampere-hours | Multi-Variable |
|
||||
| Watts to Milliamps – Convert wattage into milliamps given voltage. | watts-to-milliamps | Multi-Variable |
|
||||
| Watts to Millihenries – Estimate inductance in millihenries for a given power level. | watts-to-millihenries | Multi-Variable |
|
||||
| Watts to Millivolts – Scale watts into millivolts with current data. | watts-to-millivolts | Multi-Variable |
|
||||
| Watts to Ohms – Derive resistance when you know wattage and current. | watts-to-ohms | Multi-Variable |
|
||||
| Watts to Picofarads – Estimate capacitance in picofarads when voltage and frequency are known. | watts-to-picofarads | Multi-Variable |
|
||||
| Watts to Siemens – Convert wattage into siemens (conductance) when voltage or current is provided. | watts-to-siemens | Multi-Variable |
|
||||
| Watts to Statamperes – Translate watts into statamperes within the CGS electromagnetic system. | watts-to-statamperes | Multi-Variable |
|
||||
| Watts to Statvolts – Translate watts into statvolts when working with CGS fields. | watts-to-statvolts | Multi-Variable |
|
||||
| Watts to Tons Of Refrigeration – Translate continuous power into refrigeration tons. | watts-to-tons-of-refrigeration | 0.000284345 |
|
||||
| Watts to Watt-hours – Convert instantaneous power into energy by supplying a time interval. | watts-to-watt-hours | Multi-Variable |
|
||||
| Watts to Milliwatts – Scale watts down to milliwatts. | watts-to-milliwatts | 1000 |
|
||||
| Weber to Maxwell – Express webers as maxwells for magnetic flux reports. | weber-to-maxwell | 100000000 |
|
||||
| Wh per km to Wh per mile – Convert EV efficiency from km to mile units. | wh-per-km-to-wh-per-mile | 1.609344 |
|
||||
@@ -2302,9 +2380,9 @@ The registry currently contains 416 unique calculator slugs.
|
||||
- [x] Kilowatt-hours to Joules
|
||||
- [x] Kilowatt-hours to Kilocalories
|
||||
- [x] Kilowatt-hours to Therms
|
||||
- [ ] Kilowatts to Amps
|
||||
- [x] Kilowatts to Amps
|
||||
- [x] Kilowatts to BTU/hour
|
||||
- [ ] Kilowatts to kVA
|
||||
- [x] Kilowatts to kVA
|
||||
- [x] Kilowatts to Megawatts
|
||||
- [x] Kilowatts to Watts
|
||||
- [x] km per kWh to Miles per kWh
|
||||
@@ -2339,7 +2417,7 @@ The registry currently contains 416 unique calculator slugs.
|
||||
- [x] Long Tons to Kilograms
|
||||
- [x] Long Tons to Pounds
|
||||
- [x] Long Tons to Short Tons
|
||||
- [ ] Lusec to Watts
|
||||
- [x] Lusec to Watts
|
||||
- [ ] Lux to EV
|
||||
- [x] Lux to Foot-candles
|
||||
- [x] Mach to Feet per second
|
||||
@@ -2570,8 +2648,8 @@ The registry currently contains 416 unique calculator slugs.
|
||||
- [ ] Tesla to Milligauss
|
||||
- [ ] Tesla to Millitesla
|
||||
- [ ] Tex to Denier
|
||||
- [ ] Therms to BTU
|
||||
- [ ] Therms to Kilowatt-hours
|
||||
- [x] Therms to BTU
|
||||
- [x] Therms to Kilowatt-hours
|
||||
- [x] Thou (mil) to Millimeters
|
||||
- [x] Thou to Inches
|
||||
- [x] Tolas to Grams
|
||||
@@ -2598,12 +2676,12 @@ The registry currently contains 416 unique calculator slugs.
|
||||
- [x] Watt-hours to Calories
|
||||
- [ ] Watt-hours to Joules
|
||||
- [x] Watts to Boiler Horsepower
|
||||
- [ ] Watts to BTU/min
|
||||
- [x] Watts to BTU/min
|
||||
- [x] Watts to Calories per second
|
||||
- [x] Watts to Kilowatts
|
||||
- [x] Watts to Metric Horsepower (PS)
|
||||
- [x] Watts to Milliwatts
|
||||
- [ ] Watts to Volts
|
||||
- [x] Watts to Volts
|
||||
- [x] Weber to Maxwell
|
||||
- [x] Weeks to Days
|
||||
- [x] Weeks to Hours
|
||||
@@ -3247,7 +3325,8 @@ The registry currently contains 416 unique calculator slugs.
|
||||
- [ ] Calories Per Second to Lusec
|
||||
- [ ] Calories Per Second to Mechanical Hp
|
||||
- [ ] Calories Per Second to Megawatts
|
||||
- [ ] Calories Per Second to Metric Horsepower (ps)
|
||||
- [x] Calories Per Second to Metric Horsepower (ps)
|
||||
- [x] Calories Per Second to Metric Horsepower (ps)
|
||||
- [ ] Calories Per Second to Tons Of Refrigeration
|
||||
- [ ] Calories to Electron-volts
|
||||
- [ ] Calories to Ergs
|
||||
@@ -4711,10 +4790,10 @@ The registry currently contains 416 unique calculator slugs.
|
||||
- [x] Horsepower to btu/min
|
||||
- [x] Horsepower to Calories Per Second
|
||||
- [x] Horsepower to Electrical Horsepower
|
||||
- [ ] Horsepower to Lusec
|
||||
- [ ] Horsepower to Mechanical Hp
|
||||
- [ ] Horsepower to Megawatts
|
||||
- [ ] Horsepower to Metric Horsepower (ps)
|
||||
- [x] Horsepower to Lusec
|
||||
- [x] Horsepower to Mechanical Hp
|
||||
- [x] Horsepower to Megawatts
|
||||
- [x] Horsepower to Metric Horsepower (ps)
|
||||
- [ ] Hours to Atomic Time Units
|
||||
- [ ] Hours to Centuries
|
||||
- [ ] Hours to Decades
|
||||
@@ -5212,24 +5291,24 @@ The registry currently contains 416 unique calculator slugs.
|
||||
- [ ] Kilowatt-hours to Rydberg
|
||||
- [ ] Kilowatt-hours to Ton Of Tnt
|
||||
- [ ] Kilowatt-hours to Watt-hours
|
||||
- [ ] Kilowatts to Abamperes
|
||||
- [ ] Kilowatts to Abvolts
|
||||
- [ ] Kilowatts to Ampere-hours
|
||||
- [ ] Kilowatts to Boiler Horsepower
|
||||
- [x] Kilowatts to Abamperes
|
||||
- [x] Kilowatts to Abvolts
|
||||
- [x] Kilowatts to Ampere-hours
|
||||
- [x] Kilowatts to Boiler Horsepower
|
||||
- [ ] Kilowatts to btu/min
|
||||
- [ ] Kilowatts to Calories Per Second
|
||||
- [ ] Kilowatts to Coulombs
|
||||
- [ ] Kilowatts to Electrical Horsepower
|
||||
- [ ] Kilowatts to Farads
|
||||
- [ ] Kilowatts to Henries
|
||||
- [ ] Kilowatts to Lusec
|
||||
- [ ] Kilowatts to Mechanical Hp
|
||||
- [ ] Kilowatts to Metric Horsepower (ps)
|
||||
- [ ] Kilowatts to Microfarads
|
||||
- [ ] Kilowatts to Microhenries
|
||||
- [ ] Kilowatts to Milliampere-hours
|
||||
- [ ] Kilowatts to Milliamps
|
||||
- [ ] Kilowatts to Millihenries
|
||||
- [x] Kilowatts to Calories Per Second
|
||||
- [x] Kilowatts to Coulombs
|
||||
- [x] Kilowatts to Farads
|
||||
- [x] Kilowatts to Henries
|
||||
- [x] Kilowatts to Lusec
|
||||
- [x] Kilowatts to Mechanical Hp
|
||||
- [x] Kilowatts to Electrical Horsepower
|
||||
- [x] Kilowatts to Metric Horsepower (ps)
|
||||
- [x] Kilowatts to Microfarads
|
||||
- [x] Kilowatts to Microhenries
|
||||
- [x] Kilowatts to Milliampere-hours
|
||||
- [x] Kilowatts to Milliamps
|
||||
- [x] Kilowatts to Millihenries
|
||||
- [ ] Kilowatts to Millivolts
|
||||
- [ ] Kilowatts to Milliwatts
|
||||
- [ ] Kilowatts to Ohms
|
||||
@@ -5435,16 +5514,16 @@ The registry currently contains 416 unique calculator slugs.
|
||||
- [ ] Long Tons to Yoctograms
|
||||
- [ ] Long Tons to Zeptograms
|
||||
- [ ] Lumens to Foot-candles
|
||||
- [ ] Lusec to Boiler Horsepower
|
||||
- [ ] Lusec to btu/hour
|
||||
- [ ] Lusec to btu/min
|
||||
- [ ] Lusec to Calories Per Second
|
||||
- [ ] Lusec to Electrical Horsepower
|
||||
- [ ] Lusec to Horsepower
|
||||
- [ ] Lusec to Kilowatts
|
||||
- [ ] Lusec to Mechanical Hp
|
||||
- [ ] Lusec to Megawatts
|
||||
- [ ] Lusec to Metric Horsepower (ps)
|
||||
- [x] Lusec to Boiler Horsepower
|
||||
- [x] Lusec to btu/hour
|
||||
- [x] Lusec to btu/min
|
||||
- [x] Lusec to Calories Per Second
|
||||
- [x] Lusec to Electrical Horsepower
|
||||
- [x] Lusec to Horsepower
|
||||
- [x] Lusec to Kilowatts
|
||||
- [x] Lusec to Mechanical Hp
|
||||
- [x] Lusec to Megawatts
|
||||
- [x] Lusec to Metric Horsepower (ps)
|
||||
- [ ] Lusec to Tons Of Refrigeration
|
||||
- [ ] Lux to Candela
|
||||
- [ ] Mach to Centimeters Per Second
|
||||
@@ -5480,16 +5559,16 @@ The registry currently contains 416 unique calculator slugs.
|
||||
- [ ] Mebibytes to Terabytes
|
||||
- [ ] Mebibytes to Words (16-bit)
|
||||
- [ ] Mebibytes to Words (32-bit)
|
||||
- [ ] Mechanical Hp to Boiler Horsepower
|
||||
- [x] Mechanical Hp to Boiler Horsepower
|
||||
- [ ] Mechanical Hp to btu/hour
|
||||
- [ ] Mechanical Hp to btu/min
|
||||
- [ ] Mechanical Hp to Calories Per Second
|
||||
- [ ] Mechanical Hp to Electrical Horsepower
|
||||
- [ ] Mechanical Hp to Horsepower
|
||||
- [x] Mechanical Hp to Electrical Horsepower
|
||||
- [x] Mechanical Hp to Horsepower
|
||||
- [ ] Mechanical Hp to Kilowatts
|
||||
- [ ] Mechanical Hp to Lusec
|
||||
- [ ] Mechanical Hp to Megawatts
|
||||
- [ ] Mechanical Hp to Metric Horsepower (ps)
|
||||
- [x] Mechanical Hp to Metric Horsepower (ps)
|
||||
- [ ] Mechanical Hp to Tons Of Refrigeration
|
||||
- [ ] Mechanical Hp to Watts
|
||||
- [ ] Megabits to Bits
|
||||
@@ -5550,15 +5629,15 @@ The registry currently contains 416 unique calculator slugs.
|
||||
- [ ] Megapascals to Technical Atmosphere
|
||||
- [ ] Megapascals to Technical Atmosphere (at)
|
||||
- [ ] Megapascals to Torr
|
||||
- [ ] Megawatts to Boiler Horsepower
|
||||
- [x] Megawatts to Boiler Horsepower
|
||||
- [ ] Megawatts to btu/hour
|
||||
- [ ] Megawatts to btu/min
|
||||
- [ ] Megawatts to Calories Per Second
|
||||
- [ ] Megawatts to Electrical Horsepower
|
||||
- [ ] Megawatts to Horsepower
|
||||
- [x] Megawatts to Electrical Horsepower
|
||||
- [x] Megawatts to Horsepower
|
||||
- [ ] Megawatts to Lusec
|
||||
- [ ] Megawatts to Mechanical Hp
|
||||
- [ ] Megawatts to Metric Horsepower (ps)
|
||||
- [x] Megawatts to Metric Horsepower (ps)
|
||||
- [ ] Megawatts to Tons Of Refrigeration
|
||||
- [ ] Megawatts to Watts
|
||||
- [ ] Meters Of Seawater to Atmosphere
|
||||
@@ -5609,17 +5688,17 @@ The registry currently contains 416 unique calculator slugs.
|
||||
- [ ] Meters to Smoots
|
||||
- [ ] Meters to Thou
|
||||
- [ ] Meters to Thou (mil)
|
||||
- [ ] Metric Horsepower (ps) to Boiler Horsepower
|
||||
- [ ] Metric Horsepower (ps) to btu/hour
|
||||
- [ ] Metric Horsepower (ps) to btu/min
|
||||
- [ ] Metric Horsepower (ps) to Calories Per Second
|
||||
- [ ] Metric Horsepower (ps) to Electrical Horsepower
|
||||
- [ ] Metric Horsepower (ps) to Horsepower
|
||||
- [ ] Metric Horsepower (ps) to Kilowatts
|
||||
- [ ] Metric Horsepower (ps) to Lusec
|
||||
- [ ] Metric Horsepower (ps) to Mechanical Hp
|
||||
- [ ] Metric Horsepower (ps) to Megawatts
|
||||
- [ ] Metric Horsepower (ps) to Tons Of Refrigeration
|
||||
- [x] Metric Horsepower (ps) to Boiler Horsepower
|
||||
- [x] Metric Horsepower (ps) to btu/hour
|
||||
- [x] Metric Horsepower (ps) to btu/min
|
||||
- [x] Metric Horsepower (ps) to Calories Per Second
|
||||
- [x] Metric Horsepower (ps) to Electrical Horsepower
|
||||
- [x] Metric Horsepower (ps) to Horsepower
|
||||
- [x] Metric Horsepower (ps) to Kilowatts
|
||||
- [x] Metric Horsepower (ps) to Lusec
|
||||
- [x] Metric Horsepower (ps) to Mechanical Hp
|
||||
- [x] Metric Horsepower (ps) to Megawatts
|
||||
- [x] Metric Horsepower (ps) to Tons Of Refrigeration
|
||||
- [ ] Metric Tons to Amu
|
||||
- [ ] Metric Tons to Apothecary Ounces
|
||||
- [ ] Metric Tons to Atomic Mass Units
|
||||
@@ -7835,14 +7914,14 @@ The registry currently contains 416 unique calculator slugs.
|
||||
- [ ] Ton Of Tnt to Rydberg
|
||||
- [ ] Ton Of Tnt to Therms
|
||||
- [ ] Ton Of Tnt to Watt-hours
|
||||
- [ ] Tons Of Refrigeration to Boiler Horsepower
|
||||
- [x] Tons Of Refrigeration to Boiler Horsepower
|
||||
- [ ] Tons Of Refrigeration to btu/min
|
||||
- [ ] Tons Of Refrigeration to Calories Per Second
|
||||
- [ ] Tons Of Refrigeration to Electrical Horsepower
|
||||
- [x] Tons Of Refrigeration to Electrical Horsepower
|
||||
- [ ] Tons Of Refrigeration to Lusec
|
||||
- [ ] Tons Of Refrigeration to Mechanical Hp
|
||||
- [ ] Tons Of Refrigeration to Megawatts
|
||||
- [ ] Tons Of Refrigeration to Metric Horsepower (ps)
|
||||
- [x] Tons Of Refrigeration to Metric Horsepower (ps)
|
||||
- [ ] Tons Of Refrigeration to Watts
|
||||
- [ ] Tons to Amu
|
||||
- [ ] Tons to Apothecary Ounces
|
||||
@@ -8080,30 +8159,30 @@ The registry currently contains 416 unique calculator slugs.
|
||||
- [ ] Watt-hours to Ton Of Tnt
|
||||
- [ ] Watt-hours to Volts
|
||||
- [ ] Watt-hours to Watts
|
||||
- [ ] Watts to Abamperes
|
||||
- [ ] Watts to Abvolts
|
||||
- [ ] Watts to Ampere-hours
|
||||
- [ ] Watts to Coulombs
|
||||
- [ ] Watts to Electrical Horsepower
|
||||
- [ ] Watts to Farads
|
||||
- [ ] Watts to Henries
|
||||
- [ ] Watts to Kva
|
||||
- [ ] Watts to Lusec
|
||||
- [ ] Watts to Mechanical Hp
|
||||
- [ ] Watts to Megawatts
|
||||
- [ ] Watts to Microfarads
|
||||
- [ ] Watts to Microhenries
|
||||
- [ ] Watts to Milliampere-hours
|
||||
- [ ] Watts to Milliamps
|
||||
- [ ] Watts to Millihenries
|
||||
- [ ] Watts to Millivolts
|
||||
- [ ] Watts to Ohms
|
||||
- [ ] Watts to Picofarads
|
||||
- [ ] Watts to Siemens
|
||||
- [ ] Watts to Statamperes
|
||||
- [ ] Watts to Statvolts
|
||||
- [ ] Watts to Tons Of Refrigeration
|
||||
- [ ] Watts to Watt-hours
|
||||
- [x] Watts to Abamperes
|
||||
- [x] Watts to Abvolts
|
||||
- [x] Watts to Ampere-hours
|
||||
- [x] Watts to Coulombs
|
||||
- [x] Watts to Electrical Horsepower
|
||||
- [x] Watts to Farads
|
||||
- [x] Watts to Henries
|
||||
- [x] Watts to Kva
|
||||
- [x] Watts to Lusec
|
||||
- [x] Watts to Mechanical Hp
|
||||
- [x] Watts to Megawatts
|
||||
- [x] Watts to Microfarads
|
||||
- [x] Watts to Microhenries
|
||||
- [x] Watts to Milliampere-hours
|
||||
- [x] Watts to Milliamps
|
||||
- [x] Watts to Millihenries
|
||||
- [x] Watts to Millivolts
|
||||
- [x] Watts to Ohms
|
||||
- [x] Watts to Picofarads
|
||||
- [x] Watts to Siemens
|
||||
- [x] Watts to Statamperes
|
||||
- [x] Watts to Statvolts
|
||||
- [x] Watts to Tons Of Refrigeration
|
||||
- [x] Watts to Watt-hours
|
||||
- [ ] Weber to Ampere-turns Per Meter
|
||||
- [ ] Weber to Gauss
|
||||
- [ ] Weber to Milligauss
|
||||
|
||||
@@ -468,11 +468,15 @@ a:hover {
|
||||
}
|
||||
.category-grid {
|
||||
width: min(1160px, 100%);
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
|
||||
gap: clamp(0.75rem, 1.3vw, 1.25rem);
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
justify-items: stretch;
|
||||
gap: clamp(0.75rem, 1.3vw, 1.25rem);
|
||||
}
|
||||
.category-grid .category-card {
|
||||
flex: 0 1 clamp(180px, 22vw, 220px);
|
||||
min-width: 180px;
|
||||
max-width: 220px;
|
||||
}
|
||||
|
||||
/* ─── Calculator List (category page) ────────────────────── */
|
||||
@@ -600,10 +604,17 @@ a:hover {
|
||||
|
||||
/* ─── Responsive ─────────────────────────────────────────── */
|
||||
|
||||
@media (max-width: 768px) {
|
||||
@media (max-width: 1024px) {
|
||||
.hamburger {
|
||||
display: block;
|
||||
}
|
||||
.site-body {
|
||||
gap: 1rem;
|
||||
padding-inline: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.main-content {
|
||||
padding: 1.25rem;
|
||||
}
|
||||
@@ -618,8 +629,11 @@ a:hover {
|
||||
}
|
||||
.category-grid {
|
||||
width: min(960px, 100%);
|
||||
grid-template-columns: repeat(auto-fit, minmax(150px, 200px));
|
||||
justify-content: center;
|
||||
}
|
||||
.category-grid .category-card {
|
||||
flex: 0 1 clamp(150px, 40vw, 200px);
|
||||
min-width: 150px;
|
||||
max-width: 200px;
|
||||
}
|
||||
.stats-row {
|
||||
gap: 1.5rem;
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
let val2 = '';
|
||||
let val3 = '';
|
||||
let activeField: 1 | 2 | 3 = 1;
|
||||
let swapSnapshot: { val1: string; val2: string } | null = null;
|
||||
let isSwapFlipped = false;
|
||||
|
||||
$: has3 = ['3col', '3col-mul'].includes(config.type) || !!config.labels.in3;
|
||||
$: isTextInput = ['base', 'text-bin', 'bin-text', 'dec-frac', 'dms-dd', 'dd-dms'].includes(config.type);
|
||||
@@ -24,7 +26,13 @@
|
||||
|
||||
let paramsInitializing = true;
|
||||
|
||||
function resetSwapState() {
|
||||
swapSnapshot = null;
|
||||
isSwapFlipped = false;
|
||||
}
|
||||
|
||||
function handleInput(source: 1 | 2 | 3) {
|
||||
resetSwapState();
|
||||
activeField = source;
|
||||
const result = solve(config, source, val1, val2, val3);
|
||||
if (source !== 1) val1 = result.val1;
|
||||
@@ -33,14 +41,23 @@
|
||||
}
|
||||
|
||||
function swap() {
|
||||
[val1, val2] = [val2, val1];
|
||||
handleInput(1);
|
||||
if (isSwapFlipped && swapSnapshot) {
|
||||
val1 = swapSnapshot.val1;
|
||||
val2 = swapSnapshot.val2;
|
||||
resetSwapState();
|
||||
} else {
|
||||
swapSnapshot = { val1, val2 };
|
||||
[val1, val2] = [val2, val1];
|
||||
isSwapFlipped = true;
|
||||
}
|
||||
activeField = activeField === 1 ? 2 : 1;
|
||||
}
|
||||
|
||||
function clear() {
|
||||
val1 = '';
|
||||
val2 = '';
|
||||
val3 = '';
|
||||
resetSwapState();
|
||||
}
|
||||
|
||||
onMount(() => {
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
export let open = false;
|
||||
</script>
|
||||
|
||||
<aside class="sidebar" class:open>
|
||||
<aside class="sidebar" class:open id="site-navigation" aria-hidden={open ? 'false' : 'true'}>
|
||||
<div class="sidebar-header">
|
||||
<h3>All Converters</h3>
|
||||
<button class="close-btn" on:click={() => (open = false)} aria-label="Close sidebar">✕</button>
|
||||
@@ -298,7 +298,7 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
@media (max-width: 1024px) {
|
||||
.sidebar {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
|
||||
@@ -254,7 +254,7 @@ export const calculators: CalculatorDef[] = [
|
||||
{"slug": "boiler-horsepower-to-kilowatts", "name": "Boiler Horsepower to Kilowatts", "category": "power", "type": "standard", "teaser": "Express boiler horsepower on the kilowatt scale.", "labels": {"in1": "Boiler Horsepower", "in2": "Kilowatts"}, "factor": 9.8095},
|
||||
{"slug": "boiler-horsepower-to-lusec", "name": "Boiler Horsepower to Lusec", "category": "power", "type": "standard", "teaser": "Translate boiler horsepower into Lusecs.", "labels": {"in1": "Boiler Horsepower", "in2": "Lusec"}, "factor": 73577504.0878},
|
||||
{"slug": "boiler-horsepower-to-mechanical-hp", "name": "Boiler Horsepower to Mechanical HP", "category": "power", "type": "standard", "teaser": "Compare boiler horsepower with mechanical HP.", "labels": {"in1": "Boiler Horsepower", "in2": "Mechanical HP"}, "factor": 13.1547561805},
|
||||
{"slug": "boiler-horsepower-to-megawatts", "name": "Boiler Horsepower to Megawatts", "category": "power", "type": "standard", "teaser": "Express boiler horsepower as megawatts.", "labels": {"in1": "Boiler Horsepower", "in2": "Megawatts"}, "factor": 0.0098095},
|
||||
{"slug": "boiler-horsepower-to-megawatts", "name": "Boiler Horsepower to Megawatts", "category": "power", "type": "standard", "teaser": "Express boiler horsepower as megawatts.", "labels": {"in1": "Boiler Horsepower", "in2": "Megawatts"}, "factor": 0.0098095, "hidden": true},
|
||||
{"slug": "boiler-horsepower-to-metric-horsepower-ps", "name": "Boiler Horsepower to Metric Horsepower (ps)", "category": "power", "type": "standard", "teaser": "Convert boiler output into metric horsepower.", "labels": {"in1": "Boiler Horsepower", "in2": "Metric Horsepower (ps)"}, "factor": 13.3372082549},
|
||||
{"slug": "boiler-horsepower-to-tons-of-refrigeration", "name": "Boiler Horsepower to Tons Of Refrigeration", "category": "weight", "type": "standard", "teaser": "Link boiler power to refrigeration tons.", "labels": {"in1": "Boiler Horsepower", "in2": "Tons Of Refrigeration"}, "factor": 2.78928361415},
|
||||
{"slug": "btuhour-to-boiler-horsepower", "name": "BTU/hour to Boiler Horsepower", "category": "energy", "type": "standard", "teaser": "Turn BTU per hour into boiler horsepower.", "labels": {"in1": "BTU/hour", "in2": "Boiler Horsepower"}, "factor": 2.9876249554e-05},
|
||||
@@ -273,16 +273,54 @@ export const calculators: CalculatorDef[] = [
|
||||
{"slug": "electrical-horsepower-to-btumin", "name": "Electrical Horsepower to BTU/min", "category": "energy", "type": "standard", "teaser": "Express electrical horsepower as BTUs per minute.", "labels": {"in1": "Electrical Horsepower", "in2": "BTU/min"}, "factor": 42.4242943302},
|
||||
{"slug": "electrical-horsepower-to-calories-per-second", "name": "Electrical Horsepower to Calories Per Second", "category": "speed", "type": "standard", "teaser": "Translate electrical horsepower into calories per second.", "labels": {"in1": "Electrical Horsepower", "in2": "Calories Per Second"}, "factor": 178.298279159},
|
||||
{"slug": "electrical-horsepower-to-horsepower", "name": "Electrical Horsepower to Horsepower", "category": "power", "type": "standard", "teaser": "Compare electrical horsepower with mechanical horsepower.", "labels": {"in1": "Electrical Horsepower", "in2": "Horsepower"}, "factor": 1.00040247828},
|
||||
{"slug": "electrical-horsepower-to-kilowatts", "name": "Electrical Horsepower to Kilowatts", "category": "power", "type": "standard", "teaser": "Convert electrical horsepower into kilowatts.", "labels": {"in1": "Electrical Horsepower", "in2": "Kilowatts"}, "factor": 0.746},
|
||||
{"slug": "electrical-horsepower-to-kilowatts", "name": "Electrical Horsepower to Kilowatts", "category": "power", "type": "standard", "teaser": "Convert electrical horsepower into kilowatts.", "labels": {"in1": "Electrical Horsepower", "in2": "Kilowatts"}, "factor": 0.746, "hidden": true},
|
||||
{"slug": "electrical-horsepower-to-lusec", "name": "Electrical Horsepower to Lusec", "category": "power", "type": "standard", "teaser": "Express electrical horsepower as Lusecs.", "labels": {"in1": "Electrical Horsepower", "in2": "Lusec"}, "factor": 5595475.61543},
|
||||
{"slug": "electrical-horsepower-to-megawatts", "name": "Electrical Horsepower to Megawatts", "category": "power", "type": "standard", "teaser": "Bring electrical horsepower onto the megawatt scale.", "labels": {"in1": "Electrical Horsepower", "in2": "Megawatts"}, "factor": 0.000746},
|
||||
{"slug": "electrical-horsepower-to-megawatts", "name": "Electrical Horsepower to Megawatts", "category": "power", "type": "standard", "teaser": "Bring electrical horsepower onto the megawatt scale.", "labels": {"in1": "Electrical Horsepower", "in2": "Megawatts"}, "factor": 0.000746, "hidden": true},
|
||||
{"slug": "electrical-horsepower-to-metric-horsepower-ps", "name": "Electrical Horsepower to Metric Horsepower (ps)", "category": "power", "type": "standard", "teaser": "Convert electrical horsepower into metric horsepower.", "labels": {"in1": "Electrical Horsepower", "in2": "Metric Horsepower (ps)"}, "factor": 1.01427772651},
|
||||
{"slug": "electrical-horsepower-to-tons-of-refrigeration", "name": "Electrical Horsepower to Tons Of Refrigeration", "category": "weight", "type": "standard", "teaser": "Link electrical horsepower to refrigeration tons.", "labels": {"in1": "Electrical Horsepower", "in2": "Tons Of Refrigeration"}, "factor": 0.212121471651},
|
||||
{"slug": "electrical-horsepower-to-tons-of-refrigeration", "name": "Electrical Horsepower to Tons Of Refrigeration", "category": "weight", "type": "standard", "teaser": "Link electrical horsepower to refrigeration tons.", "labels": {"in1": "Electrical Horsepower", "in2": "Tons Of Refrigeration"}, "factor": 0.212121471651, "hidden": true},
|
||||
{"slug": "electrical-horsepower-to-watts", "name": "Electrical Horsepower to Watts", "category": "power", "type": "standard", "teaser": "Express electrical horsepower in watts.", "labels": {"in1": "Electrical Horsepower", "in2": "Watts"}, "factor": 746.0},
|
||||
{"slug": "horsepower-to-boiler-horsepower", "name": "Horsepower to Boiler Horsepower", "category": "power", "type": "standard", "teaser": "Compare mechanical horsepower to boiler horsepower.", "labels": {"in1": "Horsepower", "in2": "Boiler Horsepower"}, "factor": 0.0760181326265, "hidden": true},
|
||||
{"slug": "horsepower-to-btumin", "name": "Horsepower to BTU/min", "category": "energy", "type": "standard", "teaser": "Get BTUs per minute from mechanical horsepower.", "labels": {"in1": "Horsepower", "in2": "BTU/min"}, "factor": 42.4072263427},
|
||||
{"slug": "horsepower-to-calories-per-second", "name": "Horsepower to Calories Per Second", "category": "speed", "type": "standard", "teaser": "Translate mechanical horsepower into calories per second.", "labels": {"in1": "Horsepower", "in2": "Calories Per Second"}, "factor": 178.226546845},
|
||||
{"slug": "horsepower-to-electrical-horsepower", "name": "Horsepower to Electrical Horsepower", "category": "power", "type": "standard", "teaser": "Convert mechanical horsepower into electrical horsepower.", "labels": {"in1": "Horsepower", "in2": "Electrical Horsepower"}, "factor": 0.999597683646, "hidden": true},
|
||||
{"slug": "kilowatts-to-kva", "name": "Kilowatts to kVA", "category": "power", "type": "standard", "labels": {"in1": "Kilowatts", "in2": "kVA"}},
|
||||
{"slug": "lusec-to-watts", "name": "Lusec to Watts", "category": "power", "type": "standard", "labels": {"in1": "Lusec", "in2": "Watts"}, "factor": 0.000133322},
|
||||
{"slug": "watts-to-btumin", "name": "Watts to BTU/min", "category": "energy", "type": "standard", "labels": {"in1": "Watts", "in2": "BTU/min"}, "factor": 0.0568690272522},
|
||||
{"slug": "calories-per-second-to-metric-horsepower-ps", "name": "Calories Per Second to Metric Horsepower (ps)", "category": "speed", "type": "standard", "labels": {"in1": "Calories Per Second", "in2": "Metric Horsepower (ps)"}, "factor": 0.0056886568468},
|
||||
{"slug": "horsepower-to-lusec", "name": "Horsepower to Lusec", "category": "power", "type": "standard", "labels": {"in1": "Horsepower", "in2": "Lusec"}, "factor": 5593224.46408},
|
||||
{"slug": "horsepower-to-mechanical-hp", "name": "Horsepower to Mechanical Hp", "category": "power", "type": "standard", "labels": {"in1": "Horsepower", "in2": "Mechanical Hp"}},
|
||||
{"slug": "horsepower-to-megawatts", "name": "Horsepower to Megawatts", "category": "power", "type": "standard", "labels": {"in1": "Horsepower", "in2": "Megawatts"}, "factor": 0.000745699872, "hidden": true},
|
||||
{"slug": "horsepower-to-metric-horsepower-ps", "name": "Horsepower to Metric Horsepower (ps)", "category": "power", "type": "standard", "labels": {"in1": "Horsepower", "in2": "Metric Horsepower (ps)"}, "factor": 1.01386966599},
|
||||
{"slug": "kilowatts-to-boiler-horsepower", "name": "Kilowatts to Boiler Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Kilowatts", "in2": "Boiler Horsepower"}, "factor": 0.101941995005, "hidden": true},
|
||||
{"slug": "kilowatts-to-electrical-horsepower", "name": "Kilowatts to Electrical Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Kilowatts", "in2": "Electrical Horsepower"}, "factor": 1.34048257373},
|
||||
{"slug": "kilowatts-to-metric-horsepower-ps", "name": "Kilowatts to Metric Horsepower (ps)", "category": "power", "type": "standard", "labels": {"in1": "Kilowatts", "in2": "Metric Horsepower (ps)"}, "factor": 1.3596216173},
|
||||
{"slug": "lusec-to-boiler-horsepower", "name": "Lusec to Boiler Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Lusec", "in2": "Boiler Horsepower"}, "factor": 1.3591110658e-08, "hidden": true},
|
||||
{"slug": "lusec-to-electrical-horsepower", "name": "Lusec to Electrical Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Lusec", "in2": "Electrical Horsepower"}, "factor": 1.78715817694e-07, "hidden": true},
|
||||
{"slug": "lusec-to-horsepower", "name": "Lusec to Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Lusec", "in2": "Horsepower"}, "factor": 1.78787746929e-07, "hidden": true},
|
||||
{"slug": "lusec-to-metric-horsepower-ps", "name": "Lusec to Metric Horsepower (ps)", "category": "power", "type": "standard", "labels": {"in1": "Lusec", "in2": "Metric Horsepower (ps)"}, "factor": 1.81267473262e-07},
|
||||
{"slug": "mechanical-hp-to-boiler-horsepower", "name": "Mechanical Hp to Boiler Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Mechanical Hp", "in2": "Boiler Horsepower"}, "factor": 0.0760181326265, "hidden": true},
|
||||
{"slug": "mechanical-hp-to-electrical-horsepower", "name": "Mechanical Hp to Electrical Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Mechanical Hp", "in2": "Electrical Horsepower"}, "factor": 0.999597683646, "hidden": true},
|
||||
{"slug": "mechanical-hp-to-horsepower", "name": "Mechanical Hp to Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Mechanical Hp", "in2": "Horsepower"}, "hidden": true},
|
||||
{"slug": "mechanical-hp-to-metric-horsepower-ps", "name": "Mechanical Hp to Metric Horsepower (ps)", "category": "power", "type": "standard", "labels": {"in1": "Mechanical Hp", "in2": "Metric Horsepower (ps)"}, "factor": 1.01386966599},
|
||||
{"slug": "megawatts-to-boiler-horsepower", "name": "Megawatts to Boiler Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Megawatts", "in2": "Boiler Horsepower"}, "factor": 101.941995005},
|
||||
{"slug": "megawatts-to-electrical-horsepower", "name": "Megawatts to Electrical Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Megawatts", "in2": "Electrical Horsepower"}, "factor": 1340.48257373},
|
||||
{"slug": "megawatts-to-horsepower", "name": "Megawatts to Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Megawatts", "in2": "Horsepower"}, "factor": 1341.02208884},
|
||||
{"slug": "megawatts-to-metric-horsepower-ps", "name": "Megawatts to Metric Horsepower (ps)", "category": "power", "type": "standard", "labels": {"in1": "Megawatts", "in2": "Metric Horsepower (ps)"}, "factor": 1359.6216173},
|
||||
{"slug": "metric-horsepower-ps-to-boiler-horsepower", "name": "Metric Horsepower (ps) to Boiler Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "Boiler Horsepower"}, "factor": 0.0749782098986},
|
||||
{"slug": "metric-horsepower-ps-to-btuhour", "name": "Metric Horsepower (ps) to BTU/hour", "category": "energy", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "BTU/hour"}, "factor": 2509.62590746},
|
||||
{"slug": "metric-horsepower-ps-to-btumin", "name": "Metric Horsepower (ps) to BTU/min", "category": "energy", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "BTU/min"}, "factor": 41.8270984577},
|
||||
{"slug": "metric-horsepower-ps-to-calories-per-second", "name": "Metric Horsepower (ps) to Calories Per Second", "category": "speed", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "Calories Per Second"}, "factor": 175.788420172},
|
||||
{"slug": "metric-horsepower-ps-to-electrical-horsepower", "name": "Metric Horsepower (ps) to Electrical Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "Electrical Horsepower"}, "factor": 0.985923257373},
|
||||
{"slug": "metric-horsepower-ps-to-horsepower", "name": "Metric Horsepower (ps) to Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "Horsepower"}, "factor": 0.986320070067},
|
||||
{"slug": "metric-horsepower-ps-to-kilowatts", "name": "Metric Horsepower (ps) to Kilowatts", "category": "power", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "Kilowatts"}, "factor": 0.73549875},
|
||||
{"slug": "metric-horsepower-ps-to-lusec", "name": "Metric Horsepower (ps) to Lusec", "category": "power", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "Lusec"}, "factor": 5516709.54531},
|
||||
{"slug": "metric-horsepower-ps-to-mechanical-hp", "name": "Metric Horsepower (ps) to Mechanical Hp", "category": "power", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "Mechanical Hp"}, "factor": 0.986320070067},
|
||||
{"slug": "metric-horsepower-ps-to-megawatts", "name": "Metric Horsepower (ps) to Megawatts", "category": "power", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "Megawatts"}, "factor": 0.00073549875},
|
||||
{"slug": "metric-horsepower-ps-to-tons-of-refrigeration", "name": "Metric Horsepower (ps) to Tons Of Refrigeration", "category": "weight", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "Tons Of Refrigeration"}, "factor": 0.209135492289},
|
||||
{"slug": "tons-of-refrigeration-to-boiler-horsepower", "name": "Tons Of Refrigeration to Boiler Horsepower", "category": "weight", "type": "standard", "labels": {"in1": "Tons Of Refrigeration", "in2": "Boiler Horsepower"}, "factor": 0.358514994648, "hidden": true},
|
||||
{"slug": "tons-of-refrigeration-to-electrical-horsepower", "name": "Tons Of Refrigeration to Electrical Horsepower", "category": "weight", "type": "standard", "labels": {"in1": "Tons Of Refrigeration", "in2": "Electrical Horsepower"}, "factor": 4.71427994638},
|
||||
{"slug": "tons-of-refrigeration-to-metric-horsepower-ps", "name": "Tons Of Refrigeration to Metric Horsepower (ps)", "category": "weight", "type": "standard", "labels": {"in1": "Tons Of Refrigeration", "in2": "Metric Horsepower (ps)"}, "factor": 4.78158914614},
|
||||
{"slug": "watts-to-electrical-horsepower", "name": "Watts to Electrical Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Watts", "in2": "Electrical Horsepower"}, "factor": 0.00134048257373, "hidden": true},
|
||||
{"slug": "hours-to-days", "name": "Hours to Days", "category": "time", "type": "standard", "labels": {"in1": "Hours", "in2": "Days"}, "factor": 0.0416666667, "hidden": true},
|
||||
{"slug": "hours-to-minutes", "name": "Hours to Minutes", "category": "time", "type": "standard", "labels": {"in1": "Hours", "in2": "Minutes"}, "factor": 60.0},
|
||||
{"slug": "inches-of-mercury-to-pascals", "name": "Inches of Mercury to Pascals", "category": "length", "type": "standard", "labels": {"in1": "Inches of Mercury", "in2": "Pascals"}, "factor": 3386.389},
|
||||
@@ -853,7 +891,7 @@ export const calculators: CalculatorDef[] = [
|
||||
{"slug": "kpa-to-bar", "name": "kPa to Bar", "category": "pressure", "type": "standard", "teaser": "Convert kilopascals to bar.", "labels": {"in1": "kPa", "in2": "Bar"}, "factor": 0.01, "hidden": true},
|
||||
{"slug": "kpa-to-pascal", "name": "kPa to Pascal", "category": "pressure", "type": "standard", "teaser": "Convert kilopascals to pascals.", "labels": {"in1": "kPa", "in2": "Pascal"}, "factor": 1000.0},
|
||||
{"slug": "kpa-to-psi", "name": "kPa to PSI", "category": "pressure", "type": "standard", "teaser": "Convert kilopascals to pounds per square inch.", "labels": {"in1": "kPa", "in2": "PSI"}, "factor": 0.1450377377, "hidden": true},
|
||||
{"slug": "kva-to-kilowatts", "name": "kVA to Kilowatts", "category": "power", "type": "standard", "teaser": "Convert apparent power to real power assuming unity power factor.", "labels": {"in1": "kVA", "in2": "Kilowatts"}},
|
||||
{"slug": "kva-to-kilowatts", "name": "kVA to Kilowatts", "category": "power", "type": "standard", "teaser": "Convert apparent power to real power assuming unity power factor.", "labels": {"in1": "kVA", "in2": "Kilowatts"}, "hidden": true},
|
||||
{"slug": "leagues-per-hour-to-kmh", "name": "Leagues per Hour to Kilometers per Hour", "category": "length", "type": "standard", "teaser": "Convert leagues per hour into kilometers per hour.", "labels": {"in1": "Leagues per Hour", "in2": "Kilometers per Hour"}, "factor": 4.82803},
|
||||
{"slug": "leagues-to-kilometers", "name": "Leagues to Kilometers", "category": "length", "type": "standard", "teaser": "Convert leagues to kilometers.", "labels": {"in1": "Leagues", "in2": "Kilometers"}, "factor": 4.82803},
|
||||
{"slug": "leagues-to-miles", "name": "Leagues to Miles", "category": "length", "type": "standard", "teaser": "Convert leagues to miles.", "labels": {"in1": "Leagues", "in2": "Miles"}, "factor": 3.0},
|
||||
@@ -971,7 +1009,7 @@ export const calculators: CalculatorDef[] = [
|
||||
{"slug": "kpa-to-bar", "name": "kPa to Bar", "category": "pressure", "type": "standard", "teaser": "Convert kilopascals to bar.", "labels": {"in1": "kPa", "in2": "Bar"}, "factor": 0.01, "hidden": true},
|
||||
{"slug": "kpa-to-pascal", "name": "kPa to Pascal", "category": "pressure", "type": "standard", "teaser": "Convert kilopascals to pascals.", "labels": {"in1": "kPa", "in2": "Pascal"}, "factor": 1000.0},
|
||||
{"slug": "kpa-to-psi", "name": "kPa to PSI", "category": "pressure", "type": "standard", "teaser": "Convert kilopascals to pounds per square inch.", "labels": {"in1": "kPa", "in2": "PSI"}, "factor": 0.1450377377, "hidden": true},
|
||||
{"slug": "kva-to-kilowatts", "name": "kVA to Kilowatts", "category": "power", "type": "standard", "teaser": "Convert apparent power to real power assuming unity power factor.", "labels": {"in1": "kVA", "in2": "Kilowatts"}},
|
||||
{"slug": "kva-to-kilowatts", "name": "kVA to Kilowatts", "category": "power", "type": "standard", "teaser": "Convert apparent power to real power assuming unity power factor.", "labels": {"in1": "kVA", "in2": "Kilowatts"}, "hidden": true},
|
||||
{"slug": "leagues-per-hour-to-kmh", "name": "Leagues per Hour to Kilometers per Hour", "category": "length", "type": "standard", "teaser": "Convert leagues per hour into kilometers per hour.", "labels": {"in1": "Leagues per Hour", "in2": "Kilometers per Hour"}, "factor": 4.82803},
|
||||
{"slug": "leagues-to-kilometers", "name": "Leagues to Kilometers", "category": "length", "type": "standard", "teaser": "Convert leagues to kilometers.", "labels": {"in1": "Leagues", "in2": "Kilometers"}, "factor": 4.82803},
|
||||
{"slug": "leagues-to-miles", "name": "Leagues to Miles", "category": "length", "type": "standard", "teaser": "Convert leagues to miles.", "labels": {"in1": "Leagues", "in2": "Miles"}, "factor": 3.0},
|
||||
|
||||
@@ -307,12 +307,28 @@
|
||||
updateTheme(event.matches ? 'dark' : 'light');
|
||||
};
|
||||
|
||||
const navBreakpoint = window.matchMedia('(max-width: 1024px)');
|
||||
const handleNavBreakpoint = (event: MediaQueryListEvent) => {
|
||||
if (event.matches) {
|
||||
sidebarOpen = false;
|
||||
}
|
||||
};
|
||||
|
||||
if (navBreakpoint.matches) {
|
||||
sidebarOpen = false;
|
||||
}
|
||||
|
||||
const cleanup = () => {
|
||||
if ('removeEventListener' in mediaQuery) {
|
||||
mediaQuery.removeEventListener('change', handlePreferenceChange);
|
||||
} else {
|
||||
mediaQuery.removeListener(handlePreferenceChange);
|
||||
}
|
||||
if ('removeEventListener' in navBreakpoint) {
|
||||
navBreakpoint.removeEventListener('change', handleNavBreakpoint);
|
||||
} else {
|
||||
navBreakpoint.removeListener(handleNavBreakpoint);
|
||||
}
|
||||
};
|
||||
|
||||
if ('addEventListener' in mediaQuery) {
|
||||
@@ -321,6 +337,12 @@
|
||||
mediaQuery.addListener(handlePreferenceChange);
|
||||
}
|
||||
|
||||
if ('addEventListener' in navBreakpoint) {
|
||||
navBreakpoint.addEventListener('change', handleNavBreakpoint);
|
||||
} else {
|
||||
navBreakpoint.addListener(handleNavBreakpoint);
|
||||
}
|
||||
|
||||
return cleanup;
|
||||
});
|
||||
</script>
|
||||
@@ -343,7 +365,14 @@
|
||||
<header class="site-header">
|
||||
<div style="display:flex;align-items:center;gap:0.75rem;">
|
||||
{#if !isHomepage}
|
||||
<button class="hamburger" on:click={() => (sidebarOpen = !sidebarOpen)} aria-label="Toggle menu">
|
||||
<button
|
||||
type="button"
|
||||
class="hamburger"
|
||||
on:click={() => (sidebarOpen = !sidebarOpen)}
|
||||
aria-label="Toggle menu"
|
||||
aria-controls="site-navigation"
|
||||
aria-expanded={sidebarOpen ? 'true' : 'false'}
|
||||
>
|
||||
☰
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user