diff --git a/404.html b/404.html index 1c0e180..4aef69f 100644 --- a/404.html +++ b/404.html @@ -8,8 +8,8 @@ - - + + + diff --git a/glass.js b/glass.js new file mode 100644 index 0000000..2843067 --- /dev/null +++ b/glass.js @@ -0,0 +1,27 @@ +// Liquid Glass sheen: a soft highlight on the window that follows the pointer. +(function(){ + "use strict"; + + var win = document.querySelector(".terminal"); + if (!win) return; + if (!window.matchMedia("(hover:hover) and (pointer:fine)").matches) return; + if (window.matchMedia("(prefers-reduced-motion:reduce)").matches) return; + + var frame = 0; + var pointerX = 0; + var pointerY = 0; + + win.addEventListener("pointerenter", function(){ win.classList.add("lit"); }); + win.addEventListener("pointerleave", function(){ win.classList.remove("lit"); }); + win.addEventListener("pointermove", function(event){ + pointerX = event.clientX; + pointerY = event.clientY; + if (frame) return; + frame = requestAnimationFrame(function(){ + frame = 0; + var box = win.getBoundingClientRect(); + win.style.setProperty("--mx", (pointerX - box.left) + "px"); + win.style.setProperty("--my", (pointerY - box.top) + "px"); + }); + }); +})(); diff --git a/index.html b/index.html index dca0563..8e60c96 100644 --- a/index.html +++ b/index.html @@ -1,23 +1,23 @@ - - - - - - Jinsoo Heo - DevOps Engineer - - + + + + + + Jinsoo Heo - DevOps Engineer + + - - + + - - - - + + + + @@ -31,31 +31,31 @@ - - - + + + - -
+ +

Jinsoo Heo - DevOps Engineer

-
-
- -
jinsoo@koriel: ~
+
+
+ +
jinsoo@koriel: ~
-
- -
-
-
whoami
-
- + +
+ +
+
+
whoami
+
+ Jinsoo Heo -
-
Jinsoo Heo (허진수)
-
DevOps Engineer · Seoul, Korea
-
-
-
- -
-
cat /etc/motd
-
- 8+ years in software engineering.
- Building infrastructure for DeFi protocols.
- Remote worker from Seoul. -
-
- -
-
ls ~/links
-
+
+ +
+
cat /etc/motd
+
+ 8+ years in software engineering.
+ Building infrastructure for DeFi protocols.
+ Remote worker from Seoul. +
+
+ +
+
ls ~/links
+ -
- -
-
-
- - - -
- + 코리엘의 리모트 라이프 + +
  • + + email + + dev.koriel@gmail.com +
  • + + + + +
    +
    +
    + + + + + +