Fixed summary link issue ( #31epna2 )
This commit is contained in:
parent
dbf75f8935
commit
3d81941aa1
@ -59,6 +59,7 @@
|
|||||||
<x-slot name="third"
|
<x-slot name="third"
|
||||||
amount="{{ money($totals['profit'], setting('default.currency'), true) }}"
|
amount="{{ money($totals['profit'], setting('default.currency'), true) }}"
|
||||||
title="{{ trans_choice('general.profits', 1) }}"
|
title="{{ trans_choice('general.profits', 1) }}"
|
||||||
|
class="cursor-default"
|
||||||
></x-slot>
|
></x-slot>
|
||||||
</x-index.summary>
|
</x-index.summary>
|
||||||
|
|
||||||
|
@ -23,10 +23,10 @@
|
|||||||
@elseif (! empty($first))
|
@elseif (! empty($first))
|
||||||
<div class="w-1/2 sm:w-1/3 text-center">
|
<div class="w-1/2 sm:w-1/3 text-center">
|
||||||
@if ($first->attributes->has('href'))
|
@if ($first->attributes->has('href'))
|
||||||
<a href="{{ $first->attributes->get('hef') }}" class="group">
|
<a href="{{ $first->attributes->get('href') }}" class="group">
|
||||||
@endif
|
@endif
|
||||||
@php $text_color = $first->attributes->has('text-color') ? $first->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
@php $text_color = $first->attributes->has('text-color') ? $first->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
||||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
||||||
{!! $first->attributes->get('amount') !!}
|
{!! $first->attributes->get('amount') !!}
|
||||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||||
</div>
|
</div>
|
||||||
@ -51,10 +51,10 @@
|
|||||||
@elseif (! empty($second))
|
@elseif (! empty($second))
|
||||||
<div class="w-1/2 sm:w-1/3 text-center">
|
<div class="w-1/2 sm:w-1/3 text-center">
|
||||||
@if ($second->attributes->has('href'))
|
@if ($second->attributes->has('href'))
|
||||||
<a href="{{ $second->attributes->get('hef') }}" class="group">
|
<a href="{{ $second->attributes->get('href') }}" class="group">
|
||||||
@endif
|
@endif
|
||||||
@php $text_color = $second->attributes->has('text-color') ? $second->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
@php $text_color = $second->attributes->has('text-color') ? $second->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
||||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
||||||
{!! $second->attributes->get('amount') !!}
|
{!! $second->attributes->get('amount') !!}
|
||||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||||
</div>
|
</div>
|
||||||
@ -80,10 +80,10 @@
|
|||||||
@elseif (! empty($third))
|
@elseif (! empty($third))
|
||||||
<div class="w-1/2 sm:w-1/3 text-center">
|
<div class="w-1/2 sm:w-1/3 text-center">
|
||||||
@if ($third->attributes->has('href'))
|
@if ($third->attributes->has('href'))
|
||||||
<a href="{{ $third->attributes->get('hef') }}" class="group">
|
<a href="{{ $third->attributes->get('href') }}" class="group">
|
||||||
@endif
|
@endif
|
||||||
@php $text_color = $third->attributes->has('text-color') ? $third->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
@php $text_color = $third->attributes->has('text-color') ? $third->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
||||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
||||||
{!! $third->attributes->get('amount') !!}
|
{!! $third->attributes->get('amount') !!}
|
||||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user