x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<div class="grid w-[56rem] max-w-full gap-10">
<div class="grid content-start gap-2">
<p class="text-xs font-semibold text-ink-muted">Knowledge panel</p>
<div class="flex gap-5 rounded-card border border-line bg-surface p-5">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAABLUlEQVR42s3OhZHDQBAEwMk/lWdmZv6XLZPMJJOcwO1WvXYvianqABoh2QjJZqiUttx2qJZ2TLob0j1T23cHpn7ojkLj2J2EZulUzJm0Sucmu5Ds0rSv3LXp3Lhb6d65e+mVHtyj9EtPoNpI/xlUGxlYiGgjgxdQbWKIaCODV1BtZGghoo0M30C18RDTRkbvoNrI6ANUGw8xbWT8CapNDBFtZPwFqo2HmDYy+QbVJoaINjL5AdVGpr+g2sQQ0Uamf6DaSG4hoo3kCag26iGijeYVUG10ZiGijc6qoNp4iGmj8xRUG53XQLXxENNGF3VQbWKIaKOLBqg2HmLa6LIJqk0MEW102QLVRlcZqDYxRLTRVRtUGy0sRLTRogOqTQwRbbTogmqjawsRbXTd+wfCWqpapGf1mQAAAABJRU5ErkJggg==" alt="" class="size-24 shrink-0 rounded-control object-cover" loading="lazy" referrerpolicy="no-referrer">
<div class="min-w-0 flex-1">
<p class="text-xl font-bold text-ink">Heat pump</p>
<p class="text-[13px] text-ink-muted">Heating system</p>
<p class="mt-2 text-sm leading-6 text-ink-soft">A device that moves heat from a cooler space to a warmer one using a refrigeration cycle.</p>
<dl class="mt-3 grid grid-cols-[auto_1fr] gap-x-4 gap-y-1 text-[13px]">
<dt class="text-ink-muted">Invented</dt>
<dd class="text-ink">1856</dd>
<dt class="text-ink-muted">Inventor</dt>
<dd class="text-ink">Peter von Rittinger</dd>
</dl>
<a href="https://en.wikipedia.org/wiki/Heat_pump" target="_blank" rel="noopener noreferrer nofollow" class="mt-3 inline-block text-[13px] font-semibold text-iris-700 hover:underline">en.wikipedia.org</a>
</div>
</div>
</div>
<div class="grid content-start gap-2">
<p class="text-xs font-semibold text-ink-muted">Answer box</p>
<div class="flex gap-5 rounded-card border border-line bg-surface p-5">
<div class="min-w-0 flex-1">
<p class="text-xl font-bold text-ink">5,642 m</p>
<p class="mt-2 text-sm leading-6 text-ink-soft">Mount Elbrus is the highest mountain in Europe.</p>
</div>
</div>
</div>
</div>
1
2
3
4
<div class="grid w-[56rem] max-w-full gap-10">
<div class="grid content-start gap-2"><p class="text-xs font-semibold text-ink-muted">Knowledge panel</p><%= render Results::KnowledgeComponent.new(item: { "title" => "Heat pump", "type" => "Heating system", "description" => "A device that moves heat from a cooler space to a warmer one using a refrigeration cycle.", "invented" => "1856", "inventor" => "Peter von Rittinger", "image" => PreviewSamples.items("google-maps", "local_results").first["thumbnail"], "link" => "https://en.wikipedia.org/wiki/Heat_pump" }) %></div>
<div class="grid content-start gap-2"><p class="text-xs font-semibold text-ink-muted">Answer box</p><%= render Results::KnowledgeComponent.new(item: { "answer" => "5,642 m", "snippet" => "Mount Elbrus is the highest mountain in Europe." }) %></div>
</div>