diff options
author | Frankie B <git@diskfloppy.me> | 2023-06-21 01:51:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-21 01:51:10 +0100 |
commit | 0abb29b5c5708d44673a975cc0c8e0f0751aa582 (patch) | |
tree | 127fe8e4cb0570fad43d076175efee5b3c23d20b | |
parent | 38da18777c60c66102b78f24c13b90d3cf3ac217 (diff) |
feat: align weather data
-rw-r--r-- | resources/views/components/weather.blade.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/views/components/weather.blade.php b/resources/views/components/weather.blade.php index 134ea11..e5aff7f 100644 --- a/resources/views/components/weather.blade.php +++ b/resources/views/components/weather.blade.php @@ -13,8 +13,8 @@ @endphp <h1>Local Weather <small>(Last Update: {{ $updated }})</small></h1> - <b>Wind Speed:</b> {{ $data->wind_speed_last }} mph<br> + <b>Wind Speed:</b> {{ $data->wind_speed_last }} mph<br> <b>Wind Direction:</b> {{ $data->wind_dir_last }}°, {{ degreesToCompassDirection($data->wind_dir_last) }}<br> - <b>Temperature:</b> {{ round(($data->temp-32)*(5/9), 1) }}°C<br> - <b>Rain Rate:</b> {{ round($data->rain_rate_last*0.2, 2) }} mm/hr<br> - <b>Humidity:</b> {{ round($data->hum) }}%<br> + <b>Temperature:</b> {{ round(($data->temp-32)*(5/9), 1) }}°C<br> + <b>Rain Rate:</b> {{ round($data->rain_rate_last*0.2, 2) }} mm/hr<br> + <b>Humidity:</b> {{ round($data->hum) }}%<br> |