From 70db90e976ce71165ef1f5f9a353bfb3ef0a9d10 Mon Sep 17 00:00:00 2001 From: Jinsoo Heo Date: Thu, 19 Nov 2026 14:50:02 +0900 Subject: [PATCH] feat: restyle the homepage with Liquid Glass Keeps the terminal concept and content, rendered as a macOS 26 style glass window over a drifting color wallpaper. - glass material: translucent tint, saturated backdrop blur, gradient specular rim, inner glow, pointer-following sheen (glass.js) - larger radii, concentric inset status capsule, fill-style controls inside the window instead of glass on glass - dark glass dims the backdrop (brightness .6) so text stays above 4.5:1 with the brightest blob behind it; measured 5.6:1 minimum - solid fallbacks for no backdrop-filter, prefers-reduced-transparency and prefers-contrast; animations stop under prefers-reduced-motion - 404 page gets the same treatment - index.html line endings normalized to LF (it mixed CRLF and LF) --- 404.html | 180 ++++++++++----- glass.js | 27 +++ index.html | 628 ++++++++++++++++++++++++++++++----------------------- 3 files changed, 511 insertions(+), 324 deletions(-) create mode 100644 glass.js 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
+ -
- -
-
-
- - -
- UTF-8 · Asia/Seoul - -
-
- + 코리엘의 리모트 라이프 + +
  • + + email + + dev.koriel@gmail.com +
  • + + + + +
    +
    +
    + + + + + +