import Link from "../Link"; import { OctocatOcticon } from "../Icons"; import { styled } from "../../lib/styles/stitches.config"; import type { ComponentProps } from "react"; const GitHubLink = styled(Link, { margin: "0 0.4em", color: "$text", "&:hover": { color: "$link", }, }); const Octocat = styled(OctocatOcticon, { width: "1.2em", height: "1.2em", verticalAlign: "-0.2em", fill: "currentColor", }); export type OctocatLinkProps = Omit, "href"> & { repo: string; }; const OctocatLink = ({ repo, className, ...rest }: OctocatLinkProps) => { return ( ); }; export default OctocatLink;