Animated laptop from website

Just redesigned the landing page for haakon.underbakke.net. Here’s a self-contained component that only needs styled-components (and material icons cdn, if you want the same icons) installed to work, if you want to use it for yourself. The laptop also turns white (to contrast darker backgrounds) on @media (prefers-color-scheme: dark). https://codesandbox.io/s/laptop-animation-d70o1

Material design – Ripple button component (react)

I love the onClick-ripple effect that material design buttons offer. I decided to make my own button-component that inhabits this effect by default, but is also flexible beyond that feature. Here’s the result: I went for react-jss for styling the component as to make it as self-contained as possible. If you don’t want to use […]

About me

Hey! My name is Håkon Underbakke. I’m a front end developer from Norway, currently living in Stavanger and working mainly with React. I have been working for Idean since April 2020, doing front end development. Before that, I worked for LIGL AS for 4 years, doing various web projects as well as legal document automation […]

Notifying users about updates (create-react-app)

In serviceWorker.js there is a function that sits around line 74, called installingWorker.onstatechange. Inside of the function there is a condition checking if the state is “installed” and then logging out a message for the console. The goal here is to simply insert your own code below to notify the user of this outside of […]