Remove welcome.blade.php and update various views to use translation functions for improved localization support. Changes include updating labels, titles, and alerts across multiple pages to utilize the __('') function, enhancing the application's internationalization capabilities.
This commit is contained in:
@@ -7,10 +7,10 @@
|
||||
<div class="row">
|
||||
<div class="col-xl-12">
|
||||
<div class="breadcrumb__area-content">
|
||||
<h2>Success Stories</h2>
|
||||
<h2>{{ __('Success Stories') }}</h2>
|
||||
<ul>
|
||||
<li><a href="/">Home</a><i class="fa-regular fa-angle-right"></i></li>
|
||||
<li>Success Stories</li>
|
||||
<li><a href="/">{{ __('Home') }}</a><i class="fa-regular fa-angle-right"></i></li>
|
||||
<li>{{ __('Success Stories') }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -24,8 +24,8 @@
|
||||
<div class="row">
|
||||
<div class="col-xl-12">
|
||||
<div class="section-title text-center pb-50">
|
||||
<h2 class="pb-3">Our Success Stories</h2>
|
||||
<p>Discover inspiring narratives of triumph, growth, and achievement through our curated collection of success stories. Each story is a testament to dedication and hard work.</p>
|
||||
<h2 class="pb-3">{{ __('Our Success Stories') }}</h2>
|
||||
<p>{{ __('Discover inspiring narratives of triumph, growth, and achievement through our curated collection of success stories. Each story is a testament to dedication and hard work.') }}</p>
|
||||
</div>
|
||||
</div>
|
||||
@forelse ($allSuccesses as $success)
|
||||
@@ -39,13 +39,13 @@
|
||||
</div>
|
||||
<div class="blog__one-item-content">
|
||||
<h4><a href="{{ route('success.show', $success->slug) }}">{{ $success->title }}</a></h4>
|
||||
<a class="more_btn" href="{{ route('success.show', $success->slug) }}">Read More<i class="flaticon-right-up"></i></a>
|
||||
<a class="more_btn" href="{{ route('success.show', $success->slug) }}">{{ __('Read More') }}<i class="flaticon-right-up"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@empty
|
||||
<div class="col-12">
|
||||
<div class="alert alert-info">No success stories found...</div>
|
||||
<div class="alert alert-info">{{ __('No success stories found...') }}</div>
|
||||
</div>
|
||||
@endforelse
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user