This commit is contained in:
tanch0 2024-05-09 17:45:55 +05:45
parent bf885d6b4d
commit f2d75e95f2
3 changed files with 13 additions and 12 deletions

View File

@ -31,20 +31,12 @@
<div class="row"> <div class="row">
<div class="footer-sidebar footer-1 col-xs-12 col-sm-6 col-md-3"> <div class="footer-sidebar footer-1 col-xs-12 col-sm-6 col-md-3">
<div class="widget widget_text"> <div class="widget widget_text">
<h4 class="widget-title">About {{ SITEVARS->title }}</h4> <h4 class="widget-title"> {{ SITEVARS->title }}</h4>
<div class="textwidget"> <div class="textwidget">
<p><?php echo SITEVARS->description; ?></p> <p><?php echo SITEVARS->description; ?></p>
</div> </div>
</div> </div>
<div class="widget cargohub-social-links-widget"> {{-- designs --}}
<div class="list-social style-2">
<a href="<?php echo base_url(SITEVARS->fb); ?>" target="_blank"><i class="fa fa-facebook"></i></a>
<a href="<?php echo base_url(SITEVARS->twitter); ?>" target="_blank"><i class="fa fa-twitter"></i></a>
<a href="<?php echo base_url(SITEVARS->insta); ?>" target="_blank"><i
class="fa fa-instagram"></i></a>
<a href="<?php echo base_url(SITEVARS->tiktok); ?>" target="_blank"><i class="fa fa-youtube"></i></a>
</div>
</div>
</div> </div>
<div class="footer-sidebar footer-2 col-xs-12 col-sm-6 col-md-3"> <div class="footer-sidebar footer-2 col-xs-12 col-sm-6 col-md-3">
<div class="widget widget_nav_menu"> <div class="widget widget_nav_menu">
@ -95,7 +87,7 @@
<span class="icon"><i class="flaticon-arrow-pointing-to-right"></i></span> <span class="icon"><i class="flaticon-arrow-pointing-to-right"></i></span>
<div class="post-text"> <div class="post-text">
<a class="post-title" <a class="post-title"
href="{{ route('showNews', $news->alias) }}">{{ $news->title }}</a> href="{{ route('showNews', $news->alias) }}">{{Str::limit($news->title,49,'...') }}</a>
<span class="post-date">{{ $news->created_at->format('Y-m-d') }}</span> <span class="post-date">{{ $news->created_at->format('Y-m-d') }}</span>
</div> </div>
</div> </div>

View File

@ -144,9 +144,15 @@
$('.quote-form-message').html('<div class="alert alert-success">' + $('.quote-form-message').html('<div class="alert alert-success">' +
response.success + '</div>'); response.success + '</div>');
form.trigger('reset'); form.trigger('reset');
setTimeout(function() {
$('.quote-form-message').fadeOut();
}, 2000);
} else { } else {
$('.quote-form-message').html('<div class="alert alert-danger">' + $('.quote-form-message').html('<div class="alert alert-danger">' +
response.error + '</div>'); response.error + '</div>');
setTimeout(function() {
$('.quote-form-message').fadeOut();
}, 2000);
} }
}, },
error: function(xhr, status, error) { error: function(xhr, status, error) {
@ -154,6 +160,9 @@
$('.quote-form-message').html( $('.quote-form-message').html(
'<div class="alert alert-danger">Error - ' + errorMessage + '<div class="alert alert-danger">Error - ' + errorMessage +
'</div>'); '</div>');
setTimeout(function() {
$('.quote-form-message').fadeOut();
}, 2000);
}, },
complete: function() { complete: function() {
$('#loading').hide(); $('#loading').hide();