diff --git a/app/Enums/AttributeTypeEum.php b/app/Enums/AttributeTypeEum.php index 23e02a3..82e2d27 100644 --- a/app/Enums/AttributeTypeEum.php +++ b/app/Enums/AttributeTypeEum.php @@ -54,13 +54,13 @@ public function iconName(): string public function htmlValue(string $value): string { return match ($this) { - static::Link => "$value", - static::Instagram => "$value", - static::Linkedin => "$value", - static::Resume => "$value", - static::Bio => "

$value

", - static::Job => "

$value

", - static::Company => "

$value

", + static::Link => "$value", + static::Instagram => "$value", + static::Linkedin => "$value", + static::Resume => "$value", + static::Bio => "

$value

", + static::Job => "

$value

", + static::Company => "

$value

", }; } } diff --git a/resources/views/components/check-email-verified.blade.php b/resources/views/components/check-email-verified.blade.php index 1dd4188..2e1bb98 100644 --- a/resources/views/components/check-email-verified.blade.php +++ b/resources/views/components/check-email-verified.blade.php @@ -1,6 +1,6 @@ @auth @empty (auth()->user()->email_verified_at) -
+
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 298bf38..e8b957b 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -7,7 +7,7 @@ @include('layouts.template.header') -
+
@isset ($slot) {{ $slot }} @endisset diff --git a/resources/views/layouts/auth.blade.php b/resources/views/layouts/auth.blade.php index 13f8f3b..f26d5df 100644 --- a/resources/views/layouts/auth.blade.php +++ b/resources/views/layouts/auth.blade.php @@ -1,7 +1,7 @@ @extends('layouts.base') @section('body') -
+
@yield('content') @isset($slot) diff --git a/resources/views/livewire/profile/show-profile.blade.php b/resources/views/livewire/profile/show-profile.blade.php index b2d01af..2c2f5e4 100644 --- a/resources/views/livewire/profile/show-profile.blade.php +++ b/resources/views/livewire/profile/show-profile.blade.php @@ -8,7 +8,7 @@
-
+
@@ -42,7 +42,7 @@
@foreach ($user->attributes()->whereIn('type', [AttributeTypeEum::Job, AttributeTypeEum::Company])->get() as $attribute)
-
+
@svg($attribute->type->iconName(), 'w-6 h-6')
@@ -75,7 +75,7 @@
-
+
@@ -89,7 +89,7 @@
@forelse ($user->attributes()->whereNotIn('type', [AttributeTypeEum::Job, AttributeTypeEum::Bio, AttributeTypeEum::Company])->get() as $attribute)
-
+
@svg($attribute->type->iconName(), 'w-6 h-6')
diff --git a/resources/views/livewire/ticket/list-tickets.blade.php b/resources/views/livewire/ticket/list-tickets.blade.php index 701160c..c034d9b 100644 --- a/resources/views/livewire/ticket/list-tickets.blade.php +++ b/resources/views/livewire/ticket/list-tickets.blade.php @@ -13,48 +13,48 @@
-

+

{{ $ticket->ticket_title }}

-
-
-

{{ __('Name') }}:

-

{{ $ticket->data->data->first_name . ' ' . $ticket->data->data->last_name }}

+
+
+

{{ __('Name') }}:

+

{{ $ticket->data->data->first_name . ' ' . $ticket->data->data->last_name }}

-
-

{{ __('Email') }}:

-

{{ $ticket->data->data->email }}

+
+

{{ __('Email') }}:

+

{{ $ticket->data->data->email }}

-
-
-

{{ __('Ticket price') }}:

-

{{ number_format($ticket->ticket_price) }} {{ __('Toman') }}

+
+
+

{{ __('Ticket price') }}:

+

{{ number_format($ticket->ticket_price) }} {{ __('Toman') }}

-
-

{{ __('Paid price') }}:

-

{{ number_format($ticket->order_price) }} {{ __('Toman') }}

+
+

{{ __('Paid price') }}:

+

{{ number_format($ticket->order_price) }} {{ __('Toman') }}

@if(!empty($ticket->discount_code)) -
-
-

{{ __('Discount code') }}:

-

{{ $ticket->discount_code }}

+
+
+

{{ __('Discount code') }}:

+

{{ $ticket->discount_code }}

@if($ticket->discount_price != 0) -
-

{{ __('Discount price') }}:

-

{{ $ticket->discount_price }} {{ __('Toman') }}

+
+

{{ __('Discount price') }}:

+

{{ $ticket->discount_price }} {{ __('Toman') }}

@endif @if($ticket->discount_percentage != 0) -
-

{{ __('Discount percentage') }}:

-

%{{ $ticket->discount_percentage }}

+
+

{{ __('Discount percentage') }}:

+

%{{ $ticket->discount_percentage }}

@endif