feat(icons): install blade-heroicons + render <x-heroicon-o-academic-cap> in dashboard (AC-13)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
main
Boban Blaskovic 2026-05-22 06:28:19 +02:00
parent f4e3c2e6bf
commit 934cc03367
3 changed files with 74 additions and 2 deletions

View File

@ -7,6 +7,7 @@
"license": "MIT", "license": "MIT",
"require": { "require": {
"php": "^8.3", "php": "^8.3",
"blade-ui-kit/blade-heroicons": "^2.7",
"blade-ui-kit/blade-icons": "^1.10", "blade-ui-kit/blade-icons": "^1.10",
"laravel/framework": "^13.8", "laravel/framework": "^13.8",
"laravel/reverb": "^1.10", "laravel/reverb": "^1.10",

71
composer.lock generated
View File

@ -4,8 +4,77 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "cf94f6f4c14da74bca93bd221ef26b9a", "content-hash": "bdd78351d73171465c3922dafb001ba4",
"packages": [ "packages": [
{
"name": "blade-ui-kit/blade-heroicons",
"version": "2.7.0",
"source": {
"type": "git",
"url": "https://github.com/driesvints/blade-heroicons.git",
"reference": "66fa8ba09dba12e0cdb410b8cb94f3b890eca440"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/driesvints/blade-heroicons/zipball/66fa8ba09dba12e0cdb410b8cb94f3b890eca440",
"reference": "66fa8ba09dba12e0cdb410b8cb94f3b890eca440",
"shasum": ""
},
"require": {
"blade-ui-kit/blade-icons": "^1.6",
"illuminate/support": "^9.0|^10.0|^11.0|^12.0|^13.0",
"php": "^8.0"
},
"require-dev": {
"orchestra/testbench": "^7.0|^8.0|^9.0|^10.0|^11.0",
"phpunit/phpunit": "^9.0|^10.5|^11.0|^12.0"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"BladeUI\\Heroicons\\BladeHeroiconsServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"BladeUI\\Heroicons\\": "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 Heroicons in your Laravel Blade views.",
"homepage": "https://github.com/driesvints/blade-heroicons",
"keywords": [
"Heroicons",
"blade",
"laravel"
],
"support": {
"issues": "https://github.com/driesvints/blade-heroicons/issues",
"source": "https://github.com/driesvints/blade-heroicons/tree/2.7.0"
},
"funding": [
{
"url": "https://github.com/sponsors/driesvints",
"type": "github"
},
{
"url": "https://www.paypal.com/paypalme/driesvints",
"type": "paypal"
}
],
"time": "2026-03-16T13:00:23+00:00"
},
{ {
"name": "blade-ui-kit/blade-icons", "name": "blade-ui-kit/blade-icons",
"version": "1.10.0", "version": "1.10.0",

View File

@ -3,6 +3,8 @@
<h1 class="text-3xl font-bold text-[--color-text-primary] mb-4"> <h1 class="text-3xl font-bold text-[--color-text-primary] mb-4">
{{ __('Willkommen') }}, {{ auth()->user()->name }} {{ __('Willkommen') }}, {{ auth()->user()->name }}
</h1> </h1>
<p class="text-[--color-text-secondary]">Lernschiff MVP-1</p> <p class="text-[--color-text-secondary] flex items-center gap-2">
<x-heroicon-o-academic-cap class="w-5 h-5" /> Lernschiff MVP-1
</p>
</div> </div>
</x-layouts.app> </x-layouts.app>