A React component to add a GitHub corner to your project.
npm i react-gh-corners@latest
import { GithubCorners } from 'react-gh-corners';
// Nextjs only CSR
const GithubCorners = dynamic(() => import('react-gh-corners').then((m) => m.GithubCorners), {
ssr: false,
});
const App = () => {
return (
<GithubCorners position='right' href='/' />
);
};
import 'gh-corners';
<script type="module" src="https://unpkg.com/gh-corners@latest"></script>
<github-corners target="__blank" position="fixed" href="https://github.com/hunghg255"></github-corners>
Gia Hung – hung.hg