File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
docs/source/docs/examples Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,18 @@ description: null
1818</div >
1919@endcomponent
2020
21+ ### Modern with Badge
22+
23+ @component ('_ partials.code-sample', [ 'lang' => 'html', 'class' => 'px-0 py-0'] )
24+ <div class =" bg-indigo-darkest text-center py-4 lg:px-4 " >
25+ <div class =" p-2 bg-indigo-darker items-center text-indigo-lightest leading-none lg:rounded-full flex lg:inline-flex " role =" alert " >
26+ <span class="flex rounded-full bg-indigo uppercase px-2 py-1 text-xs font-bold mr-3">New</span>
27+ <span class="font-semibold mr-2 text-left flex-1">Get the coolest t-shirts from our brand new store</span>
28+ <svg class="opacity-75 h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M12.95 10.707l.707-.707L8 4.343 6.586 5.757 10.828 10l-4.242 4.243L8 15.657l4.95-4.95z"/></svg>
29+ </div >
30+ </div >
31+ @endcomponent
32+
2133### Left Accent Border
2234
2335@component ('_ partials.code-sample', [ 'lang' => 'html'] )
You can’t perform that action at this time.
0 commit comments