Files
Vari 3a317a3adc Added new Content to the Website:
- Modifierd FAQ
- Added FAQ for the laucnher in the Download page
- Added new page 'known issues'
2024-09-05 13:25:00 +02:00

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>