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:
11
components/OctocatLink/OctocatLink.module.css
Normal file
11
components/OctocatLink/OctocatLink.module.css
Normal 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);
|
||||
}
|
@@ -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>
|
||||
);
|
||||
|
Reference in New Issue
Block a user