website/pages/home/home.php

34 lines
1.2 KiB
PHP
Raw Normal View History

2023-03-05 14:35:00 +01:00
<link rel="stylesheet" href="./css/home.css" >
2023-03-05 02:06:45 +01:00
<section class="home">
<section>
<p>Filip Rojek &ltfilip(at)filiprojek.cz&gt</p>
<br>
<p>Backend node.js & php developer <a href="https://www.fofrweb.com/" target="_blank">@fofrweb</a>,<br> Linux Gentoo user, student and coffee enthusiast<span class="underscore">_</span><p>
2023-03-05 02:06:45 +01:00
<br>
<p id="pgp" title="copy pgp to clipboard">PGP: fc37b989787acf8cbce7c0c2a56a345efe321161</p>
<br>
<p><a href="https://git.filiprojek.cz/fr" target="_blank">Git</a> <a href="https://t.me/filiprojek" target="_blank">Telegram</a> <a href="#" id="pgpmobile" title="copy pgp to clipboard">PGP</a></p>
2023-03-05 02:06:45 +01:00
</section>
<script>
const _ = document.querySelector(".underscore")
let b = false
setInterval(() => {
b ? _.style.visibility = "visible" : _.style.visibility = "hidden"
b = !b
}, 500)
const pgp = document.querySelector("#pgp")
const pgpmobile = document.querySelector("#pgpmobile")
const pgpcp = (e) => {
console.log(e)
navigator.clipboard.writeText("fc37b989787acf8cbce7c0c2a56a345efe321161")
alert("pgp has been copied to the clipboard")
}
2023-05-11 20:01:54 +02:00
pgp.addEventListener("click", pgpcp)
pgpmobile.addEventListener("click", pgpcp)
2023-03-05 02:06:45 +01:00
</script>
2023-03-04 23:46:16 +01:00
</section>
2023-03-05 14:35:00 +01:00