fix: actually align it this time

This commit is contained in:
Frankie B 2023-06-21 01:54:14 +01:00
parent 0abb29b5c5
commit c10d758474
2 changed files with 12 additions and 12 deletions

View file

@ -13,8 +13,8 @@ function degreesToCompassDirection($degrees) {
@endphp @endphp
<h1>Local Weather <small>(Last Update: {{ $updated }})</small></h1> <h1>Local Weather <small>(Last Update: {{ $updated }})</small></h1>
<b>Wind Speed:</b> {{ $data->wind_speed_last }} mph<br> <b>Wind Speed:</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ $data->wind_speed_last }} mph<br>
<b>Wind Direction:</b> {{ $data->wind_dir_last }}°, {{ degreesToCompassDirection($data->wind_dir_last) }}<br> <b>Wind Direction:</b>&nbsp;{{ $data->wind_dir_last }}°, {{ degreesToCompassDirection($data->wind_dir_last) }}<br>
<b>Temperature:</b> {{ round(($data->temp-32)*(5/9), 1) }}°C<br> <b>Temperature:</b>&nbsp;&nbsp;&nbsp;&nbsp;{{ 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>Rain Rate:</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ round($data->rain_rate_last*0.2, 2) }} mm/hr<br>
<b>Humidity:</b> {{ round($data->hum) }}%<br> <b>Humidity:</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ round($data->hum) }}%<br>

View file

@ -12,15 +12,15 @@
@include('components.weather') @include('components.weather')
<h1>Contact</h1> <h1>Contact</h1>
<p><strong>Mail</strong>: <a href="mailto:contact@diskfloppy.me">contact@diskfloppy.me</a><br/> <p><strong>Mail</strong>:&nbsp;<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/> <strong>IRC</strong>:&nbsp;&nbsp;<a href="https://r-type.ca/page.php?id=1034">floppydisk @ r-type</a><br/>
</p> </p>
<h1>Elsewhere</h1> <h1>Elsewhere</h1>
<p><strong>Mastodon:</strong> <a rel="me" href="https://mastodon.sdf.org/@floppydisk_">@floppydisk_@mastodon.sdf.org</a><br/> <p><strong>Mastodon:</strong>&nbsp;<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>Matrix:</strong>&nbsp;&nbsp;&nbsp;<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>Twitter:</strong>&nbsp;&nbsp;<a href="https://twitter.com/floppydisk__">@floppydisk__</a><br/>
<strong>GitHub:</strong> <a href="https://github.com/floppydisk05">floppydisk05</a><br/> <strong>GitHub:</strong>&nbsp;&nbsp;&nbsp;<a href="https://github.com/floppydisk05">floppydisk05</a><br/>
<strong>SDF:</strong> <a href="http://floppydisk.sdf.org/">~floppydisk</a> <strong>SDF:</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://floppydisk.sdf.org/">~floppydisk</a>
</p> </p>
@stop @stop