From 90414ba875c22af5925222a812ea3f02b832ad08 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Mon, 17 Mar 2025 14:49:17 +0100 Subject: [PATCH] fix(content): change about-me page texts and fix interest anim origin --- public/about.php | 5 +++-- public/assets/js/pages/about.js | 10 +++------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/public/about.php b/public/about.php index 5fe4c59..29cc4a0 100644 --- a/public/about.php +++ b/public/about.php @@ -59,7 +59,7 @@

I​'m a full-stack web developer from Sweden, and welcome to my little personal corner of the Internet!

I used to list the <programming/markup/command/whatever>-languages here that I use the most and order them by guesstimating how much I use each one. But then I thought it would be better to just show you instead using this chart that automatically pulls the total bytes for each language from my public repos on Forgejo.

-

Some other noteworthy techologies that I work a decent amount with are: Debian, MariaDB, SQLite, DNS, Redis, and probably a few others as well. Check out this page for a comprehensive list of all the tech that I use.

+

Some other noteworthy techologies that I work a decent amount with are: Debian, MariaDB, SQLite, DNS, Redis, and probably a few others as well.

@@ -101,7 +101,7 @@

Personal

-

One thing is true.. Coffee, lots of coffee. In fact, I've had week() ?> cupweek() === 1 ? "" : "s" ?> of coffee in the last 7 days! That's week_average_string() ?> my average of week_average() ?> per week, impressive! Even though you just read that.. I don't consider myself too much of a coffee snob! As long as it's dark roast and warm, I'm probably happy to have it.

+

One thing that most people know about me is that I like coffee.. lots of coffee. In fact, I've had week() ?> cupweek() === 1 ? "" : "s" ?> of coffee in the last 7 days! That's week_average_string() ?> my average of week_average() ?> per week, impressive! Even though you just read that.. I don't consider myself too much of a coffee snob! As long as it's dark roast and warm, I'm probably happy to have it.

At times, I become a true, amateur, armchair detective for a variety of your typical-nerdy topics that I find interesting and you can bet I spend way more time reading about those things than I will ever have use for in life.

My coding happens almost exclusivly in code-server, which is a fork of VSCode that runs entirely in the browser. I keep my development environment tucked away in a lightweight Debian VA that I can tote around to whatever host machine I happen to work on. If I can't do that for whatever reason, I have my dotfiles ready to get things set up the way I like it.

Another silent passion of mine that comes out every few years is building computers and fiddling with networking stuff.

@@ -138,5 +138,6 @@

photography

videography

ISO 8601

+

digital archiving

diff --git a/public/assets/js/pages/about.js b/public/assets/js/pages/about.js index 0562f27..c774d7d 100644 --- a/public/assets/js/pages/about.js +++ b/public/assets/js/pages/about.js @@ -58,13 +58,9 @@ const implodeInterests = () => { // Bind mouse or touch events depending on pointer type of device const canHover = window.matchMedia("(pointer: fine)").matches; - interestsElement.addEventListener(canHover ? "mouseenter" : "touchstart", () => { - // Get absolute position of the trigger element - const size = interestsElement.getBoundingClientRect(); - - explodeInterests(size.x, size.y); - }); - + // Explode interests when mouse hovers or touch hold starts + interestsElement.addEventListener(canHover ? "mouseenter" : "touchstart", (event) => explodeInterests(event.x, event.y)); + // Implode interests when mouse leaves or touch hold ends interestsElement.addEventListener(canHover ? "mouseleave" : "touchend", () => implodeInterests()); }