add(infra): docker build
This commit is contained in:
parent
5adada0422
commit
84bd8355d6
10 changed files with 79 additions and 303 deletions
|
|
@ -9,7 +9,6 @@ import (
|
|||
|
||||
templ Home() {
|
||||
@layouts.MainLayout() {
|
||||
// Componente Alpine
|
||||
<div x-data="shortener()" class="min-h-full flex justify-center items-center flex-col gap-6 p-6 w-full">
|
||||
<div class="animate-pulse-slow hover:scale-110 transition-transform duration-300">
|
||||
@icon.Link(icon.Props{Class: "w-24 h-24"})
|
||||
|
|
@ -328,13 +327,13 @@ templ Home() {
|
|||
const toast = { id, title, message, variant, show: false };
|
||||
this.toasts.push(toast);
|
||||
|
||||
setTimeout(() => {
|
||||
setTimeout(() => {
|
||||
const toastIndex = this.toasts.findIndex(t => t.id === id);
|
||||
if (toastIndex !== -1) {
|
||||
this.toasts[toastIndex].show = true;
|
||||
}
|
||||
}, 10);
|
||||
|
||||
|
||||
if (timeout > 0) {
|
||||
setTimeout(() => this.hideToast(id), timeout);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue