-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
59 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,63 @@ | ||
<?php | ||
|
||
return [ | ||
// | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Panel Title | ||
|-------------------------------------------------------------------------- | ||
*/ | ||
|
||
'title' => "پنل مدیریت", | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Panel Logout Route | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This option defines the route name for logout button. | ||
| | ||
*/ | ||
|
||
'logoutRoute' => 'logout', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Panel User Info | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This option defines the user info for panel. | ||
| Get user info from auth()->user() if login. | ||
| You can use multiple params like this: 'first_name,last_name', only for name. | ||
| if not found any param, set null | ||
| | ||
*/ | ||
|
||
'user' => [ | ||
'name' => 'name,lastname', | ||
'side' => "email", | ||
'image' => 'image', | ||
'email' => "email", | ||
], | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Panel Items | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This option defines the items for panel. | ||
| You can use [route name] or [url] for key. | ||
| In params you can set name, icon, show, disabled. | ||
| Icon is from fontawesome icon. | ||
| | ||
*/ | ||
|
||
'items' => [ | ||
'/' => [ | ||
'name' => 'داشبورد', | ||
'icon' => 'fa-light fa-home-lg-alt', | ||
'show' => true, | ||
'disabled' => false, | ||
], | ||
], | ||
]; |