mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 18:30:30 -04:00
20 lines
391 B
TypeScript
20 lines
391 B
TypeScript
import { OctocatOcticon } from "../Icons";
|
|
|
|
type Props = {
|
|
repo: string;
|
|
};
|
|
|
|
const OctocatLink = (props: Props) => (
|
|
<a
|
|
className="no-underline"
|
|
href={`https://github.com/${props.repo}`}
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
style={{ margin: "0 0.4em", color: "var(--text)" }}
|
|
>
|
|
<OctocatOcticon fill="currentColor" />
|
|
</a>
|
|
);
|
|
|
|
export default OctocatLink;
|