Compare commits
13 Commits
bf885d6b4d
...
main
Author | SHA1 | Date | |
---|---|---|---|
|
06ad41a37b | ||
|
763075c7f8 | ||
|
567d179a36 | ||
|
b3ee8845a8 | ||
|
0f76e2eb76 | ||
|
9d3e9cef7a | ||
|
ef227fce6b | ||
|
831a555ebf | ||
|
f2d75e95f2 | ||
6582daae0d | |||
2e495a902b | |||
2313bf7cc9 | |||
d930dd1b69 |
58
.env.example
@@ -1,58 +0,0 @@
|
||||
APP_NAME=Laravel
|
||||
APP_ENV=local
|
||||
APP_KEY=
|
||||
APP_DEBUG=true
|
||||
APP_URL=http://localhost
|
||||
|
||||
LOG_CHANNEL=stack
|
||||
LOG_DEPRECATIONS_CHANNEL=null
|
||||
LOG_LEVEL=debug
|
||||
|
||||
DB_CONNECTION=mysql
|
||||
DB_HOST=127.0.0.1
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=laravel
|
||||
DB_USERNAME=root
|
||||
DB_PASSWORD=
|
||||
|
||||
BROADCAST_DRIVER=log
|
||||
CACHE_DRIVER=file
|
||||
FILESYSTEM_DISK=local
|
||||
QUEUE_CONNECTION=sync
|
||||
SESSION_DRIVER=file
|
||||
SESSION_LIFETIME=120
|
||||
|
||||
MEMCACHED_HOST=127.0.0.1
|
||||
|
||||
REDIS_HOST=127.0.0.1
|
||||
REDIS_PASSWORD=null
|
||||
REDIS_PORT=6379
|
||||
|
||||
MAIL_MAILER=smtp
|
||||
MAIL_HOST=mailpit
|
||||
MAIL_PORT=1025
|
||||
MAIL_USERNAME=null
|
||||
MAIL_PASSWORD=null
|
||||
MAIL_ENCRYPTION=null
|
||||
MAIL_FROM_ADDRESS="hello@example.com"
|
||||
MAIL_FROM_NAME="${APP_NAME}"
|
||||
|
||||
AWS_ACCESS_KEY_ID=
|
||||
AWS_SECRET_ACCESS_KEY=
|
||||
AWS_DEFAULT_REGION=us-east-1
|
||||
AWS_BUCKET=
|
||||
AWS_USE_PATH_STYLE_ENDPOINT=false
|
||||
|
||||
PUSHER_APP_ID=
|
||||
PUSHER_APP_KEY=
|
||||
PUSHER_APP_SECRET=
|
||||
PUSHER_HOST=
|
||||
PUSHER_PORT=443
|
||||
PUSHER_SCHEME=https
|
||||
PUSHER_APP_CLUSTER=mt1
|
||||
|
||||
VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
|
||||
VITE_PUSHER_HOST="${PUSHER_HOST}"
|
||||
VITE_PUSHER_PORT="${PUSHER_PORT}"
|
||||
VITE_PUSHER_SCHEME="${PUSHER_SCHEME}"
|
||||
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
|
@@ -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')) {
|
||||
|
@@ -29,10 +29,9 @@ class WebsiteController extends Controller
|
||||
{
|
||||
$this->path = config('app.client_path');
|
||||
$headerMenu = Menulocations::where('alias', 'header-menu')->first();
|
||||
$headerMenuItems = Menuitems::where('menulocations_id', $headerMenu->menulocation_id)->where('status','<>',-1)->where('parent_menu', 0)->with('children')->orderBy('display_order', 'asc')->get();
|
||||
$headerMenuItems = Menuitems::where('menulocations_id', $headerMenu->menulocation_id)->where('status', '<>', -1)->where('parent_menu', 0)->with('children')->orderBy('display_order', 'asc')->get();
|
||||
$footerMenu = Menulocations::where('alias', 'footer-menu')->first();
|
||||
$footerMenuItems = Menuitems::where('menulocations_id', $footerMenu->menulocation_id)->where('status','<>',-1)->where('parent_menu', 0)->with('children')->orderBy('display_order', 'asc')->get();
|
||||
// dd($footerMenuItems);
|
||||
$footerMenuItems = Menuitems::where('menulocations_id', $footerMenu->menulocation_id)->where('status', '<>', -1)->where('parent_menu', 0)->with('children')->orderBy('display_order', 'asc')->get();
|
||||
$popularNews = News::inRandomOrder()->inRandomOrder()->take(3)->get();
|
||||
View::share([
|
||||
'headerMenuItems' => $headerMenuItems,
|
||||
@@ -41,54 +40,17 @@ class WebsiteController extends Controller
|
||||
]);
|
||||
}
|
||||
|
||||
// public static function index(Request $request, $menu_id = "")
|
||||
// {
|
||||
// dd("test");
|
||||
// $pathInfo = ltrim($request->getPathInfo(), '/');
|
||||
// $r = explode('/', $pathInfo);
|
||||
// $menu_alias = end($r);
|
||||
// $menu_alias1 = str_replace("_", "-", $menu_alias);
|
||||
// $menuItem = DB::table("menuitems")->where("alias", $menu_alias)->orWhere("alias", $menu_alias1)->get()[0];
|
||||
// switch ($menuItem->type) {
|
||||
// case 'tbl_contacts':
|
||||
// $contact = DB::table("contacts")->where("contact_id", $menuItem->ref)->get()[0];
|
||||
// return view("client." . env("CLIENT_PATH") . ".inside.contact", compact('contact'));
|
||||
// // break;
|
||||
// case 'tbl_countries':
|
||||
// $countries = DB::table("countries")->where("article_id", $menuItem->ref)->get()[0];
|
||||
// return view("client." . env("CLIENT_PATH") . ".inside.country_single", compact('country'));
|
||||
// break;
|
||||
// case 'tbl_companyarticles':
|
||||
// $article = DB::table("companyarticles")->where("article_id", $menuItem->ref)->get()[0];
|
||||
// return view("client." . env("CLIENT_PATH") . ".inside.article", compact('article'));
|
||||
// //break;
|
||||
// case 'tbl_recruitmentarticles':
|
||||
// $recruitmentarticle = DB::table("recruitmentarticles")->where("article_id", $menuItem->ref)->get()[0];
|
||||
// $article = $recruitmentarticle;
|
||||
// return view("client." . env("CLIENT_PATH") . ".inside.recruitmentArticle", compact('recruitmentarticle', 'article'));
|
||||
// case 'tbl_otherarticles':
|
||||
// $cruiserecruiment = DB::table("otherarticles")->where("article_id", $menuItem->ref)->get()[0];
|
||||
// $article = $cruiserecruiment;
|
||||
// return view("client." . env("CLIENT_PATH") . ".inside.cruiserecruitment", compact('cruiserecruiment', 'article'));
|
||||
// default:
|
||||
// // echo $menuItem->alias;die;
|
||||
// if ($menuItem->ref == "/")
|
||||
// return view("client." . env("CLIENT_PATH") . ".welcome");
|
||||
// else if ($menuItem->ref == "#")
|
||||
// return view("client." . env("CLIENT_PATH") . ".welcome");
|
||||
|
||||
// else
|
||||
// return view("client." . env("CLIENT_PATH") . ".inside" . '/' . ltrim($menuItem->ref));
|
||||
// }
|
||||
// }
|
||||
|
||||
public function home()
|
||||
{
|
||||
|
||||
$data["sliders"] = Sliders::where('status', 1)->latest()->get();
|
||||
$data["franchises"] = Franchises::latest()->take(4)->get();
|
||||
$data["testimonials"] = Testimonials::where('status', 1)->latest()->get();
|
||||
$data['services'] = Services::latest()->where('parent_service',null)->take(6)->get();
|
||||
$data['services'] = Services::latest()->where('parent_service', null)
|
||||
->orWhere('parent_service', 0)
|
||||
->where('status', 1)
|
||||
->inRandomOrder()
|
||||
->get();
|
||||
$data['partners'] = Partners::latest()->get();
|
||||
$data["news"] = News::latest()->take(6)->get();
|
||||
|
||||
@@ -122,7 +84,7 @@ class WebsiteController extends Controller
|
||||
|
||||
$teams = Teams::where('status', 1)->latest()->get();
|
||||
|
||||
return view("client.$this->path.article-single", compact('teams', 'alias', 'article','whyChooseUs'));
|
||||
return view("client.$this->path.article-single", compact('teams', 'alias', 'article', 'whyChooseUs'));
|
||||
}
|
||||
|
||||
public function teams()
|
||||
@@ -167,11 +129,11 @@ class WebsiteController extends Controller
|
||||
public function showService($alias)
|
||||
{
|
||||
$serviceLists = Services::where('status', 1)
|
||||
->whereNull('parent_service')
|
||||
->orWhere('parent_service', 0)
|
||||
->select(['title', 'alias'])
|
||||
->get();
|
||||
$service = Services::where('alias', $alias)->where('status','<>',-1)->with('children',fn($query)=>$query->latest())->first();
|
||||
->whereNull('parent_service')
|
||||
->orWhere('parent_service', 0)
|
||||
->select(['title', 'alias'])
|
||||
->get();
|
||||
$service = Services::where('alias', $alias)->where('status', '<>', -1)->with('children', fn ($query) => $query->latest())->first();
|
||||
return view('client.topCargo.service-single', compact('service', 'serviceLists'));
|
||||
}
|
||||
|
||||
@@ -225,9 +187,6 @@ class WebsiteController extends Controller
|
||||
} else {
|
||||
return response()->json(['error' => 'Failed to send email'], 500);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -22,6 +22,7 @@ class Franchises extends Model
|
||||
'text',
|
||||
'thumb',
|
||||
'banners',
|
||||
'link',
|
||||
'display_order',
|
||||
'status',
|
||||
'created_at',
|
||||
|
105
composer.lock
generated
@@ -1116,16 +1116,16 @@
|
||||
},
|
||||
{
|
||||
"name": "intervention/image",
|
||||
"version": "3.6.2",
|
||||
"version": "3.6.3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Intervention/image.git",
|
||||
"reference": "8e00dd330ff8ef944492037c5dd17da00b85daa6"
|
||||
"reference": "2dbfb53bf8909257e710cf6091d10a9ca7500742"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Intervention/image/zipball/8e00dd330ff8ef944492037c5dd17da00b85daa6",
|
||||
"reference": "8e00dd330ff8ef944492037c5dd17da00b85daa6",
|
||||
"url": "https://api.github.com/repos/Intervention/image/zipball/2dbfb53bf8909257e710cf6091d10a9ca7500742",
|
||||
"reference": "2dbfb53bf8909257e710cf6091d10a9ca7500742",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -1172,7 +1172,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/Intervention/image/issues",
|
||||
"source": "https://github.com/Intervention/image/tree/3.6.2"
|
||||
"source": "https://github.com/Intervention/image/tree/3.6.3"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -1184,7 +1184,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2024-04-26T15:29:43+00:00"
|
||||
"time": "2024-05-02T09:03:18+00:00"
|
||||
},
|
||||
{
|
||||
"name": "laravel/framework",
|
||||
@@ -3488,16 +3488,16 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/deprecation-contracts",
|
||||
"version": "v3.4.0",
|
||||
"version": "v3.5.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/deprecation-contracts.git",
|
||||
"reference": "7c3aff79d10325257a001fcf92d991f24fc967cf"
|
||||
"reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf",
|
||||
"reference": "7c3aff79d10325257a001fcf92d991f24fc967cf",
|
||||
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1",
|
||||
"reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -3506,7 +3506,7 @@
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "3.4-dev"
|
||||
"dev-main": "3.5-dev"
|
||||
},
|
||||
"thanks": {
|
||||
"name": "symfony/contracts",
|
||||
@@ -3535,7 +3535,7 @@
|
||||
"description": "A generic function and convention to trigger deprecation notices",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0"
|
||||
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -3551,7 +3551,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-05-23T14:45:45+00:00"
|
||||
"time": "2024-04-18T09:32:20+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/error-handler",
|
||||
@@ -3710,16 +3710,16 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/event-dispatcher-contracts",
|
||||
"version": "v3.4.2",
|
||||
"version": "v3.5.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/event-dispatcher-contracts.git",
|
||||
"reference": "4e64b49bf370ade88e567de29465762e316e4224"
|
||||
"reference": "8f93aec25d41b72493c6ddff14e916177c9efc50"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/4e64b49bf370ade88e567de29465762e316e4224",
|
||||
"reference": "4e64b49bf370ade88e567de29465762e316e4224",
|
||||
"url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/8f93aec25d41b72493c6ddff14e916177c9efc50",
|
||||
"reference": "8f93aec25d41b72493c6ddff14e916177c9efc50",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -3729,7 +3729,7 @@
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "3.4-dev"
|
||||
"dev-main": "3.5-dev"
|
||||
},
|
||||
"thanks": {
|
||||
"name": "symfony/contracts",
|
||||
@@ -3766,7 +3766,7 @@
|
||||
"standards"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.4.2"
|
||||
"source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -3782,7 +3782,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2024-01-23T14:51:35+00:00"
|
||||
"time": "2024-04-18T09:32:20+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/finder",
|
||||
@@ -5061,21 +5061,22 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/service-contracts",
|
||||
"version": "v3.4.2",
|
||||
"version": "v3.5.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/service-contracts.git",
|
||||
"reference": "11bbf19a0fb7b36345861e85c5768844c552906e"
|
||||
"reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/11bbf19a0fb7b36345861e85c5768844c552906e",
|
||||
"reference": "11bbf19a0fb7b36345861e85c5768844c552906e",
|
||||
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f",
|
||||
"reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.1",
|
||||
"psr/container": "^1.1|^2.0"
|
||||
"psr/container": "^1.1|^2.0",
|
||||
"symfony/deprecation-contracts": "^2.5|^3"
|
||||
},
|
||||
"conflict": {
|
||||
"ext-psr": "<1.1|>=2"
|
||||
@@ -5083,7 +5084,7 @@
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "3.4-dev"
|
||||
"dev-main": "3.5-dev"
|
||||
},
|
||||
"thanks": {
|
||||
"name": "symfony/contracts",
|
||||
@@ -5123,7 +5124,7 @@
|
||||
"standards"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/service-contracts/tree/v3.4.2"
|
||||
"source": "https://github.com/symfony/service-contracts/tree/v3.5.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -5139,7 +5140,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-12-19T21:51:00+00:00"
|
||||
"time": "2024-04-18T09:32:20+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/string",
|
||||
@@ -5324,16 +5325,16 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/translation-contracts",
|
||||
"version": "v3.4.2",
|
||||
"version": "v3.5.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/translation-contracts.git",
|
||||
"reference": "43810bdb2ddb5400e5c5e778e27b210a0ca83b6b"
|
||||
"reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/translation-contracts/zipball/43810bdb2ddb5400e5c5e778e27b210a0ca83b6b",
|
||||
"reference": "43810bdb2ddb5400e5c5e778e27b210a0ca83b6b",
|
||||
"url": "https://api.github.com/repos/symfony/translation-contracts/zipball/b9d2189887bb6b2e0367a9fc7136c5239ab9b05a",
|
||||
"reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -5342,7 +5343,7 @@
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "3.4-dev"
|
||||
"dev-main": "3.5-dev"
|
||||
},
|
||||
"thanks": {
|
||||
"name": "symfony/contracts",
|
||||
@@ -5382,7 +5383,7 @@
|
||||
"standards"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/translation-contracts/tree/v3.4.2"
|
||||
"source": "https://github.com/symfony/translation-contracts/tree/v3.5.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -5398,7 +5399,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2024-01-23T14:51:35+00:00"
|
||||
"time": "2024-04-18T09:32:20+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/uid",
|
||||
@@ -8197,16 +8198,16 @@
|
||||
},
|
||||
{
|
||||
"name": "spatie/flare-client-php",
|
||||
"version": "1.4.4",
|
||||
"version": "1.5.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/spatie/flare-client-php.git",
|
||||
"reference": "17082e780752d346c2db12ef5d6bee8e835e399c"
|
||||
"reference": "e27977d534eefe04c154c6fd8460217024054c05"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/spatie/flare-client-php/zipball/17082e780752d346c2db12ef5d6bee8e835e399c",
|
||||
"reference": "17082e780752d346c2db12ef5d6bee8e835e399c",
|
||||
"url": "https://api.github.com/repos/spatie/flare-client-php/zipball/e27977d534eefe04c154c6fd8460217024054c05",
|
||||
"reference": "e27977d534eefe04c154c6fd8460217024054c05",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -8254,7 +8255,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/spatie/flare-client-php/issues",
|
||||
"source": "https://github.com/spatie/flare-client-php/tree/1.4.4"
|
||||
"source": "https://github.com/spatie/flare-client-php/tree/1.5.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -8262,20 +8263,20 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2024-01-31T14:18:45+00:00"
|
||||
"time": "2024-05-03T15:43:14+00:00"
|
||||
},
|
||||
{
|
||||
"name": "spatie/ignition",
|
||||
"version": "1.14.0",
|
||||
"version": "1.14.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/spatie/ignition.git",
|
||||
"reference": "80385994caed328f6f9c9952926932e65b9b774c"
|
||||
"reference": "c23cc018c5f423d2f413b99f84655fceb6549811"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/spatie/ignition/zipball/80385994caed328f6f9c9952926932e65b9b774c",
|
||||
"reference": "80385994caed328f6f9c9952926932e65b9b774c",
|
||||
"url": "https://api.github.com/repos/spatie/ignition/zipball/c23cc018c5f423d2f413b99f84655fceb6549811",
|
||||
"reference": "c23cc018c5f423d2f413b99f84655fceb6549811",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -8345,20 +8346,20 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2024-04-26T08:45:51+00:00"
|
||||
"time": "2024-05-03T15:56:16+00:00"
|
||||
},
|
||||
{
|
||||
"name": "spatie/laravel-ignition",
|
||||
"version": "2.6.2",
|
||||
"version": "2.7.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/spatie/laravel-ignition.git",
|
||||
"reference": "42d986f4ab9d667020264a7481190a4606ebbeb0"
|
||||
"reference": "f52124d50122611e8a40f628cef5c19ff6cc5b57"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/42d986f4ab9d667020264a7481190a4606ebbeb0",
|
||||
"reference": "42d986f4ab9d667020264a7481190a4606ebbeb0",
|
||||
"url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/f52124d50122611e8a40f628cef5c19ff6cc5b57",
|
||||
"reference": "f52124d50122611e8a40f628cef5c19ff6cc5b57",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -8367,7 +8368,7 @@
|
||||
"ext-mbstring": "*",
|
||||
"illuminate/support": "^10.0|^11.0",
|
||||
"php": "^8.1",
|
||||
"spatie/flare-client-php": "^1.3.5",
|
||||
"spatie/flare-client-php": "^1.5",
|
||||
"spatie/ignition": "^1.14",
|
||||
"symfony/console": "^6.2.3|^7.0",
|
||||
"symfony/var-dumper": "^6.2.3|^7.0"
|
||||
@@ -8437,7 +8438,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2024-04-30T13:56:21+00:00"
|
||||
"time": "2024-05-02T13:42:49+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/yaml",
|
||||
|
8096
public/topCargo/assets/css/bootstrap.css
vendored
@@ -1177,7 +1177,7 @@ div.aligncenter,
|
||||
background-color: #161616;
|
||||
}
|
||||
.page-header h1 {
|
||||
color: #fff;
|
||||
color: #0a0a0a;
|
||||
text-transform: capitalize;
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
@@ -1192,7 +1192,7 @@ div.aligncenter,
|
||||
text-align: center;
|
||||
background-attachment: fixed;
|
||||
position: relative;
|
||||
background:url(../images/bg/page-header-bg.jpg) center center no-repeat fixed;background-size:cover;
|
||||
background:url(../images/bg/page-header-banner.png) center center no-repeat fixed;background-size:cover;
|
||||
}
|
||||
.page-header .breadcrumb-area {
|
||||
background-color: #fff;
|
||||
|
BIN
public/topCargo/assets/images/.DS_Store
vendored
Normal file
BIN
public/topCargo/assets/images/bg/.DS_Store
vendored
Normal file
BIN
public/topCargo/assets/images/bg/page-header-banner.jpg
Normal file
After Width: | Height: | Size: 190 KiB |
BIN
public/topCargo/assets/images/bg/page-header-banner.png
Normal file
After Width: | Height: | Size: 1.4 MiB |
BIN
public/topCargo/assets/images/chinasouthern.png
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
public/topCargo/assets/images/fit-cargo.png
Normal file
After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 397 KiB |
BIN
public/topCargo/assets/images/salamair.png
Normal file
After Width: | Height: | Size: 166 KiB |
9
public/topCargo/assets/js/bootstrap.min.js
vendored
@@ -5,4 +5,4 @@
|
||||
* Copyright (c) 2009 Michael Hixson
|
||||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
(function($){$.fn.appear=function(f,o){var s=$.extend({one:true},o);return this.each(function(){var t=$(this);t.appeared=false;if(!f){t.trigger('appear',s.data);return;}var w=$(window);var c=function(){if(!t.is(':visible')){t.appeared=false;return;}var a=w.scrollLeft();var b=w.scrollTop();var o=t.offset();var x=o.left;var y=o.top;if(y+t.height()>=b&&y<=b+w.height()&&x+t.width()>=a&&x<=a+w.width()){if(!t.appeared)t.trigger('appear',s.data);}else{t.appeared=false;}};var m=function(){t.appeared=true;if(s.one){w.unbind('scroll',c);var i=$.inArray(c,$.fn.appear.checks);if(i>=0)$.fn.appear.checks.splice(i,1);}f.apply(this,arguments);};if(s.one)t.one('appear',s.data,m);else t.bind('appear',s.data,m);w.scroll(c);$.fn.appear.checks.push(c);(c)();});};$.extend($.fn.appear,{checks:[],timeout:null,checkAll:function(){var l=$.fn.appear.checks.length;if(l>0)while(l--)($.fn.appear.checks[l])();},run:function(){if($.fn.appear.timeout)clearTimeout($.fn.appear.timeout);$.fn.appear.timeout=setTimeout($.fn.appear.checkAll,20);}});$.each(['append','prepend','after','before','attr','removeAttr','addClass','removeClass','toggleClass','remove','css','show','hide'],function(i,n){var u=$.fn[n];if(u){$.fn[n]=function(){var r=u.apply(this,arguments);$.fn.appear.run();return r;}}});})(jQuery);
|
||||
(function ($) { $.fn.appear = function (f, o) { var s = $.extend({ one: true }, o); return this.each(function () { var t = $(this); t.appeared = false; if (!f) { t.trigger('appear', s.data); return; } var w = $(window); var c = function () { if (!t.is(':visible')) { t.appeared = false; return; } var a = w.scrollLeft(); var b = w.scrollTop(); var o = t.offset(); var x = o.left; var y = o.top; if (y + t.height() >= b && y <= b + w.height() && x + t.width() >= a && x <= a + w.width()) { if (!t.appeared) t.trigger('appear', s.data); } else { t.appeared = false; } }; var m = function () { t.appeared = true; if (s.one) { w.unbind('scroll', c); var i = $.inArray(c, $.fn.appear.checks); if (i >= 0) $.fn.appear.checks.splice(i, 1); } f.apply(this, arguments); }; if (s.one) t.one('appear', s.data, m); else t.bind('appear', s.data, m); w.scroll(c); $.fn.appear.checks.push(c); (c)(); }); }; $.extend($.fn.appear, { checks: [], timeout: null, checkAll: function () { var l = $.fn.appear.checks.length; if (l > 0) while (l--) ($.fn.appear.checks[l])(); }, run: function () { if ($.fn.appear.timeout) clearTimeout($.fn.appear.timeout); $.fn.appear.timeout = setTimeout($.fn.appear.checkAll, 20); } }); $.each(['append', 'prepend', 'after', 'before', 'attr', 'removeAttr', 'addClass', 'removeClass', 'toggleClass', 'remove', 'css', 'show', 'hide'], function (i, n) { var u = $.fn[n]; if (u) { $.fn[n] = function () { var r = u.apply(this, arguments); $.fn.appear.run(); return r; } } }); })(jQuery);
|
@@ -3,14 +3,6 @@
|
||||
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/2.0.5/css/dataTables.dataTables.css" />
|
||||
@endpush
|
||||
@section('content')
|
||||
{{-- <style>
|
||||
.page-content {
|
||||
|
||||
background: url({{ asset('assets/images/admin-bg.jpg') }});
|
||||
background-size: contain;
|
||||
height:100vh;
|
||||
}
|
||||
</style> --}}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xl-3 col-md-6">
|
||||
@@ -21,11 +13,6 @@
|
||||
<div class="flex-grow-1 overflow-hidden">
|
||||
<p class="text-uppercase fw-medium text-muted text-truncate mb-0"> Articles</p>
|
||||
</div>
|
||||
{{-- <div class="flex-shrink-0">
|
||||
<h5 class="text-success fs-14 mb-0">
|
||||
<i class="ri-arrow-right-up-line fs-13 align-middle"></i> +16.24 %
|
||||
</h5>
|
||||
</div> --}}
|
||||
</div>
|
||||
<div class="d-flex align-items-end justify-content-between mt-4">
|
||||
<div>
|
||||
@@ -51,11 +38,6 @@
|
||||
<div class="flex-grow-1 overflow-hidden">
|
||||
<p class="text-uppercase fw-medium text-muted text-truncate mb-0">Teams</p>
|
||||
</div>
|
||||
{{-- <div class="flex-shrink-0">
|
||||
<h5 class="text-danger fs-14 mb-0">
|
||||
<i class="ri-arrow-right-down-line fs-13 align-middle"></i> -3.57 %
|
||||
</h5>
|
||||
</div> --}}
|
||||
</div>
|
||||
<div class="d-flex align-items-end justify-content-between mt-4">
|
||||
<div>
|
||||
|
@@ -89,25 +89,14 @@
|
||||
<div class="collapse menu-dropdown" id="sidebarMenu">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
{{MPCMS::createMenuLink("Company Articles",route('companyarticles.index'))}}
|
||||
{{-- {{MPCMS::createMenuLink("Recruitment Articles",route('recruitmentarticles.index'))}} --}}
|
||||
{{-- {{MPCMS::createMenuLink("Other Articles",route('otherarticles.index'))}} --}}
|
||||
{{MPCMS::createMenuLink("Services",route('services.index'))}}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
{{MPCMS::createMenuLink("Teams",route('teams.index'))}}
|
||||
{{-- {{MPCMS::createMenuLink("Countries",route('countries.index'))}}
|
||||
{{MPCMS::createMenuLink("Companies",route('companies.index'))}}
|
||||
{{MPCMS::createMenuLink("License & Permits",route('certificates.index'))}}
|
||||
{{MPCMS::createMenuLink("Job Categories",route('job_categories.index'))}}
|
||||
{{MPCMS::createMenuLink("Job Demands",route('jobdemands.index'))}}
|
||||
{{MPCMS::createMenuLink("Paper Demands",route('paperdemands.index'))}} --}}
|
||||
{{MPCMS::createMenuLink("Sliders",route('sliders.index'))}}
|
||||
{{-- {{MPCMS::createMenuLink("Image Galleries",route('galleries.index'))}}
|
||||
{{MPCMS::createMenuLink("Photos",route('photos.index'))}} --}}
|
||||
{{MPCMS::createMenuLink("News/Blogs",route('backendnews.index'))}}
|
||||
{{-- {{MPCMS::createMenuLink("Contact Details",route('contacts.index'))}} --}}
|
||||
{{MPCMS::createMenuLink("Testimonials",route('testimonials.index'))}}
|
||||
{{MPCMS::createMenuLink("Franchises",route('franchises.index'))}}
|
||||
{{MPCMS::createMenuLink("Partners",route('partners.index'))}}
|
||||
|
@@ -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 {
|
||||
|
@@ -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>
|
||||
|
@@ -76,7 +76,8 @@
|
||||
</ul>
|
||||
</li>
|
||||
@else
|
||||
<li><a @if($menuItem->title =="Quote") class = "fh-btn btn" style="color:white;"@endif href="{{ $menuItem->link }}">{{ $menuItem->title }}</a></li>
|
||||
<li><a @if ($menuItem->title == 'Quote') class = "fh-btn btn" style="color:white;" @endif
|
||||
href="{{ $menuItem->link }}">{{ $menuItem->title }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
</ul>
|
||||
@@ -84,12 +85,19 @@
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
{{-- <div class="col-xl-3 col-lg-3 col-md-3">
|
||||
<div class="headerarea__right">
|
||||
<div class="headerarea__button">
|
||||
<a href="{{ route('contact') }}">Contact Us</a>
|
||||
</div>
|
||||
</div>
|
||||
</div> --}}
|
||||
</div>
|
||||
<a href="#" class="navbar-toggle">
|
||||
{{-- <a href="#" class="navbar-toggle">
|
||||
<span class="navbar-icon">
|
||||
<span class="navbars-line"></span>
|
||||
</span>
|
||||
</a>
|
||||
</a> --}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -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>
|
||||
|
@@ -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,7 +66,7 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
@endforeach
|
||||
|
||||
@@ -81,29 +80,101 @@
|
||||
<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-4 ">
|
||||
<div class="fh-counter icon-type-none">
|
||||
<div class="counter">
|
||||
<div class="counter" style="padding-left: 86px;">
|
||||
<div class="value">30 years+</div>
|
||||
<h4>Experience</h4>
|
||||
</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="value">Current</div>
|
||||
{{-- <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">Previous</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>
|
||||
|
@@ -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();
|
||||
|
@@ -117,23 +117,6 @@
|
||||
@endif
|
||||
@empty
|
||||
@endforelse
|
||||
|
||||
{{-- <div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion"
|
||||
href="#collapseThree">
|
||||
Advanced Technology
|
||||
</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="collapseThree" class="panel-collapse collapse">
|
||||
<div class="panel-body">
|
||||
We leverage advanced technology and digital tools for efficient cargo tracking,
|
||||
real-time monitoring, and documentation management, providing our clients with
|
||||
visibility and control over their shipments. </div>
|
||||
</div>
|
||||
</div> --}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -1,14 +1,16 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Controllers\CustomfieldsController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::prefix("customfields")->group(function () {
|
||||
Route::get('/', [CustomfieldsController::class, 'index'])->name('customfields.index');
|
||||
Route::get('/create', [CustomfieldsController::class, 'create'])->name('customfields.create');
|
||||
Route::post('/store', [CustomfieldsController::class, 'store'])->name('customfields.store');
|
||||
Route::post('/sort', [CustomfieldsController::class, 'sort'])->name('customfields.sort');
|
||||
Route::post('/updatealias', [CustomfieldsController::class, 'updatealias'])->name('customfields.updatealias');
|
||||
Route::get('/show/{id}', [CustomfieldsController::class, 'show'])->name('customfields.show');
|
||||
Route::get('/edit/{id}', [CustomfieldsController::class, 'edit'])->name('customfields.edit') ;
|
||||
Route::post('/update/{id}', [CustomfieldsController::class, 'update'])->name('customfields.update');
|
||||
Route::delete('/destroy/{id}', [CustomfieldsController::class, 'destroy'])->name('customfields.destroy');
|
||||
});
|
||||
Route::get('/', [CustomfieldsController::class, 'index'])->name('customfields.index');
|
||||
Route::get('/create', [CustomfieldsController::class, 'create'])->name('customfields.create');
|
||||
Route::post('/store', [CustomfieldsController::class, 'store'])->name('customfields.store');
|
||||
Route::post('/sort', [CustomfieldsController::class, 'sort'])->name('customfields.sort');
|
||||
Route::post('/updatealias', [CustomfieldsController::class, 'updatealias'])->name('customfields.updatealias');
|
||||
Route::get('/show/{id}', [CustomfieldsController::class, 'show'])->name('customfields.show');
|
||||
Route::get('/edit/{id}', [CustomfieldsController::class, 'edit'])->name('customfields.edit');
|
||||
Route::post('/update/{id}', [CustomfieldsController::class, 'update'])->name('customfields.update');
|
||||
Route::delete('/destroy/{id}', [CustomfieldsController::class, 'destroy'])->name('customfields.destroy');
|
||||
});
|
||||
|
BIN
storage/app/public/files/1/SLIDER/slide01.jpg
Normal file
After Width: | Height: | Size: 6.6 MiB |
BIN
storage/app/public/files/1/SLIDER/slide2-4 (1).jpg
Normal file
After Width: | Height: | Size: 242 KiB |
BIN
storage/app/public/files/1/SLIDER/slide3-4 (1).jpg
Normal file
After Width: | Height: | Size: 235 KiB |
BIN
storage/app/public/files/1/SLIDER/slide3-4.jpg
Normal file
After Width: | Height: | Size: 235 KiB |
BIN
storage/app/public/files/1/slide1-3.jpg
Normal file
After Width: | Height: | Size: 168 KiB |
BIN
storage/app/public/files/1/team-5.jpg
Normal file
After Width: | Height: | Size: 16 KiB |