aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris2022-09-04 17:36:13 +0200
committerJoris2022-09-04 17:36:13 +0200
commitc42fca09232001504c8114400a9e7e108da9fb81 (patch)
tree91c860de5ec8cd9cab10ce55325a756019ccbc63
parent81e9db1de18615230ebd3e83e946e8bd8ddd311f (diff)
downloadpersonal-page-c42fca09232001504c8114400a9e7e108da9fb81.tar.gz
personal-page-c42fca09232001504c8114400a9e7e108da9fb81.tar.bz2
personal-page-c42fca09232001504c8114400a9e7e108da9fb81.zip
Use image for contact email
This may help prevent getting SPAMs.
-rw-r--r--public/contact.pngbin0 -> 2989 bytes
-rw-r--r--public/index.html4
-rw-r--r--public/main.css2
3 files changed, 2 insertions, 4 deletions
diff --git a/public/contact.png b/public/contact.png
new file mode 100644
index 0000000..42b66dc
--- /dev/null
+++ b/public/contact.png
Binary files differ
diff --git a/public/index.html b/public/index.html
index ad13e5c..a616a65 100644
--- a/public/index.html
+++ b/public/index.html
@@ -356,8 +356,6 @@
<h1>Contact</h1>
<section class="contact">
- <a href="mailto:contact@guyonvarch.me">
- contact@guyonvarch.me
- </a>
+ <img class="contact" src="contact.png" alt="Contact email address">
</section>
</main>
diff --git a/public/main.css b/public/main.css
index d1e99a5..95556a5 100644
--- a/public/main.css
+++ b/public/main.css
@@ -110,7 +110,7 @@ section {
/* Images */
-img {
+img:not(.contact) {
border: solid 1px var(--color-border);
border-radius: var(--border-radius-mouse);
margin-bottom: var(--spacing-dog);