This file contains hidden or 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
<?php | |
namespace App\Providers\Filament; | |
use Filament\Panel; | |
use Filament\View\PanelsRenderHook; | |
use Illuminate\Support\Facades\Blade; | |
public function panel(Panel $panel): Panel | |
{ |
This file contains hidden or 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
{ | |
"preset": "per", | |
"rules": { | |
"align_multiline_comment": true, | |
"array_indentation": true, | |
"array_syntax": true, | |
"blank_line_after_namespace": true, | |
"blank_line_after_opening_tag": true, | |
"combine_consecutive_issets": true, | |
"combine_consecutive_unsets": true, |
This file contains hidden or 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
<?php | |
namespace App\Http\Livewire; | |
use Livewire\Component; | |
use App\Models\User; | |
class CreateComment extends Component | |
{ | |
public $mentionables; |
This file contains hidden or 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
// watch browser width on resize | |
var browser_width = 0; | |
window.watchResize(function(){ | |
browser_width = window.innerWidth || document.body.offsetWidth; | |
}); | |
// do stuff after breakpoint | |
window.watchResize(function(){ | |
var threshold = 400; | |
if ( browser_width >= threshold ) { |
This file contains hidden or 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
<?php | |
class Debug { | |
/** | |
* A collapse icon, using in the dump_var function to allow collapsing | |
* an array or object | |
* | |
* @var string | |
*/ |