mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-10-13 22:54:27 -04:00
next-mdx-remote v4 (#737)
This commit is contained in:
19
components/OctocatLink/OctocatLink.tsx
Normal file
19
components/OctocatLink/OctocatLink.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
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;
|
Reference in New Issue
Block a user