From e30dade7e7e3f5bb9335d62e81855127df2e7bc4 Mon Sep 17 00:00:00 2001 From: Aksai Date: Fri, 16 Feb 2024 17:48:14 +0000 Subject: [PATCH] Updated icon in the navbar and change to use as blade component --- composer.json | 1 + composer.lock | 155 +++++++++++++++++++++- resources/views/partials/navbar.blade.php | 9 +- 3 files changed, 157 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 8a3d72d..403032a 100644 --- a/composer.json +++ b/composer.json @@ -6,6 +6,7 @@ "license": "MIT", "require": { "php": "^8.1", + "codeat3/blade-game-icons": "^1.3", "guzzlehttp/guzzle": "^7.2", "laravel/framework": "^10.10", "laravel/sanctum": "^3.3", diff --git a/composer.lock b/composer.lock index d508960..f2ae170 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,89 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "9c491b8531eec05ba41a11d9276a5749", + "content-hash": "fd6bb9c7e710e301fcbe720a9ede93fb", "packages": [ + { + "name": "blade-ui-kit/blade-icons", + "version": "1.6.0", + "source": { + "type": "git", + "url": "https://github.com/blade-ui-kit/blade-icons.git", + "reference": "89660d93f9897d231e9113ba203cd17f4c5efade" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/blade-ui-kit/blade-icons/zipball/89660d93f9897d231e9113ba203cd17f4c5efade", + "reference": "89660d93f9897d231e9113ba203cd17f4c5efade", + "shasum": "" + }, + "require": { + "illuminate/contracts": "^8.0|^9.0|^10.0|^11.0", + "illuminate/filesystem": "^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^8.0|^9.0|^10.0|^11.0", + "illuminate/view": "^8.0|^9.0|^10.0|^11.0", + "php": "^7.4|^8.0", + "symfony/console": "^5.3|^6.0|^7.0", + "symfony/finder": "^5.3|^6.0|^7.0" + }, + "require-dev": { + "mockery/mockery": "^1.5.1", + "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0", + "phpunit/phpunit": "^9.0|^10.5|^11.0" + }, + "bin": [ + "bin/blade-icons-generate" + ], + "type": "library", + "extra": { + "laravel": { + "providers": [ + "BladeUI\\Icons\\BladeIconsServiceProvider" + ] + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "BladeUI\\Icons\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Dries Vints", + "homepage": "https://driesvints.com" + } + ], + "description": "A package to easily make use of icons in your Laravel Blade views.", + "homepage": "https://github.com/blade-ui-kit/blade-icons", + "keywords": [ + "blade", + "icons", + "laravel", + "svg" + ], + "support": { + "issues": "https://github.com/blade-ui-kit/blade-icons/issues", + "source": "https://github.com/blade-ui-kit/blade-icons" + }, + "funding": [ + { + "url": "https://github.com/sponsors/driesvints", + "type": "github" + }, + { + "url": "https://www.paypal.com/paypalme/driesvints", + "type": "paypal" + } + ], + "time": "2024-02-07T16:09:20+00:00" + }, { "name": "brick/math", "version": "0.11.0", @@ -130,6 +211,78 @@ ], "time": "2023-12-11T17:09:12+00:00" }, + { + "name": "codeat3/blade-game-icons", + "version": "1.3.0", + "source": { + "type": "git", + "url": "https://github.com/codeat3/blade-game-icons.git", + "reference": "164c1f0b4cce2a4ff9dd6113003ecf307106f33c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/codeat3/blade-game-icons/zipball/164c1f0b4cce2a4ff9dd6113003ecf307106f33c", + "reference": "164c1f0b4cce2a4ff9dd6113003ecf307106f33c", + "shasum": "" + }, + "require": { + "blade-ui-kit/blade-icons": "^1.1", + "illuminate/support": "^8.0|^9.0|^10.0", + "php": "^7.4|^8.0" + }, + "require-dev": { + "codeat3/blade-icon-generation-helpers": "^0.3", + "codeat3/phpcs-styles": "^1.0", + "orchestra/testbench": "^6.0|^7.0|^8.0", + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Codeat3\\BladeGameIcons\\BladeGameIconsServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Codeat3\\BladeGameIcons\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Swapnil Sarwe", + "homepage": "https://swapnilsarwe.com" + }, + { + "name": "Dries Vints", + "homepage": "https://driesvints.com" + } + ], + "description": "A package to easily make use of Game Icons in your Laravel Blade views.", + "homepage": "https://github.com/codeat3/blade-game-icons", + "keywords": [ + "Game Icons", + "blade", + "icons", + "laravel" + ], + "support": { + "issues": "https://github.com/codeat3/blade-game-icons/issues", + "source": "https://github.com/codeat3/blade-game-icons/tree/1.3.0" + }, + "funding": [ + { + "url": "https://github.com/swapnilsarwe", + "type": "github" + } + ], + "time": "2023-02-18T14:51:36+00:00" + }, { "name": "dflydev/dot-access-data", "version": "v3.0.2", diff --git a/resources/views/partials/navbar.blade.php b/resources/views/partials/navbar.blade.php index 8e50cd9..91bbe76 100644 --- a/resources/views/partials/navbar.blade.php +++ b/resources/views/partials/navbar.blade.php @@ -2,14 +2,9 @@