mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
improve thread links
This commit is contained in:
parent
57ab16675e
commit
4f2b5dc999
4 changed files with 19 additions and 6 deletions
|
|
@ -42,9 +42,9 @@
|
|||
<dt class="text-sm text-gray-500">Links</dt>
|
||||
|
||||
<dd>
|
||||
@foreach($links as $link)
|
||||
<x-link href="{{ $link['url'] }}" target="_blank">
|
||||
{{ ucfirst($link['name']) }}
|
||||
@foreach($links as $text => $url)
|
||||
<x-link href="{{ $url }}" target="_blank">
|
||||
{{ ucfirst($text) }}
|
||||
</x-link>
|
||||
@endforeach
|
||||
</dd>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue