diff --git a/_javascript/main.js b/_javascript/main.js
index 4644835..eae6083 100644
--- a/_javascript/main.js
+++ b/_javascript/main.js
@@ -4,9 +4,13 @@ $btnMail.removeAttr("disabled");
$btnMail.click(function (evt) {
evt.preventDefault();
- swal({
- text: "anthony@dumas.cc",
- icon: "info",
- button: true,
- });
+ Swal.fire({
+ title: 'Email',
+ html: "Vous pouvez m'envoyer un mail à anthony@dumas.cc !",
+ imageUrl: './images/mail.jpg',
+ imageWidth: 400,
+ imageHeight: 200,
+ imageAlt: 'Custom image',
+ animation: false
+ })
});
\ No newline at end of file
diff --git a/images/mail.jpg b/images/mail.jpg
new file mode 100644
index 0000000..2c03d48
Binary files /dev/null and b/images/mail.jpg differ
diff --git a/index.html b/index.html
index 072a408..58a790e 100644
--- a/index.html
+++ b/index.html
@@ -249,7 +249,7 @@
-
+