mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-09-09 03:35:14 -05:00
- Modifierd FAQ - Added FAQ for the laucnher in the Download page - Added new page 'known issues'
14 lines
411 B
PHP
14 lines
411 B
PHP
@props([
|
|
'routeName'
|
|
])
|
|
|
|
@php
|
|
/** @var \Illuminate\View\ComponentAttributeBag $attributes */
|
|
|
|
@endphp
|
|
|
|
<a href="{{ route($routeName) }}">
|
|
<div {{ $attributes->except('href')->merge(['class' => "px-2 py-1 outline-1 hover:outline hover:outline-slate-600 hover:bg-slate-700 rounded " . (Route::getCurrentRoute()->getName() === $routeName ? 'bg-web-main' : '')]) }} >
|
|
{{ $slot }}
|
|
</div>
|
|
</a> |