design-change

This commit is contained in:
tanch0 2024-06-11 17:34:46 +05:45
parent 567d179a36
commit 763075c7f8
12 changed files with 104 additions and 25 deletions

View File

@ -510,6 +510,10 @@ DB::statement("CREATE TABLE IF NOT EXISTS tbl_partners (
if (!Schema::hasColumn('franchises', 'for')) {
$table->text('for')->nullable()->after('franchise_id');
}
if (!Schema::hasColumn('franchises', 'link')) {
$table->string('link')->nullable()->after('banners');
}
});
Schema::table('settings', function (Blueprint $table) {
if (!Schema::hasColumn('settings', 'address')) {

View File

@ -22,6 +22,7 @@ class Franchises extends Model
'text',
'thumb',
'banners',
'link',
'display_order',
'status',
'created_at',

BIN
public/topCargo/assets/images/.DS_Store vendored Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 397 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

View File

@ -43,7 +43,7 @@
<link href="{{ asset('topCargo/assets/css/responsive.css') }}" rel="stylesheet">
<!--[if lt IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script><![endif]-->
<!--[if lt IE 9]><script src="js/respond.js"></script><![endif]-->
@stack('css')
<style>
/* Set the size of the iframe */
#map-container {

View File

@ -12,16 +12,15 @@
<div class="item-service col-xs-12 col-sm-6 col-md-3">
<div class="service-content">
<div class="entry-thumbnail">
<a class="link"
href="{{ route('showFranchise',$franchise->alias) }}"></a>
<a href="{{ route('showFranchise',$franchise->alias) }}"><span
class="icon"><i class="fa fa-long-arrow-right"
<a class="link" href="{{ $franchise->link }}"></a>
<a href="{{ $franchise->link }}"><span class="icon"><i class="fa fa-long-arrow-right"
aria-hidden="true"></i></span></a>
<img src="{{ asset($franchise->thumb) }}" style="width: 100%; height:180px; object-fit:cover; object-position:center;" alt="{{ $franchise->title }}">
<img src="{{ asset($franchise->thumb) }}"
style="width: 100%; height:180px; object-fit:cover; object-position:center;"
alt="{{ $franchise->title }}">
</div>
<div class="summary">
<h2 class="entry-title"><a
href="{{ route('showFranchise',$franchise->alias) }}">{{ $franchise->title }}</a>
<h2 class="entry-title"><a href="{{ $franchise->link }}">{{ $franchise->title }}</a>
</h2>
</div>
</div>

View File

@ -34,7 +34,7 @@
<!-- LAYER NR. 2 -->
<div class="tp-caption ch_title text-uppercase slider-title tp-resizeme"
id="slide-1-layer-1" data-x="['left','left','left','left']"
@ -45,8 +45,7 @@
data-frames='[{"delay":200,"speed":500,"text_c":"transparent","bg_c":"transparent","use_text_c":false,"use_bg_c":false,"frame":"0","from":"opacity:0;","to":"o:1;","ease":"Power3.easeInOut"},{"delay":"wait","speed":500,"use_text_c":false,"use_bg_c":false,"text_c":"transparent","bg_c":"transparent","frame":"999","to":"opacity:0;","ease":"Power3.easeInOut"}]'
data-textAlign="['inherit','inherit','inherit','inherit']" data-paddingtop="[0,0,0,0]"
data-paddingright="[0,0,0,0]" data-paddingbottom="[0,0,0,0]"
data-paddingleft="[0,0,0,0]"
style="z-index: 8; letter-spacing: 0px; width: 250%; ">
data-paddingleft="[0,0,0,0]" style="z-index: 8; letter-spacing: 0px; width: 250%; ">
{{ $slider->slider_title }}
</div>
@ -67,8 +66,8 @@
</li>
</li>
@endforeach
</ul>
@ -81,8 +80,8 @@
<div class="container">
<h2 class="count-title">Top Line <span class="main-color2">Cargo </span> is a Global Supplier of
Transport.</h2>
<div class="row">
<div class="col-lg-3 col-md-4 col-lg-offset-2">
<div class="row allign-center">
<div class="col-lg-3 col-md-4 col-lg-offset-5">
<div class="fh-counter icon-type-none">
<div class="counter">
<div class="value">30 years+</div>
@ -90,20 +89,92 @@
</div>
</div>
</div>
<div class="col-lg-3 col-md-4">
</div>
<style>
.text {
font-size: 25px;
}
</style>
<div class="row">
<div class="col-lg-6 col-md-6">
<div class="fh-counter icon-type-none">
<div class="counter">
<div class="value">Current CSA</div>
<h4>Jaz/Fit</h4>
<div class="row justify-content-center" style="padding-left: 3em;">
<div class="col-md-6">
<h4>Jaz/Fit</h4>
</div>
</div>
<div class="row" style="padding-top: 45px;">
<div class="col-6 col-md-6 col-lg-6">
<div class="text">
<p>GSSA</p>
</div>
<div class="row justify-content-center">
<div class="col-md-12">
<h4>Jalzeera Airways</h4>
<img src="{{ asset('topCargo/assets/images/Jazeera.png') }}"
alt="" style="padding-top:15px">
</div>
</div>
</div>
<div class="col-6 col-md-6 col-lg-6">
<div class="text">
<p>CSA</p>
</div>
<div class="col-md-12">
<h4>Fits Cargo</h4>
<img src="{{ asset('topCargo/assets/images/fit-cargo.png') }}"
alt="" style="padding-top:15px">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4">
<div class="col-lg-6 col-md-6 text-center" style="border-left: 2px solid white;">
<div class="fh-counter icon-type-none">
<div class="counter">
<div class="value">Ex<br> CSA</div>
<h4>Salam Air</h4>
<div class="value">Ex CSA</div>
<div class="row justify-content-center" style="padding-left: 3.5em;">
<div class="col-md-6">
<h4>Salam Air</h4>
</div>
</div>
<div class="row" style="padding-top: 45px;">
<div class="col-3 col-md-3 col-lg-3">
<div class="text">
<p>GSSA</p>
</div>
<div class="row justify-content-center">
<div class="col-md-12">
<h4>Pegasus airlines</h4>
<img src="{{ asset('topCargo/assets/images/pegasus.png') }}"
alt="" style="padding-top:15px">
</div>
</div>
</div>
<div class="col-6 col-md-6 col-lg-6">
<div class="text">
<p>Exclusive CSA</p>
</div>
<div class="col-md-12">
<h4>China Soutthern Airlines</h4>
<img src="{{ asset('topCargo/assets/images/chinasouthern.png') }}"
alt="" style="padding-top:15px">
</div>
</div>
<div class="col-3 col-md-3 col-lg-3">
<div class="text">
<p>GSSA</p>
</div>
<div class="col-md-12">
<h4>Salam air</h4>
<img src="{{ asset('topCargo/assets/images/salamair.png') }}"
alt="" style="padding-top:15px">
</div>
</div>
</div>
</div>
</div>
</div>

View File

@ -2,7 +2,7 @@
@section('content')
<div class='card'>
<div class='card-header d-flex justify-content-between align-items-center'>
<h2 class="">{{ label('Add Franchises') }}</h2>
<h2 class="">{{ label('Add Franchise') }}</h2>
<?php createButton('btn-primary btn-cancel', '', 'Cancel', route('franchises.index')); ?>
</div>
@ -12,9 +12,11 @@
<div class="row">
<div class="col-lg-6">{{ createText('title', 'title', 'Title') }}
</div>
<div class="col-lg-6">{{ createText('link', 'link', 'Link') }}
</div>
<div class="col-lg-12 pb-2">{{ createTextarea('text', 'text ckeditor-classic', 'Text') }}
</div>
<div class="col-lg-12 pb-2">{{ createImageInput('thumb', 'Thumb') }}
<div class="col-lg-5">{{ createImageInput('thumb', 'Thumb') }}
</div>
<div class="col-lg-6">{{ createImageInput('banners', 'banners', 'Banners') }}
</div> <br>

View File

@ -2,7 +2,7 @@
@section('content')
<div class='card'>
<div class='card-header d-flex justify-content-between align-items-center'>
<h2 class="">{{ label('Edit Franchises') }}</h2>
<h2 class="">{{ label('Edit Franchise') }}</h2>
<?php createButton('btn-primary btn-cancel', '', 'Cancel', route('franchises.index')); ?>
</div>
@ -12,9 +12,11 @@
<div class="row">
<div class="col-lg-6">{{ createText('title', 'title', 'Title', '', $data->title) }}
</div>
<div class="col-lg-6">{{ createText('link', 'link', 'link', '', $data->link) }}
</div>
<div class="col-lg-12 pb-2">{{ createTextarea('text', 'text ckeditor-classic', 'Text', $data->text) }}
</div>
<div class="col-lg-12 pb-2">{{ createImageInput('thumb', 'Thumb', '', $data->thumb) }}
<div class="col-lg-6">{{ createImageInput('thumb', 'Thumb', '', $data->thumb) }}
</div>
<div class="col-lg-6">{{ createImageInput('banners', 'Banners', '', $data->banners) }}
</div>