diff --git a/frontend/scss/app.scss b/frontend/scss/app.scss index 5f1ce76..3740b27 100644 --- a/frontend/scss/app.scss +++ b/frontend/scss/app.scss @@ -7,3 +7,4 @@ @import 'components/btns'; @import 'components/links'; @import 'components/input'; +@import 'components/alert'; diff --git a/frontend/scss/components/_alert.scss b/frontend/scss/components/_alert.scss new file mode 100644 index 0000000..f423405 --- /dev/null +++ b/frontend/scss/components/_alert.scss @@ -0,0 +1,9 @@ +.alert { + &-success { + @apply bg-[#15803d]; + } + + &-error { + @apply bg-[#f43f5e]; + } +} diff --git a/templates/auth/login.html.tera b/templates/auth/login.html.tera index 47c8857..f16fe0c 100644 --- a/templates/auth/login.html.tera +++ b/templates/auth/login.html.tera @@ -8,16 +8,7 @@ {% if flash %} - {% if flash.0 == "success" %} -