Fixed summary link issue ( #31epna2 )

This commit is contained in:
Cüneyt Şentürk 2022-06-16 10:27:04 +03:00
parent dbf75f8935
commit 3d81941aa1
2 changed files with 7 additions and 6 deletions

View File

@ -59,6 +59,7 @@
<x-slot name="third"
amount="{{ money($totals['profit'], setting('default.currency'), true) }}"
title="{{ trans_choice('general.profits', 1) }}"
class="cursor-default"
></x-slot>
</x-index.summary>

View File

@ -23,10 +23,10 @@
@elseif (! empty($first))
<div class="w-1/2 sm:w-1/3 text-center">
@if ($first->attributes->has('href'))
<a href="{{ $first->attributes->get('hef') }}" class="group">
<a href="{{ $first->attributes->get('href') }}" class="group">
@endif
@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') !!}
<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>
@ -51,10 +51,10 @@
@elseif (! empty($second))
<div class="w-1/2 sm:w-1/3 text-center">
@if ($second->attributes->has('href'))
<a href="{{ $second->attributes->get('hef') }}" class="group">
<a href="{{ $second->attributes->get('href') }}" class="group">
@endif
@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') !!}
<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>
@ -80,10 +80,10 @@
@elseif (! empty($third))
<div class="w-1/2 sm:w-1/3 text-center">
@if ($third->attributes->has('href'))
<a href="{{ $third->attributes->get('hef') }}" class="group">
<a href="{{ $third->attributes->get('href') }}" class="group">
@endif
@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') !!}
<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>