From b4cffb83065a1eaab86d5e8b4c2abab2da971200 Mon Sep 17 00:00:00 2001
From: Anthony Dumas
Date: Sat, 23 Mar 2019 23:35:17 +0100
Subject: [PATCH] Protection AntiSpam pour le mail
---
_javascript/main.js | 15 ++++++++++++---
_sass/main.scss | 4 ++++
css/main.css | 3 +++
index.html | 21 +++++++++++----------
lib/main.js | 15 ++++++++++++---
5 files changed, 42 insertions(+), 16 deletions(-)
diff --git a/_javascript/main.js b/_javascript/main.js
index 242ab01..4644835 100644
--- a/_javascript/main.js
+++ b/_javascript/main.js
@@ -1,3 +1,12 @@
-document.addEventListener('DOMContentLoaded', () => {
- console.log('Hello Bulma!');
-});
+var $btnMail = $("#btn-mail");
+
+$btnMail.removeAttr("disabled");
+
+$btnMail.click(function (evt) {
+ evt.preventDefault();
+ swal({
+ text: "anthony@dumas.cc",
+ icon: "info",
+ button: true,
+ });
+});
\ No newline at end of file
diff --git a/_sass/main.scss b/_sass/main.scss
index cfc965a..38b5666 100644
--- a/_sass/main.scss
+++ b/_sass/main.scss
@@ -99,4 +99,8 @@ section#contact .button {
display: flex;
width: 100%;
}
+}
+
+.displayOnlyOnPrint {
+ display: none;
}
\ No newline at end of file
diff --git a/css/main.css b/css/main.css
index 4b3478f..6c091c9 100644
--- a/css/main.css
+++ b/css/main.css
@@ -7026,3 +7026,6 @@ section#contact .button {
.button.is-fullw-mobile {
display: flex;
width: 100%; } }
+
+.displayOnlyOnPrint {
+ display: none; }
diff --git a/index.html b/index.html
index 44e6aa0..b6c96a5 100644
--- a/index.html
+++ b/index.html
@@ -56,11 +56,10 @@
-
-
-
-
-
+
+
+
Anthony Dumas
+
@@ -82,7 +81,7 @@
Développeur Web
-
Harvest - Clermont-Ferrand
+
Harvest - Clermont-Ferrand - (2016 - Actuel)
Java
JQuery
@@ -105,7 +104,7 @@
Développeur Internet des Objets
-
Michelin - Clermont-Ferrand
+
Michelin - Clermont-Ferrand - (Ete 2015)
MongoDB
Node.JS
@@ -129,7 +128,7 @@
DUT Informatique - Imagerie Numérique
-
IUT du Puy en Velay
+
IUT du Puy en Velay - (2013 - 2015)