@extends('site.layout') @section('title', ($emoji['name'] ?? 'Emoji').' - Dewemoji') @php $name = $emoji['name'] ?? ''; $category = $emoji['category'] ?? ''; $subcategory = $emoji['subcategory'] ?? ''; $symbol = $emoji['emoji'] ?? ''; $slug = $emoji['slug'] ?? ''; $description = $emoji['description'] ?? ''; $unified = $emoji['unified'] ?? ''; $shortcode = $emoji['shortcodes'][0] ?? ''; $htmlHex = ''; $cssCode = ''; if (!empty($emoji['codepoints'][0])) { $hex = strtoupper($emoji['codepoints'][0]); $htmlHex = '&#x'.$hex.';'; $cssCode = '\\'.$hex; } $related = array_slice($emoji['related'] ?? [], 0, 8); $keywords = array_slice($emoji['keywords_en'] ?? [], 0, 16); @endphp @section('content')
Home {{ $category }} {{ $name }}
{{ $symbol }}
@if(count($related) > 0)

Related

@foreach($related as $item) @endforeach
@endif
{{ $subcategory }}

{{ $name }}

{{ $description }}

@if($shortcode !== '') @endif @if($unified !== '') @endif @if($htmlHex !== '') @endif @if($cssCode !== '') @endif
@if(count($keywords) > 0)

Semantic Tags

@foreach($keywords as $tag) {{ $tag }} @endforeach
@endif
Copied!
@endsection @push('scripts') @endpush