chore: remove StationSearch, dead Volt SFCs, mobile prototype, and fix homepage CTAs

This commit is contained in:
Ovidiu U
2026-04-08 09:24:40 +01:00
parent c935903614
commit 7b6aaac661
20 changed files with 1379 additions and 1158 deletions

View File

@@ -19,13 +19,13 @@
};
@endphp
<div class="rounded-2xl border border-[#e5ded7] bg-[#faf6f3] p-5 shadow-sm">
<div class="rounded-2xl border border-border bg-surface p-5 shadow-sm">
<div class="mb-3 flex items-start justify-between">
<div>
<p class="mb-1 text-[10px] font-bold uppercase tracking-widest text-[#89726c]">
<p class="mb-1 text-[10px] font-bold uppercase tracking-widest text-text-muted">
Recommendation
</p>
<h2 class="text-3xl font-black leading-tight text-[#8B4860]">
<h2 class="text-3xl font-black leading-tight text-mauve">
{{ $headline }}
</h2>
</div>
@@ -33,31 +33,30 @@
<div class="flex flex-col items-center gap-1">
<div class="relative h-12 w-12">
<svg class="h-full w-full -rotate-90" viewBox="0 0 48 48">
<circle cx="24" cy="24" r="20" stroke="#eeeae5" stroke-width="4" fill="transparent" />
<circle
cx="24" cy="24" r="20"
stroke="#8B4860" stroke-width="4" fill="transparent"
<circle cx="24" cy="24" r="20"
stroke="var(--color-surface-subtle)"
stroke-width="4" fill="transparent" />
<circle cx="24" cy="24" r="20"
stroke="var(--color-mauve)"
stroke-width="4" fill="transparent"
stroke-dasharray="{{ $circumference }}"
stroke-dashoffset="{{ $offset }}"
stroke-linecap="round"
/>
stroke-linecap="round" />
</svg>
<span class="absolute inset-0 flex items-center justify-center text-[11px] font-black text-[#4a3f3b]">
<span class="absolute inset-0 flex items-center justify-center text-[11px] font-black text-text-base">
{{ (int) $score }}%
</span>
</div>
<span class="text-[9px] font-bold uppercase tracking-wider text-[#89726c]">Confidence</span>
<span class="text-[9px] font-bold uppercase tracking-wider text-text-muted">Confidence</span>
</div>
</div>
<p class="text-sm font-medium leading-relaxed text-[#6b5a55]">
<p class="text-sm font-medium leading-relaxed text-text-dim">
{{ $prediction['reasoning'] ?? '' }}
</p>
<div class="mt-3">
<span class="rounded-full px-2.5 py-0.5 text-[11px] font-bold uppercase tracking-wide {{ $labelColour }}">
{{ ucfirst($label) }} confidence
</span>
<flux:badge size="sm" :class="$labelColour">{{ ucfirst($label) }} confidence</flux:badge>
</div>
</div>
@endif