From a36511491414cf02664db652642ca513588c91c1 Mon Sep 17 00:00:00 2001 From: Mahesh Sharma Date: Thu, 15 Dec 2022 11:12:34 +0545 Subject: [PATCH] changes --- composer.json | 1 + composer.lock | 152 ++++++++++++++++++++++++++- public/frontend/.DS_Store | Bin 8196 -> 10244 bytes resources/views/layout/app.blade.php | 4 +- resources/views/news.blade.php | 4 +- resources/views/welcome.blade.php | 4 +- storage/debugbar/.gitignore | 2 + 7 files changed, 160 insertions(+), 7 deletions(-) create mode 100644 storage/debugbar/.gitignore diff --git a/composer.json b/composer.json index a8a055e..0eb4fa1 100644 --- a/composer.json +++ b/composer.json @@ -13,6 +13,7 @@ "laravelcollective/html": "^6.3" }, "require-dev": { + "barryvdh/laravel-debugbar": "^3.7", "fakerphp/faker": "^1.9.1", "laravel/pint": "^1.0", "laravel/sail": "^1.0.1", diff --git a/composer.lock b/composer.lock index 560c156..767cab4 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f70c81adf2990f185a8632535bd08631", + "content-hash": "2e3fd67addcebfe7c48fe46b95231470", "packages": [ { "name": "brick/math", @@ -5450,6 +5450,90 @@ } ], "packages-dev": [ + { + "name": "barryvdh/laravel-debugbar", + "version": "v3.7.0", + "source": { + "type": "git", + "url": "https://github.com/barryvdh/laravel-debugbar.git", + "reference": "3372ed65e6d2039d663ed19aa699956f9d346271" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/3372ed65e6d2039d663ed19aa699956f9d346271", + "reference": "3372ed65e6d2039d663ed19aa699956f9d346271", + "shasum": "" + }, + "require": { + "illuminate/routing": "^7|^8|^9", + "illuminate/session": "^7|^8|^9", + "illuminate/support": "^7|^8|^9", + "maximebf/debugbar": "^1.17.2", + "php": ">=7.2.5", + "symfony/finder": "^5|^6" + }, + "require-dev": { + "mockery/mockery": "^1.3.3", + "orchestra/testbench-dusk": "^5|^6|^7", + "phpunit/phpunit": "^8.5|^9.0", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.6-dev" + }, + "laravel": { + "providers": [ + "Barryvdh\\Debugbar\\ServiceProvider" + ], + "aliases": { + "Debugbar": "Barryvdh\\Debugbar\\Facades\\Debugbar" + } + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Barryvdh\\Debugbar\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Barry vd. Heuvel", + "email": "barryvdh@gmail.com" + } + ], + "description": "PHP Debugbar integration for Laravel", + "keywords": [ + "debug", + "debugbar", + "laravel", + "profiler", + "webprofiler" + ], + "support": { + "issues": "https://github.com/barryvdh/laravel-debugbar/issues", + "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.7.0" + }, + "funding": [ + { + "url": "https://fruitcake.nl", + "type": "custom" + }, + { + "url": "https://github.com/barryvdh", + "type": "github" + } + ], + "time": "2022-07-11T09:26:42+00:00" + }, { "name": "doctrine/instantiator", "version": "1.4.1", @@ -5835,6 +5919,72 @@ }, "time": "2022-11-21T16:19:18+00:00" }, + { + "name": "maximebf/debugbar", + "version": "v1.18.1", + "source": { + "type": "git", + "url": "https://github.com/maximebf/php-debugbar.git", + "reference": "ba0af68dd4316834701ecb30a00ce9604ced3ee9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/ba0af68dd4316834701ecb30a00ce9604ced3ee9", + "reference": "ba0af68dd4316834701ecb30a00ce9604ced3ee9", + "shasum": "" + }, + "require": { + "php": "^7.1|^8", + "psr/log": "^1|^2|^3", + "symfony/var-dumper": "^2.6|^3|^4|^5|^6" + }, + "require-dev": { + "phpunit/phpunit": "^7.5.20 || ^9.4.2", + "twig/twig": "^1.38|^2.7|^3.0" + }, + "suggest": { + "kriswallsmith/assetic": "The best way to manage assets", + "monolog/monolog": "Log using Monolog", + "predis/predis": "Redis storage" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.18-dev" + } + }, + "autoload": { + "psr-4": { + "DebugBar\\": "src/DebugBar/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Maxime Bouroumeau-Fuseau", + "email": "maxime.bouroumeau@gmail.com", + "homepage": "http://maximebf.com" + }, + { + "name": "Barry vd. Heuvel", + "email": "barryvdh@gmail.com" + } + ], + "description": "Debug bar in the browser for php application", + "homepage": "https://github.com/maximebf/php-debugbar", + "keywords": [ + "debug", + "debugbar" + ], + "support": { + "issues": "https://github.com/maximebf/php-debugbar/issues", + "source": "https://github.com/maximebf/php-debugbar/tree/v1.18.1" + }, + "time": "2022-03-31T14:55:54+00:00" + }, { "name": "mockery/mockery", "version": "1.5.1", diff --git a/public/frontend/.DS_Store b/public/frontend/.DS_Store index 1f1a69e7e8a690d5dc54f0f69f8cff3aa5afb83c..c9abab3fc955fc2b9463ea2fb4b3b73eee0c06bf 100644 GIT binary patch delta 913 zcmdUtO-PhM7{{OAEV?TizQ*pVrM0;bLW{0Rv4;*@k(Ci{teAa3fvxqH?W(K0C4@>+ z6b0#9U5z68IFz>CDx;__5mH2u5%h^3y7U1dlr?XHo%7bf%zvJFW|*1Z^Y07yMT$g( zRh_%4M0|Sc(%n`gufNUPU$H3PsRMK@l59z)RuAvI9K9yPmS)+zVF1v`wnDKnO?Ywa)-@nl1+J*m|n4(emNWu6supwdHDz+2kwo?e?7 z(a$KA#S)UR)JwCzpjS@Fpxl%@G9pjpg}jw<`7Dz%1t=Wk;h~TsiYcR#Dwa~s3f8fn zTB02}D?ad%aVGf6 z4}LPG3{|Y=srjlxRjQC$scKc7idbcCf6iYb5%)h5@q3)JB=S_o50{qnV delta 126 zcmZn(XmOBWU|?W$DortDU;r^WfEYvza8E20o2aKK$O4iF@);OX8H$t2iwic!Eoa}% z&cVXL$THbhY(9sPxtWfFv5EQSCt@M&g3LhWKp?>lBwRtpY%KiFJegl5kOOE4$Z&?q N@jO#E>q)aS0{~DI79{`x diff --git a/resources/views/layout/app.blade.php b/resources/views/layout/app.blade.php index 52cee9a..313024f 100644 --- a/resources/views/layout/app.blade.php +++ b/resources/views/layout/app.blade.php @@ -215,7 +215,7 @@ navHeader.classList.add("header-scroll"); } - if(window.scrollY==0 && location.pathname != '/news/our-training-programme-based-on-occupational-training-allows-students-to-improve-their-skills-for-th'){ + if(window.scrollY==0 && location.pathname != '/news/chefs-are-now-included-on-the-list-of-priority-skilled-migrants'){ navHeader.classList.remove("header-scroll"); } if(window.scrollY==0 && location.pathname != '/news/186-trt-pathway-permanent-residency-applications-for-457-and-482-in-the-short-term-stream'){ @@ -235,7 +235,7 @@ } } - if(location.pathname === '/news/our-training-programme-based-on-occupational-training-allows-students-to-improve-their-skills-for-th'){ + if(location.pathname === '/news/chefs-are-now-included-on-the-list-of-priority-skilled-migrants'){ navHeader.classList.add("header-scroll"); } if(location.pathname === '/news/186-trt-pathway-permanent-residency-applications-for-457-and-482-in-the-short-term-stream'){ diff --git a/resources/views/news.blade.php b/resources/views/news.blade.php index 396461a..5487713 100644 --- a/resources/views/news.blade.php +++ b/resources/views/news.blade.php @@ -35,7 +35,7 @@ @@ -50,7 +50,7 @@

{{$news->title}}

-

{!!strip_tags(\Illuminate\Support\Str::limit($news->description, 150, $end='...'))!!}

+

{!!(\Illuminate\Support\Str::limit(strip_tags($news->description), 150, $end='...'))!!}

diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index 05fffd8..47a799e 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -71,7 +71,7 @@
  • Pathway to Parmanent
  • You are our first Priority
  • - View More + View More @@ -194,7 +194,7 @@

    {{\Illuminate\Support\Str::limit($news->title, 20, $end='...')}}

    -

    {!!strip_tags(\Illuminate\Support\Str::limit($news->description, 60, $end='...'))!!}

    +

    {!!(\Illuminate\Support\Str::limit(strip_tags($news->description), 50, $end='...'))!!}

    @endforeach diff --git a/storage/debugbar/.gitignore b/storage/debugbar/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/storage/debugbar/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore