feat: some work on footer

This commit is contained in:
TrèsAbhi committed 2026-01-31 23:21:43 -06:00
1 parent 821bd363ad
commit bf9262f1f1
7 files changed
+107 -36

No files matched your search

@@ -1,21 +1,29 @@
import type { ComponentProps } from "react";
import { classNames } from "../../core/ui/classNames";
import "./index.css";
import type { Color } from "../../core/ui/color";
import styles from "./index.module.css";
export interface LinkProps extends ComponentProps<"a"> {
underline?: "always" | "hover" | "never";
highContrast?: boolean;
color?: Color | "accent";
}
export function Link({
highContrast,
className,
underline = "always",
color = "accent",
style,
...props
}: LinkProps) {
return (
<a
className={classNames("link", className)}
className={classNames(styles.link, className)}
style={{
color: `var(--${color}-${highContrast ? 12 : 11})`,
...style,
}}
{...props}
data-underline={underline}
data-high-contrast={highContrast}