{{-- One definition. Shared by the topic view, the A-Z view and the focused term, so all three always look and behave the same. $entry, the normalised entry from KnowledgeBaseService. $tone / $tones / $hl come from the parent view (index.blade.php). --}} @php $entryTone = $tone[$tones[$entry['section']] ?? 'slate'] ?? $tone['slate']; @endphp

{!! $hl($entry['term']) !!}

@if ($entry['also'])

{{ __('also called') }} @foreach ($entry['also'] as $alias) {!! $hl($alias) !!} @endforeach

@endif
{{-- Copy a link straight to this definition, for pasting into a chat. --}}

{!! $hl($entry['definition']) !!}

@if ($entry['points']) @endif @if ($entry['related_terms'])
{{ __('see also') }} @foreach ($entry['related_terms'] as $related) @endforeach
@endif {{-- Where it lives. Pushed to the bottom so cards in a row line up. --}} @if ($entry['where'] || $entry['url'])
@if ($entry['where']) {{ $entry['where'] }} @else @endif @if ($entry['url']) {{ __('Open') }} @endif
@endif