Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MurageKabui committed Apr 27, 2024
1 parent 45821d9 commit 4578f19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
body {
font-family: var(--font-default);
color: var(--color-default);
background-color: #000;
background-color: #00000a;
}

a {
Expand Down
1 change: 1 addition & 0 deletions docs/assets/vendor/php-email-form/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
// Hide "Message Sent" status after one second
sentMessage.classList.remove('d-block');

// Generate whatsapp link, if name is undefined, send message only..
let encodedMessage = encodeURIComponent((name && name.trim() !== '') ? `My name is ${name}. ${message}` : message);
let whatsappLink = `https://wa.me/254757169030?text=${encodedMessage}`;

Expand Down

0 comments on commit 4578f19

Please sign in to comment.