upd: gitignore

This commit is contained in:
Rico van Zelst
2023-11-07 20:30:35 +01:00
parent 8751c6dd1a
commit 1e974ee614
5 changed files with 380 additions and 31 deletions

2
.gitignore vendored
View File

@@ -17,3 +17,5 @@ yarn-error.log
/.fleet /.fleet
/.idea /.idea
/.vscode /.vscode
_ide_helper.php
.phpstorm.meta.php

View File

@@ -7,12 +7,14 @@
"require": { "require": {
"php": "^8.1", "php": "^8.1",
"anhskohbo/no-captcha": "^3.5", "anhskohbo/no-captcha": "^3.5",
"blade-ui-kit/blade-icons": "^1.5",
"cviebrock/eloquent-sluggable": "^10.0", "cviebrock/eloquent-sluggable": "^10.0",
"dolejska-daniel/riot-api": "^5", "dolejska-daniel/riot-api": "^5",
"guzzlehttp/guzzle": "^7.2", "guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.10", "laravel/framework": "^10.10",
"laravel/sanctum": "^3.2", "laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8", "laravel/tinker": "^2.8",
"saade/blade-iconsax": "^1.1",
"spatie/laravel-backup": "^8.3" "spatie/laravel-backup": "^8.3"
}, },
"require-dev": { "require-dev": {

141
composer.lock generated
View File

@@ -4,7 +4,7 @@
"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": "0cd7fe5abd8a75018d8e32389c6d2e83", "content-hash": "3cf6f4de24fb85d3c45a641a3d4e7b73",
"packages": [ "packages": [
{ {
"name": "anhskohbo/no-captcha", "name": "anhskohbo/no-captcha",
@@ -70,6 +70,87 @@
}, },
"time": "2023-02-15T16:07:08+00:00" "time": "2023-02-15T16:07:08+00:00"
}, },
{
"name": "blade-ui-kit/blade-icons",
"version": "1.5.3",
"source": {
"type": "git",
"url": "https://github.com/blade-ui-kit/blade-icons.git",
"reference": "b5e6603218e2347ac81cb780bc6f71c8c3b31f5b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/blade-ui-kit/blade-icons/zipball/b5e6603218e2347ac81cb780bc6f71c8c3b31f5b",
"reference": "b5e6603218e2347ac81cb780bc6f71c8c3b31f5b",
"shasum": ""
},
"require": {
"illuminate/contracts": "^8.0|^9.0|^10.0",
"illuminate/filesystem": "^8.0|^9.0|^10.0",
"illuminate/support": "^8.0|^9.0|^10.0",
"illuminate/view": "^8.0|^9.0|^10.0",
"php": "^7.4|^8.0",
"symfony/console": "^5.3|^6.0",
"symfony/finder": "^5.3|^6.0"
},
"require-dev": {
"mockery/mockery": "^1.3",
"orchestra/testbench": "^6.0|^7.0|^8.0",
"phpunit/phpunit": "^9.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": "2023-10-18T10:50:13+00:00"
},
{ {
"name": "brick/math", "name": "brick/math",
"version": "0.11.0", "version": "0.11.0",
@@ -3618,6 +3699,64 @@
], ],
"time": "2023-04-15T23:01:58+00:00" "time": "2023-04-15T23:01:58+00:00"
}, },
{
"name": "saade/blade-iconsax",
"version": "v1.1.0",
"source": {
"type": "git",
"url": "https://github.com/saade/blade-iconsax.git",
"reference": "61ee556799b7888b892a0c4d49325b5d0693f9aa"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/saade/blade-iconsax/zipball/61ee556799b7888b892a0c4d49325b5d0693f9aa",
"reference": "61ee556799b7888b892a0c4d49325b5d0693f9aa",
"shasum": ""
},
"require": {
"blade-ui-kit/blade-icons": "^1.1",
"illuminate/support": "^9.0|^10.0",
"php": "^8.0"
},
"require-dev": {
"orchestra/testbench": "^7.0|^8.0",
"phpunit/phpunit": "^9.0"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"Saade\\BladeIconsax\\BladeIconsaxServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"Saade\\BladeIconsax\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Saade"
}
],
"description": "A package to easily make use of Iconsax in your Laravel Blade views.",
"homepage": "https://github.com/saade/blade-iconsax",
"keywords": [
"Iconsax",
"blade",
"laravel"
],
"support": {
"issues": "https://github.com/saade/blade-iconsax/issues",
"source": "https://github.com/saade/blade-iconsax/tree/v1.1.0"
},
"time": "2023-02-17T13:23:26+00:00"
},
{ {
"name": "spatie/db-dumper", "name": "spatie/db-dumper",
"version": "3.4.0", "version": "3.4.0",

183
config/blade-icons.php Normal file
View File

@@ -0,0 +1,183 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Icons Sets
|--------------------------------------------------------------------------
|
| With this config option you can define a couple of
| default icon sets. Provide a key name for your icon
| set and a combination from the options below.
|
*/
'sets' => [
// 'default' => [
//
// /*
// |-----------------------------------------------------------------
// | Icons Path
// |-----------------------------------------------------------------
// |
// | Provide the relative path from your app root to your SVG icons
// | directory. Icons are loaded recursively so there's no need to
// | list every sub-directory.
// |
// | Relative to the disk root when the disk option is set.
// |
// */
//
// 'path' => 'resources/svg',
//
// /*
// |-----------------------------------------------------------------
// | Filesystem Disk
// |-----------------------------------------------------------------
// |
// | Optionally, provide a specific filesystem disk to read
// | icons from. When defining a disk, the "path" option
// | starts relatively from the disk root.
// |
// */
//
// 'disk' => '',
//
// /*
// |-----------------------------------------------------------------
// | Default Prefix
// |-----------------------------------------------------------------
// |
// | This config option allows you to define a default prefix for
// | your icons. The dash separator will be applied automatically
// | to every icon name. It's required and needs to be unique.
// |
// */
//
// 'prefix' => 'icon',
//
// /*
// |-----------------------------------------------------------------
// | Fallback Icon
// |-----------------------------------------------------------------
// |
// | This config option allows you to define a fallback
// | icon when an icon in this set cannot be found.
// |
// */
//
// 'fallback' => '',
//
// /*
// |-----------------------------------------------------------------
// | Default Set Classes
// |-----------------------------------------------------------------
// |
// | This config option allows you to define some classes which
// | will be applied by default to all icons within this set.
// |
// */
//
// 'class' => '',
//
// /*
// |-----------------------------------------------------------------
// | Default Set Attributes
// |-----------------------------------------------------------------
// |
// | This config option allows you to define some attributes which
// | will be applied by default to all icons within this set.
// |
// */
//
// 'attributes' => [
// // 'width' => 50,
// // 'height' => 50,
// ],
//
// ],
],
/*
|--------------------------------------------------------------------------
| Global Default Classes
|--------------------------------------------------------------------------
|
| This config option allows you to define some classes which
| will be applied by default to all icons.
|
*/
'class' => '',
/*
|--------------------------------------------------------------------------
| Global Default Attributes
|--------------------------------------------------------------------------
|
| This config option allows you to define some attributes which
| will be applied by default to all icons.
|
*/
'attributes' => [
// 'width' => 50,
// 'height' => 50,
],
/*
|--------------------------------------------------------------------------
| Global Fallback Icon
|--------------------------------------------------------------------------
|
| This config option allows you to define a global fallback
| icon when an icon in any set cannot be found. It can
| reference any icon from any configured set.
|
*/
'fallback' => '',
/*
|--------------------------------------------------------------------------
| Components
|--------------------------------------------------------------------------
|
| These config options allow you to define some
| settings related to Blade Components.
|
*/
'components' => [
/*
|----------------------------------------------------------------------
| Disable Components
|----------------------------------------------------------------------
|
| This config option allows you to disable Blade components
| completely. It's useful to avoid performance problems
| when working with large icon libraries.
|
*/
'disabled' => false,
/*
|----------------------------------------------------------------------
| Default Icon Component Name
|----------------------------------------------------------------------
|
| This config option allows you to define the name
| for the default Icon class component.
|
*/
'default' => 'icon',
],
];

View File

@@ -6,7 +6,9 @@
<span class="sr-only">Home</span> <span class="sr-only">Home</span>
</a> </a>
<button data-collapse-toggle="navbar-default" type="button" <button data-collapse-toggle="navbar-default" type="button"
class="inline-flex items-center justify-center w-10 h-10 p-2 text-sm rounded-lg text-stone-500 md:hidden hover:bg-stone-100 focus:outline-none focus:ring-2 focus:ring-stone-200 dark:text-stone-400 dark:hover:bg-stone-700 dark:focus:ring-stone-600" class="inline-flex items-center justify-center w-10 h-10 p-2 text-sm rounded-lg text-stone-500
md:hidden hover:bg-stone-100 focus:outline-none focus:ring-2 focus:ring-stone-200 dark:text-stone-400
dark:hover:bg-stone-700 dark:focus:ring-stone-600"
aria-controls="navbar-default" aria-expanded="false"> aria-controls="navbar-default" aria-expanded="false">
<span class="sr-only">Open main menu</span> <span class="sr-only">Open main menu</span>
<svg class="w-5 h-5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" <svg class="w-5 h-5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none"
@@ -17,38 +19,59 @@
</button> </button>
<div id="navbar-default" class="hidden w-full md:block md:w-auto"> <div id="navbar-default" class="hidden w-full md:block md:w-auto">
<ul <ul
class="flex flex-col p-4 mt-4 font-medium border rounded-lg border-stone-100 md:p-0 bg-stone-50 md:flex-row md:space-x-8 md:mt-0 md:border-0 md:bg-white dark:bg-stone-800 md:dark:bg-stone-800 dark:border-stone-700"> class="flex flex-col p-2 mt-4 font-medium border rounded-lg border-stone-100 md:p-0 bg-stone-50
md:flex-row md:space-x-6 md:mt-0 md:border-0 md:bg-white dark:bg-stone-800 md:dark:bg-stone-800
dark:border-stone-700">
<li> <li>
<a href="/champions" <a href="/champions"
class="block py-2 pl-3 pr-4 rounded text-stone-800 hover:bg-stone-100 md:hover:bg-transparent md:border-0 md:hover:text-orange-500 md:p-0 dark:text-white md:dark:hover:text-orange-400 dark:hover:bg-stone-700 dark:hover:text-white md:dark:hover:bg-transparent"> class="flex py-2 pl-3 pr-2 rounded text-stone-800 hover:bg-stone-100 md:hover:bg-transparent
<i class="fa-duotone fa-users"></i></i> Champions</a> md:border-0 md:hover:text-orange-500 md:p-0 dark:text-white md:dark:hover:text-orange-400
</li> dark:hover:bg-stone-700 dark:hover:text-white md:dark:hover:bg-transparent">
<li>
<a href="#"
class="block py-2 pl-3 pr-4 rounded text-stone-800 hover:bg-stone-100 md:hover:bg-transparent md:border-0 md:hover:text-orange-500 md:p-0 dark:text-white md:dark:hover:text-orange-400 dark:hover:bg-stone-700 dark:hover:text-white md:dark:hover:bg-transparent">
<i class="fa-duotone fa-palette"></i></i> Skins</a>
</li>
<li>
<a href="#"
class="block py-2 pl-3 pr-4 rounded text-stone-800 hover:bg-stone-100 md:hover:bg-transparent md:border-0 md:hover:text-orange-500 md:p-0 dark:text-white md:dark:hover:text-orange-400 dark:hover:bg-stone-700 dark:hover:text-white md:dark:hover:bg-transparent">
<i class="fa-duotone fa-cubes"></i> Assets</a>
</li>
<li>
<a href="#"
class="block py-2 pl-3 pr-4 rounded text-stone-800 hover:bg-stone-100 md:hover:bg-transparent md:border-0 md:hover:text-orange-500 md:p-0 dark:text-white md:dark:hover:text-orange-400 dark:hover:bg-stone-700 dark:hover:text-white md:dark:hover:bg-transparent">
<i class="fa-duotone fa-credit-card"></i> Sale Rotation</a>
</li>
<li>
<a href="#"
class="block py-2 pl-3 pr-4 rounded text-stone-800 hover:bg-stone-100 md:hover:bg-transparent md:border-0 md:hover:text-orange-500 md:p-0 dark:text-white md:dark:hover:text-orange-400 dark:hover:bg-stone-700 dark:hover:text-white md:dark:hover:bg-transparent">
<i class="fa-duotone fa-newspaper"></i> Posts</a>
</li>
<li>
<a href="#"
class="block py-2 pl-3 pr-4 rounded text-stone-800 hover:bg-stone-100 md:hover:bg-transparent md:border-0 md:hover:text-orange-500 md:p-0 dark:text-white md:dark:hover:text-orange-400 dark:hover:bg-stone-700 dark:hover:text-white md:dark:hover:bg-transparent">
<i class="fa-duotone fa-circle-info"></i></i> About</a>
</li>
<x-iconsax-bul-people class="w-6 h-6 mr-1"/>
Champions</a>
</li>
<li>
<a href="#"
class="flex py-2 pl-3 pr-2 rounded text-stone-800 hover:bg-stone-100 md:hover:bg-transparent
md:border-0 md:hover:text-orange-500 md:p-0 dark:text-white md:dark:hover:text-orange-400
dark:hover:bg-stone-700 dark:hover:text-white md:dark:hover:bg-transparent">
<x-iconsax-bul-brush-2 class="w-6 h-6 mr-1"/>
Skins</a>
</li>
<li>
<a href="#"
class="flex py-2 pl-3 pr-2 rounded text-stone-800 hover:bg-stone-100 md:hover:bg-transparent
md:border-0 md:hover:text-orange-500 md:p-0 dark:text-white md:dark:hover:text-orange-400
dark:hover:bg-stone-700 dark:hover:text-white md:dark:hover:bg-transparent">
<x-iconsax-bul-3dcube class="w-6 h-6 mr-1"/>
Assets</a>
</li>
<li>
<a href="#"
class="flex py-2 pl-3 pr-2 rounded text-stone-800 hover:bg-stone-100 md:hover:bg-transparent
md:border-0 md:hover:text-orange-500 md:p-0 dark:text-white md:dark:hover:text-orange-400
dark:hover:bg-stone-700 dark:hover:text-white md:dark:hover:bg-transparent">
<x-iconsax-bul-card class="w-6 h-6 mr-1"/>
Sale Rotation</a>
</li>
<li>
<a href="#"
class="flex py-2 pl-3 pr-2 rounded text-stone-800 hover:bg-stone-100 md:hover:bg-transparent
md:border-0 md:hover:text-orange-500 md:p-0 dark:text-white md:dark:hover:text-orange-400
dark:hover:bg-stone-700 dark:hover:text-white md:dark:hover:bg-transparent">
<x-iconsax-bul-receipt-search class="w-6 h-6 mr-1"/>
Posts</a>
</li>
<li>
<a href="#"
class="flex py-2 pl-3 pr-2 rounded text-stone-800 hover:bg-stone-100 md:hover:bg-transparent
md:border-0 md:hover:text-orange-500 md:p-0 dark:text-white md:dark:hover:text-orange-400
dark:hover:bg-stone-700 dark:hover:text-white md:dark:hover:bg-transparent">
<x-iconsax-bul-info-circle class="w-6 h-6 mr-1"/>
About</a>
</li>
</ul> </ul>
</div> </div>
</div> </div>