aboutsummaryrefslogtreecommitdiff
path: root/resources/views/components/weather.blade.php
diff options
context:
space:
mode:
authorfloppydiskette <git@diskfloppy.me>2024-08-08 22:22:38 +0100
committerfloppydiskette <git@diskfloppy.me>2024-08-08 22:22:38 +0100
commit04fc009874db2d539ad881b649f7ebb512f05312 (patch)
tree9934681b96c15ceffbc9ce8d682621ff875f1b4f /resources/views/components/weather.blade.php
parentfc5cd70e729f639aaf1c6ff6a4bf3d5d52664de9 (diff)
Init rails apprails
Diffstat (limited to 'resources/views/components/weather.blade.php')
-rw-r--r--resources/views/components/weather.blade.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/resources/views/components/weather.blade.php b/resources/views/components/weather.blade.php
deleted file mode 100644
index b4dfcaa..0000000
--- a/resources/views/components/weather.blade.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<p><strong>Weather Conditions:</strong></p>
-<hr style="margin: 4px 0">
-<p><strong>Temperature:</strong> {{ round(($conditions[0]["temp"] - 32) * (5/9), 1) }} degC</p>
-<p><strong>Rain:</strong> {{ ($conditions[0]["rain_rate_last"] * 0.2) }}mm/hr ({{ $conditions[0]["rainfall_daily"] }}mm today)</p>
-@if ($conditions[0]["wind_speed_last"] != 0)
- <p><strong>Wind:</strong> {{ round($conditions[0]["wind_speed_last"], 1) }}mph ({{ $conditions[0]["wind_dir_last"] }} deg)</p>
-@else
- <p><strong>Wind:</strong> 0mph</p>
-@endif
-<p><strong>Humidity:</strong> {{ round($conditions[0]["hum"], 1) }}%</p>
-<p><strong>Pressure:</strong> {{ round($conditions[2]["bar_sea_level"], 1) }} inHg</p>