File tree Expand file tree Collapse file tree 5 files changed +38
-5
lines changed Expand file tree Collapse file tree 5 files changed +38
-5
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,11 @@ public function fontAwesomeV6Icons()
49
49
return view ('docs.font-awesome.v6.icons ' );
50
50
}
51
51
52
+ public function fontAwesomeV6IconStacks ()
53
+ {
54
+ return view ('docs.font-awesome.v6.icon-stacks ' );
55
+ }
56
+
52
57
public function fontAwesomeV5 ()
53
58
{
54
59
return view ('docs.font-awesome.v5.index ' );
Original file line number Diff line number Diff line change 16
16
<div class =" ml-2" >
17
17
<a href =" /documentation/font-awesome/v6" class =" block mb-1" >Overview</a >
18
18
<a href =" /documentation/font-awesome/v6/icons" class =" block mb-1" >Icons</a >
19
+ <a href =" /documentation/font-awesome/v6/icon-stacks" class =" block mb-1" >Icon Stacks</a >
19
20
</div >
20
21
</div >
21
22
Original file line number Diff line number Diff line change
1
+ @extends (' layouts.app-nav' )
2
+
3
+ @section (' content' )
4
+ <x-docs-layout >
5
+ <div class =" grid grid-cols-3 gap-8" >
6
+ <div class =" col-span-3" >
7
+ <x-docs-box >
8
+ <h2 >Icon Stacks</h2 >
9
+ <p >You can generate complex icons to convey importan attributes when rendering lots of data on a map.
10
+ This will help improve your users understanding of what is going on when lots of things are moving.
11
+ </p >
12
+ <x-marker-creator endpoint =" /api/v3/font-awesome/v6/icon-stack" :fields =" [
13
+ 'size',
14
+ 'icon' => ['value' => 'fa-solid fa-map-pin'],
15
+ 'iconsize' => ['value' => 35],
16
+ 'color' => ['value' => '8F2BDB'],
17
+ 'on' => ['value' => 'fa-solid fa-map'],
18
+ 'oncolor' => ['value' => 'BC5AF4'],
19
+ 'hoffset' => ['value' => 0],
20
+ 'voffset' => ['value' => 0],
21
+ ]" />
22
+ </x-docs-box >
23
+ </div >
24
+ </div >
25
+ </x-docs-layout >
26
+ @endsection
Original file line number Diff line number Diff line change 66
66
</div >
67
67
68
68
{{-- ICON STACKS --}}
69
- {{-- PINS --}}
70
- <div class =" prose prose-invert text-center pt-10" >
69
+ {{-- PINS --}}
70
+ <div class =" prose prose-invert text-center pt-10" >
71
71
<div class =" mb-4" >
72
- <img src =" /api/v3/font-awesome/v6/icon? icon=fa-solid+fa-users &color=992DE5&size=50 " class =" inline h-12 m-0 mx-1" />
73
- <img src =" /api/v3/font-awesome/v6/icon? icon=fa-solid +fa-box &color=BC5AF4&size=50 " class =" inline h-12 m-0 mx-1" />
74
- <img src =" /api/v3/font-awesome/v6/icon? icon=fa-solid +fa-wind &color=CE86F5&size=50 " class =" inline-block h-12 m-0 mx-1" />
72
+ <img src =" /api/v3/font-awesome/v6/icon-stack?size=64& icon=fa-solid+fa-map-pin &color=171719&on=fa-solid+fa-map&oncolor= 992DE5&iconsize=20&hoffset=23&voffset=7 " class =" inline h-12 m-0 mx-1" />
73
+ <img src =" /api/v3/font-awesome/v6/icon-stack?size=64& icon=fa-brands +fa-amazon &color=171719&on=fa-solid+fa-truck&oncolor= BC5AF4&iconsize=30&voffset=-6&hoffset=-11 " class =" inline h-12 m-0 mx-1" />
74
+ <img src =" /api/v3/font-awesome/v6/icon-stack?size=64& icon=fa-brands +fa-apple &color=171719&on=fa-solid+fa-box&oncolor= CE86F5&iconsize=25&voffset=10 " class =" inline h-12 m-0 mx-1" />
75
75
</div >
76
76
<div class =" prose" >
77
77
<h3 class =" text-white" >Icon Stacks</h3 >
Original file line number Diff line number Diff line change 47
47
Route::group (['prefix ' => 'v6 ' ], function () {
48
48
Route::get ('/ ' , [DocumentationController::class, 'fontAwesomeV6 ' ]);
49
49
Route::get ('/icons ' , [DocumentationController::class, 'fontAwesomeV6Icons ' ]);
50
+ Route::get ('/icon-stacks ' , [DocumentationController::class, 'fontAwesomeV6IconStacks ' ]);
50
51
});
51
52
52
53
Route::group (['prefix ' => 'v5 ' ], function () {
You can’t perform that action at this time.
0 commit comments