From 04fc009874db2d539ad881b649f7ebb512f05312 Mon Sep 17 00:00:00 2001 From: floppydiskette Date: Thu, 8 Aug 2024 22:22:38 +0100 Subject: Init rails app --- resources/views/components/weather.blade.php | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 resources/views/components/weather.blade.php (limited to 'resources/views/components/weather.blade.php') 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 @@ -

Weather Conditions:

-
-

Temperature: {{ round(($conditions[0]["temp"] - 32) * (5/9), 1) }} degC

-

Rain: {{ ($conditions[0]["rain_rate_last"] * 0.2) }}mm/hr ({{ $conditions[0]["rainfall_daily"] }}mm today)

-@if ($conditions[0]["wind_speed_last"] != 0) -

Wind: {{ round($conditions[0]["wind_speed_last"], 1) }}mph ({{ $conditions[0]["wind_dir_last"] }} deg)

-@else -

Wind: 0mph

-@endif -

Humidity: {{ round($conditions[0]["hum"], 1) }}%

-

Pressure: {{ round($conditions[2]["bar_sea_level"], 1) }} inHg

-- cgit v1.2.3-54-g00ecf