Skip to content

Commit 35542ca

Browse files
feat: Laravel 9 Support (#18)
* feat: Laravel 9 support added * fix: bootstrap added in npm packages * fix: logo fixes * fix: packages fixes * fix: home route always comes active fix
1 parent fcf3cb9 commit 35542ca

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

adminlte-stubs/layouts/app.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
<ul class="navbar-nav ml-auto">
3131
<li class="nav-item dropdown user-menu">
3232
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">
33-
<img src="https://infyom.com/images/logo/blue_logo_150x150.jpg"
33+
<img src="https://assets.infyom.com/logo/blue_logo_150x150.png"
3434
class="user-image img-circle elevation-2" alt="User Image">
3535
<span class="d-none d-md-inline">{{ Auth::user()->name }}</span>
3636
</a>
3737
<ul class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
3838
<!-- User image -->
3939
<li class="user-header bg-primary">
40-
<img src="https://infyom.com/images/logo/blue_logo_150x150.jpg"
40+
<img src="https://assets.infyom.com/logo/blue_logo_150x150.png"
4141
class="img-circle elevation-2"
4242
alt="User Image">
4343
<p>

adminlte-stubs/layouts/menu.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- need to remove -->
22
<li class="nav-item">
3-
<a href="{{ route('home') }}" class="nav-link active">
3+
<a href="{{ route('home') }}" class="nav-link {{ Request::is('home') ? 'active' : '' }}">
44
<i class="nav-icon fas fa-home"></i>
55
<p>Home</p>
66
</a>

adminlte-stubs/layouts/sidebar.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<aside class="main-sidebar sidebar-dark-primary elevation-4">
22
<a href="{{ route('home') }}" class="brand-link">
3-
<img src="https://infyom.com/images/logo/blue_logo_150x150.jpg"
3+
<img src="https://assets.infyom.com/logo/blue_logo_150x150.png"
44
alt="AdminLTE Logo"
55
class="brand-image img-circle elevation-3">
66
<span class="brand-text font-weight-light">{{ config('app.name') }}</span>

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
}
1616
],
1717
"require": {
18-
"php": "^7.3|^8.0",
19-
"illuminate/support": "^8.0",
20-
"infyomlabs/laravel-generator-helpers": "^3.0",
18+
"php": "^8.0",
19+
"illuminate/support": "^9.0",
20+
"infyomlabs/laravel-generator-helpers": "4.x-dev",
2121
"laravel/ui": "^3.0"
2222
},
2323
"autoload": {

src/AdminLTEPreset.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ public function __construct(Command $command, $isFortify = false)
3333
protected static function updatePackageArray(array $packages)
3434
{
3535
return [
36-
'bootstrap' => '^4.0.0',
37-
'jquery' => '^3.2',
38-
'popper.js' => '^1.12',
39-
'admin-lte' => '^3.0',
36+
'bootstrap' => '^4.6.0',
37+
'jquery' => '^3.6',
38+
'popper.js' => '^1.16.1',
39+
'admin-lte' => '3.1.0',
4040
'sass' => '^1.15.2',
4141
'sass-loader' => '^8.0.0',
4242
] + $packages;

0 commit comments

Comments
 (0)