feat: add platform icons and badges for Android, iOS, Windows, macOS, Huawei, Meta Quest, and Web to enhance app development section
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
@props([
|
||||
'platforms' => [],
|
||||
])
|
||||
|
||||
<div {{ $attributes->class(['app-dev-platforms']) }}>
|
||||
@foreach($platforms as $platform)
|
||||
<span class="app-dev-platform-pill" title="{{ t($platform['name']) }}">
|
||||
<img
|
||||
src="{{ asset('assets/img/platforms/' . $platform['logo']) }}"
|
||||
class="app-dev-platform-icon"
|
||||
alt=""
|
||||
width="28"
|
||||
height="28"
|
||||
loading="lazy"
|
||||
decoding="async"
|
||||
>
|
||||
<span class="app-dev-platform-label">{!! t($platform['label'] ?? $platform['name']) !!}</span>
|
||||
</span>
|
||||
@endforeach
|
||||
</div>
|
||||
Reference in New Issue
Block a user