feat: add UI, add tests, refinements

This commit is contained in:
Benjamin Nussbaum 2025-06-11 12:28:45 +02:00
parent 56638b26e8
commit ccba0f23f1
9 changed files with 446 additions and 25 deletions

View file

@ -18,7 +18,7 @@
<div class="item h--full">
<div class="meta"></div>
<div class="justify-center">
<span class="value value--xxxlarge"
<span class="value @if($size == 'full' || $size == 'half_horizontal') value--xxlarge @else value--medium @endif"
data-fit-value="true">{{ $weatherEntity['attributes']['temperature'] }}</span>
<span class="label">Temperature {{ $weatherEntity['attributes']['temperature_unit'] }}</span>
</div>