|
|
@ -23,21 +23,6 @@ |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
|
|
|
|
<%# <section class='w-full max-w-96'> |
|
|
|
<div role="alert" class="alert alert-success inset-ring-2"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 shrink-0 stroke-current" fill="none" viewBox="0 0 24 24"> |
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" /> |
|
|
|
</svg> |
|
|
|
<div> |
|
|
|
Your purchase has been confirmed!<br/> |
|
|
|
Your purchase has been confirmed!<br/> |
|
|
|
Your purchase has been confirmed!<br/> |
|
|
|
</div> |
|
|
|
<button class='toast-close'>x</button> |
|
|
|
</div> |
|
|
|
|
|
|
|
</section> %> |
|
|
|
|
|
|
|
<div> |
|
|
|
<h2 class="text-bold text-2xl">By using <span class="italic">stimulus</span></h2> |
|
|
|
<ul class="flex flex-row list bg-base-100 rounded-box shadow-md"> |
|
|
@ -50,7 +35,7 @@ |
|
|
|
<li class="p-4 pb-2 text-xs opacity-60 tracking-wide"> |
|
|
|
<%= link_to 'Alert', "javascript: window.dispatchEvent(new CustomEvent('popup-toast', {detail: { |
|
|
|
type: 'alert', |
|
|
|
message: 'this is an alert from Stimulus' |
|
|
|
message: 'this is an alert' |
|
|
|
}}))", class: 'btn btn-secondary'%> |
|
|
|
</li> |
|
|
|
</ul> |