@extends('dashboard.app') @section('title', 'My Keywords') @section('page_title', 'My Keywords') @section('page_subtitle', 'Manage your private emoji keywords and language tags.') @section('dashboard_content') @php $user = $user ?? auth()->user(); $isPersonal = $user && (string) $user->tier === 'personal'; $freeLimit = $freeLimit ?? null; $activeCount = (int) ($activeCount ?? $items->where('is_active', true)->count()); $limitReached = $freeLimit !== null && $activeCount >= $freeLimit; $emojiLookup = $emojiLookup ?? []; @endphp @if (session('status'))
Add keywords to emojis to improve your personal search results.
@if (!$isPersonal && $freeLimit)Free active limit: {{ $activeCount }} / {{ $freeLimit }} keywords. Inactive keywords are stored but not used in search.
@endif| Emoji | Keyword | Language | Status | Actions |
|---|---|---|---|---|
|
{{ $lookup['emoji'] ?? '⬚' }}
{{ $lookup['name'] ?? $item->emoji_slug }}
{{ $item->emoji_slug }}
|
{{ $item->keyword }}
@php
$isActiveMobile = (bool) ($item->is_active ?? true);
$canActivateMobile = $isActiveMobile || $isPersonal || !$limitReached;
@endphp
|
{{ $item->lang ?? 'und' }} | @php $isActive = (bool) ($item->is_active ?? true); $canActivate = $isActive || $isPersonal || !$limitReached; @endphp {{ $isActive ? 'Active' : 'Inactive' }} | |
| No keywords yet. | ||||