|
|
@ -17,7 +17,7 @@ |
|
|
</ul> |
|
|
</ul> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<section class='w-full max-w-96'> |
|
|
|
|
|
|
|
|
<%# <section class='w-full max-w-96'> |
|
|
<div role="alert" class="alert alert-success inset-ring-2"> |
|
|
<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"> |
|
|
<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" /> |
|
|
<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" /> |
|
|
@ -27,15 +27,10 @@ |
|
|
Your purchase has been confirmed!<br/> |
|
|
Your purchase has been confirmed!<br/> |
|
|
Your purchase has been confirmed!<br/> |
|
|
Your purchase has been confirmed!<br/> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<button class='toast-close'>x</button> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div role="alert" class="alert alert-error 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="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z" /> |
|
|
|
|
|
</svg> |
|
|
|
|
|
<span>Error! Task failed successfully.</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
</section> |
|
|
|
|
|
|
|
|
</section> %> |
|
|
|
|
|
|
|
|
<div> |
|
|
<div> |
|
|
<h2 class="text-bold text-2xl">By using <span class="italic">stimulus</span></h2> |
|
|
<h2 class="text-bold text-2xl">By using <span class="italic">stimulus</span></h2> |
|
|
@ -50,7 +45,7 @@ |
|
|
<%= link_to 'Alert', "javascript: window.dispatchEvent(new CustomEvent('popup-toast', {detail: { |
|
|
<%= link_to 'Alert', "javascript: window.dispatchEvent(new CustomEvent('popup-toast', {detail: { |
|
|
type: 'alert', |
|
|
type: 'alert', |
|
|
message: 'this is an alert' |
|
|
message: 'this is an alert' |
|
|
}}))", class: 'btn btn-primary'%> |
|
|
|
|
|
|
|
|
}}))", class: 'btn btn-secondary'%> |
|
|
</li> |
|
|
</li> |
|
|
</ul> |
|
|
</ul> |
|
|
</div> |
|
|
</div> |