1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-13 23:14:28 -04:00

<IFrame /> component

This commit is contained in:
2022-01-18 13:54:12 -05:00
parent eb172b83b0
commit caac9b905a
15 changed files with 141 additions and 78 deletions

View File

@@ -0,0 +1,11 @@
.link {
margin: 0 0.4em;
color: var(--text);
background: none !important;
padding-bottom: 0;
transition: none;
}
.link:hover {
color: var(--link);
}

View File

@@ -1,17 +1,13 @@
import { OctocatOcticon } from "../Icons";
import styles from "./OctocatLink.module.css";
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)" }}
>
<a className={styles.link} href={`https://github.com/${props.repo}`} target="_blank" rel="noopener noreferrer">
<OctocatOcticon fill="currentColor" />
</a>
);