Compare commits

..

2 Commits

Author SHA1 Message Date
tanch0
831a555ebf Merge branch 'main' of http://bibgit.com/Tanchohang/TanchoToplineCargo 2024-05-09 17:53:55 +05:45
tanch0
f2d75e95f2 changes 2024-05-09 17:45:55 +05:45
3 changed files with 13 additions and 12 deletions

View File

@ -31,20 +31,12 @@
<div class="row">
<div class="footer-sidebar footer-1 col-xs-12 col-sm-6 col-md-3">
<div class="widget widget_text">
<h4 class="widget-title">About {{ SITEVARS->title }}</h4>
<h4 class="widget-title"> {{ SITEVARS->title }}</h4>
<div class="textwidget">
<p><?php echo SITEVARS->description; ?></p>
</div>
</div>
<div class="widget cargohub-social-links-widget">
<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>
{{-- designs --}}
</div>
<div class="footer-sidebar footer-2 col-xs-12 col-sm-6 col-md-3">
<div class="widget widget_nav_menu">
@ -95,7 +87,7 @@
<span class="icon"><i class="flaticon-arrow-pointing-to-right"></i></span>
<div class="post-text">
<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>
</div>
</div>

View File

@ -68,7 +68,7 @@
</li>
</li>
@endforeach
</ul>

View File

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