x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<div class="w-[56rem] max-w-full">
<div class="divide-y divide-line rounded-card border border-line bg-surface">
<details class="group px-5 py-3.5">
<summary class="flex cursor-pointer list-none items-center justify-between gap-4 text-[15px] font-semibold text-ink [&::-webkit-details-marker]:hidden">
How long does a heat pump last?
<svg class="shrink-0 text-ink-muted transition-transform group-open:rotate-180" width="12" height="12" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5l3-3" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>
</summary>
<div class="pt-2 text-sm leading-6 text-ink-soft">
Most last 15 to 20 years with yearly servicing.
<a href="https://example.com/heat-pump-lifespan" target="_blank" rel="noopener noreferrer nofollow" class="mt-1 block text-[13px] text-iris-700 hover:underline">example.com</a>
</div>
</details>
<p class="px-5 py-3.5 text-[15px] font-semibold text-ink">Do heat pumps work in cold climates?</p>
</div>
</div>
1
<div class="w-[56rem] max-w-full"><%= render Results::QuestionsComponent.new(items: [ { "question" => "How long does a heat pump last?", "answer" => "Most last 15 to 20 years with yearly servicing.", "link" => "https://example.com/heat-pump-lifespan" }, { "question" => "Do heat pumps work in cold climates?" } ]) %></div>