mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-03 18:26:38 -04:00
consolidate mdx file parsing
This commit is contained in:
@ -14,7 +14,7 @@ type ColorLinkProps = {
|
||||
external?: boolean;
|
||||
};
|
||||
|
||||
const ColorLink = ({ children, href, lightColor, darkColor, title, external = false }: ColorLinkProps) => {
|
||||
const ColorLink = ({ href, title, lightColor, darkColor, external = false, children }: ColorLinkProps) => {
|
||||
external = external || isAbsoluteUrl(href);
|
||||
|
||||
// spits out an alpha color in rgb() that's compatible with linear-gradient()
|
||||
|
Reference in New Issue
Block a user