aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrankie B <floppydisk05@aol.com>2023-06-21 01:54:14 +0100
committerFrankie B <floppydisk05@aol.com>2023-06-21 01:54:14 +0100
commitc10d758474056d2211cfa42a39c76eccbe5d135e (patch)
treec15ee1f309f49b6ccb51b3aa5dcda1ccaa360ca5
parent0abb29b5c5708d44673a975cc0c8e0f0751aa582 (diff)
fix: actually align it this time
-rw-r--r--resources/views/components/weather.blade.php10
-rw-r--r--resources/views/pages/home.blade.php14
2 files changed, 12 insertions, 12 deletions
diff --git a/resources/views/components/weather.blade.php b/resources/views/components/weather.blade.php
index e5aff7f..2aa2ebb 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 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>Wind Speed:</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ $data->wind_speed_last }} mph<br>
+ <b>Wind Direction:</b>&nbsp;{{ $data->wind_dir_last }}°, {{ degreesToCompassDirection($data->wind_dir_last) }}<br>
+ <b>Temperature:</b>&nbsp;&nbsp;&nbsp;&nbsp;{{ round(($data->temp-32)*(5/9), 1) }}°C<br>
+ <b>Rain Rate:</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ round($data->rain_rate_last*0.2, 2) }} mm/hr<br>
+ <b>Humidity:</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ round($data->hum) }}%<br>
diff --git a/resources/views/pages/home.blade.php b/resources/views/pages/home.blade.php
index 4b43a4d..d8839f3 100644
--- a/resources/views/pages/home.blade.php
+++ b/resources/views/pages/home.blade.php
@@ -12,15 +12,15 @@
@include('components.weather')
<h1>Contact</h1>
- <p><strong>Mail</strong>: <a href="mailto:contact@diskfloppy.me">contact@diskfloppy.me</a><br/>
- <strong>IRC</strong>: <a href="https://r-type.ca/page.php?id=1034">floppydisk @ r-type</a><br/>
+ <p><strong>Mail</strong>:&nbsp;<a href="mailto:contact@diskfloppy.me">contact@diskfloppy.me</a><br/>
+ <strong>IRC</strong>:&nbsp;&nbsp;<a href="https://r-type.ca/page.php?id=1034">floppydisk @ r-type</a><br/>
</p>
<h1>Elsewhere</h1>
- <p><strong>Mastodon:</strong> <a rel="me" href="https://mastodon.sdf.org/@floppydisk_">@floppydisk_@mastodon.sdf.org</a><br/>
- <strong>Matrix:</strong> <a href="https://matrix.to/#/@floppydisk:arcticfoxes.net">@floppydisk:arcticfoxes.net</a><br/>
- <strong>Twitter:</strong> <a href="https://twitter.com/floppydisk__">@floppydisk__</a><br/>
- <strong>GitHub:</strong> <a href="https://github.com/floppydisk05">floppydisk05</a><br/>
- <strong>SDF:</strong> <a href="http://floppydisk.sdf.org/">~floppydisk</a>
+ <p><strong>Mastodon:</strong>&nbsp;<a rel="me" href="https://mastodon.sdf.org/@floppydisk_">@floppydisk_@mastodon.sdf.org</a><br/>
+ <strong>Matrix:</strong>&nbsp;&nbsp;&nbsp;<a href="https://matrix.to/#/@floppydisk:arcticfoxes.net">@floppydisk:arcticfoxes.net</a><br/>
+ <strong>Twitter:</strong>&nbsp;&nbsp;<a href="https://twitter.com/floppydisk__">@floppydisk__</a><br/>
+ <strong>GitHub:</strong>&nbsp;&nbsp;&nbsp;<a href="https://github.com/floppydisk05">floppydisk05</a><br/>
+ <strong>SDF:</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://floppydisk.sdf.org/">~floppydisk</a>
</p>
@stop