This is my adaptation of the tholman/github-corners.
This repo only got two main file github_corner.js, and github_corner.ts, the rest of it is just for demo.
When using the original tholman/github-corners, it's a bit messy. So I pack it all into a single js/ts file.
- Copy the github_corner.js/ github_corner.ts file into your project.
- Check the last few line of it, change the url to your url, and also set the color as you like.
- Including the js/ts file in your
index.html
. (example for javascript and typescript) - You got a Github Corners now!
My adaptation also fix the hit box problem in tholman/github-corners.