resources/views/components/wowhead.blade.php: Add type property.
This commit is contained in:
parent
5b684b08f2
commit
162a4e8556
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
@props(['id'])
|
||||
<a {{ $attributes->merge([ 'class' => 'text-blue-600', 'href' => 'https://tbc.wowhead.com/item=' . $id, 'target' => '_blank' ]) }}>
|
||||
@props(['id', 'type' => 'item'])
|
||||
<a {{ $attributes->merge([ 'class' => 'text-blue-600', 'href' => sprintf('https://tbc.wowhead.com/%s=%d', $type, $id), 'target' => '_blank' ]) }}>
|
||||
<x-icon name="external-link" />
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue