File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 1313 ? ' course-tip-orange'
1414 : ' ' } bg-gradient-to-br dark:bg-gradient-to-r before:border- {color }-500 dark:before:border- {color }-800 from- {color }-50 dark:from-gray-900 to-white dark:to-gray-950 border border- {color }-50 text- {color }-700 dark:text-gray-400"
1515>
16- <slot />
16+ <div class =" flex items-center gap-2" >
17+ {#if warning }
18+ <svg xmlns =" http://www.w3.org/2000/svg" width =" 20" height =" 20" viewBox =" 0 0 24 24" fill =" none" stroke =" currentColor" stroke-width =" 2" stroke-linecap =" round" stroke-linejoin =" round" class =" w-4 h-4 -mt-0.5 flex-shrink-0" ><path d =" m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" /><path d =" M12 9v4" /><path d =" M12 17h.01" /></svg >
19+ {:else }
20+ <svg xmlns =" http://www.w3.org/2000/svg" width =" 20" height =" 20" viewBox =" 0 0 24 24" fill =" none" stroke =" currentColor" stroke-width =" 2" stroke-linecap =" round" stroke-linejoin =" round" class =" w-4 h-4 -mt-0.5 flex-shrink-0" ><path d =" M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5" /><path d =" M9 18h6" /><path d =" M10 22h4" /></svg >
21+ {/if }
22+ <div class =" flex-1" >
23+ <slot />
24+ </div >
25+ </div >
1726</div >
You can’t perform that action at this time.
0 commit comments