14 lines
650 B
PHP
14 lines
650 B
PHP
@php
|
|
$guide = \App\Models\Articles::publicVisible()
|
|
->where('sSlug', config('tutorials.guide_slug'))
|
|
->whereHas('oCategory', fn($q) => $q->where('sSlug', config('tutorials.beginner_slug')))
|
|
->first(['id', 'sSlug']);
|
|
@endphp
|
|
@if($guide)
|
|
<a class="fn-guide-entry" href="/a/{{ $guide->sSlug }}.html">
|
|
<span class="fn-guide-entry__icon" aria-hidden="true">↗</span>
|
|
<span><strong>第一次使用免费节点?</strong><small>从新手指引开始,按设备选择客户端和订阅格式。</small></span>
|
|
<span class="fn-guide-entry__action">查看指引 <span aria-hidden="true">→</span></span>
|
|
</a>
|
|
@endif
|