Skip to content

Commit

Permalink
last fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gheorghelupu17 committed May 23, 2023
1 parent bb5192e commit 30dbc43
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lang/en/txt.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@

'home' => [
'search_title' => 'Map of services provided by the NGO sector',
'search_text' => 'Search for a specific service, depending on your needs or Explore all the services',
'search_text' => 'Search for a specific service, depending on your needs',
'search_text_span' => ' Search for services...',
'any_domain' => 'Any intervention domain',
'any_beneficiary' => 'Any beneficiary type',
Expand Down
2 changes: 1 addition & 1 deletion lang/ro/txt.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@

'home' => [
'search_title' => 'Harta serviciilor oferite de sectorul ONG',
'search_text' => 'Caută un serviciu specific în funcție de nevoile tale, sau ',
'search_text' => 'Caută un serviciu specific în funcție de nevoile tale',
'search_text_span' => ' Descoperă toate serviciile.',
'any_domain' => 'Orice domeniu de intervenție',
'any_beneficiary' => 'Orice beneficiar',
Expand Down
5 changes: 1 addition & 4 deletions resources/views/components/search-ngo.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ class="py-32 search"
>
<div class="pb-24 flex flex-col items-center justify-center">
<h2 class="text-center text-xl lg:text-3xl"> {{ __('txt.search_ngo.search_title') }}</h2>
<p class="text-base lg:text-2xl"> {{ __('txt.search_ngo.search_text') }} <span class="font-bold underline"> <a
>{{ __('txt.search_ngo.search_text_span') }} </a>
</span>
</p>
<p class="text-base lg:text-2xl"> {{ __('txt.search_ngo.search_text') }} </p>
</div>
<div class="container flex flex-col items-center justify-center">
<form class=" w-4/5 mx-auto" action="{{ route('ngos', ['local'=>app()->getLocale()]) }}">
Expand Down
5 changes: 3 additions & 2 deletions resources/views/components/search.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ class="py-32 search"
>
<div class="pb-24 flex flex-col items-center justify-center">
<h2 class="text-center text-xl lg:text-3xl"> {{ __('txt.home.search_title') }}</h2>
<p class="text-base lg:text-2xl"> {{ __('txt.home.search_text') }} <span class="font-bold underline"> <a
>{{ __('txt.home.search_text_span') }} </a>
<p class="text-base lg:text-2xl"> {{ __('txt.home.search_text') }}
@if (\Request::route()->getName() =='home')<span class="font-bold underline"> <a href="{{route('services')}}"
>{{ __('txt.home.search_text_span') }} </a>@endif
</span>
</p>
</div>
Expand Down

0 comments on commit 30dbc43

Please sign in to comment.