import Link from "next/link"; import isAbsoluteUrl from "is-absolute-url"; import { colord } from "colord"; import { WaveIcon, LockIcon } from "../components/icons"; type ColorLinkProps = { children: unknown; href: string; lightColor: string; darkColor: string; title?: string; external?: boolean; }; const ColorLink = ({ href, title, lightColor, darkColor, external = false, children }: ColorLinkProps) => { external = external || isAbsoluteUrl(href); // spits out an alpha color in rgba() that's compatible with linear-gradient() const underlineAlpha = 0.4; const hexToRgba = (hex: string) => colord(hex).alpha(underlineAlpha).toRgbString(); return ( {children} ); }; const Index = () => ( <>
I specialize in{" "}
Whenever possible, I also apply my experience in{" "}
I fell in love with{" "}
Over the years, some of my side projects{" "}
You can find more of my work on{" "}