{{-- リンク --}}
{{--
    $class:追加のclass名を指定
    $url:リンク先のurl
    $title:ボタンの表示テキストを指定
    $blank: 空でない場合別タブで画面を開く
--}}
<a href="{{$url}}" class="{{$class??''}}" @isset($blank) target="_blank" @endif @isset($data_num) data-num="{{$data_num}}" @endif @isset($history_count) data-history="{{$history_count}}" @endif><span class="{{$history_price_change ?? ''}}">{{$title}}</span></a>
<i class="fa" aria-hidden="true"></i>

@php $sort = $sort ?? "" @endphp
@if(!empty($sort))
    @if (request()->get('sort') == $sort && request("search_sort") == "desc" )
        <i class="fa fa-long-arrow-down" aria-hidden="true"></i>
    @endif
    @if (request()->get('sort') == $sort && request("search_sort") == "asc" )
        <i class="fa fa-long-arrow-up" aria-hidden="true"></i>
    @endif
@endif
