change format message thank you after order
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 1m16s

This commit is contained in:
betty 2025-06-02 15:28:15 +02:00
commit 0cfdc5091f

View file

@ -186,7 +186,7 @@ function handleSubmit(e) {
// if data.success is true, show a success message
if (data.success) {
submitButton.style.display = 'none'
notification.innerHTML = `<span>${currentMessages.thankyou}</span>`
notification.innerHTML = `<h2>${currentMessages.thankyou}</h2>`
notification.className = 'bg-green-500 text-black px-4 py-2 rounded block'
} else {
submitButton.style.display = 'none'