File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 2626 color : var (--text-primary );
2727 }
2828
29+ .github-corner {
30+ position : fixed;
31+ bottom : 20px ;
32+ right : 20px ;
33+ background : var (--bg-color );
34+ padding : 12px 20px ;
35+ border-radius : var (--border-radius );
36+ box-shadow : 0 2px 5px rgba (0 , 0 , 0 , 0.1 );
37+ z-index : 1000 ;
38+ transition : transform 0.2s ease;
39+ }
40+
41+ .github-corner : hover {
42+ transform : translateY (-2px );
43+ background : var (--bg-color );
44+ }
45+
2946 .container {
3047 max-width : 1400px ;
3148 margin : 0 auto;
@@ -461,6 +478,10 @@ <h4>Recommendations for Clean Code</h4>
461478 </ div >
462479 </ div >
463480
481+ < div class ="github-corner ">
482+ < a class ="github-button " href ="https://github.com/amanv8060/code-complexity-viz " data-color-scheme ="no-preference: light; light: light; dark: dark; " data-icon ="octicon-star " data-size ="large " data-show-count ="true " aria-label ="Star amanv8060/code-complexity-viz on GitHub "> Star</ a >
483+ </ div >
484+
464485 < script >
465486 let wasmInstance = null ;
466487 let currentMode = 'wasm' ;
@@ -761,5 +782,7 @@ <h4>Recommendations for Clean Code</h4>
761782 // Store current data for resize handling
762783 let currentData = null ;
763784 </ script >
785+ <!-- GitHub Buttons -->
786+ < script async defer src ="https://buttons.github.io/buttons.js "> </ script >
764787</ body >
765788</ html >
You can’t perform that action at this time.
0 commit comments