File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,16 +6,18 @@ interface ButtonLinkProps {
66 link : string ;
77 icon : IconType ;
88 num : number | undefined ;
9+ className ?: string ;
910}
1011
1112const ButtonLink : FC < ButtonLinkProps > = ( props ) => {
1213 return (
1314 < a
1415 href = { props . link }
15- className = " text-gh-text flex items-center gap-3
16+ className = { ` text-gh-text flex items-center gap-3
1617 bg-gh-button border border-solid border-gh-button-border
1718 py-1 px-3 rounded-md hover:border-gh-button-border-active
18- transition-all duration-150 hover:bg-gh-button-active text-sm"
19+ transition-all duration-150 hover:bg-gh-button-active
20+ text-sm ${ props . className } ` }
1921 >
2022 < div className = "text-gh-text-secondary text-lg" > { < props . icon /> } </ div >
2123
Original file line number Diff line number Diff line change @@ -21,23 +21,25 @@ const Title: FC<TitleProps> = (props) => {
2121 < path
2222 fillRule = "evenodd"
2323 d = "M2 2.5A2.5 2.5 0 014.5 0h8.75a.75.75 0
24- 01.75.75v12.5a.75.75 0 01-.75.75h-2.5a.75.75 0
25- 110-1.5h1.75v-2h-8a1 1 0 00-.714 1.7.75.75 0
26- 01-1.072 1.05A2.495 2.495 0 012 11.5v-9zm10.5-1V9h-8c-.356
27- 0-.694.074-1 .208V2.5a1 1 0 011-1h8zM5 12.25v3.25a.25.25 0
28- 00.4.2l1.45-1.087a.25.25 0 01.3 0L8.6 15.7a.25.25 0 00.4-.2v-3.25a.25.25
29- 0 00-.25-.25h-3.5a.25.25 0 00-.25.25z"
24+ 01.75.75v12.5a.75.75 0 01-.75.75h-2.5a.75.75 0
25+ 110-1.5h1.75v-2h-8a1 1 0 00-.714 1.7.75.75 0
26+ 01-1.072 1.05A2.495 2.495 0 012 11.5v-9zm10.5-1V9h-8c-.356
27+ 0-.694.074-1 .208V2.5a1 1 0 011-1h8zM5 12.25v3.25a.25.25 0
28+ 00.4.2l1.45-1.087a.25.25 0 01.3 0L8.6 15.7a.25.25 0 00.4-.2v-3.25a.25.25
29+ 0 00-.25-.25h-3.5a.25.25 0 00-.25.25z"
3030 />
3131 </ svg >
3232 </ div >
3333
3434 < a
3535 href = { `https://github.com/${ props . username } ` }
36- className = "text-gh-blue hover:underline cursor-pointer"
36+ className = "text-gh-blue hover:underline cursor-pointer hidden md:block "
3737 >
3838 { props . username }
3939 </ a >
40- < div className = "text-gh-text-secondary" > /</ div >
40+
41+ < div className = "text-gh-text-secondary hidden md:block" > /</ div >
42+
4143 < a
4244 href = { `https://github.com/${ props . username } /${ props . repoName } ` }
4345 className = "text-gh-blue font-semibold hover:underline cursor-pointer"
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ const Header = () => {
2424 icon = { BiGitRepoForked }
2525 num = { Number ( ghStats . forks ) }
2626 text = "Fork"
27+ className = "hidden md:flex"
2728 />
2829
2930 < ButtonLink
Original file line number Diff line number Diff line change 11{
22 "name" : " github-readme-tech-stack" ,
3- "version" : " 1.2.3 " ,
3+ "version" : " 1.2.4 " ,
44 "description" : " Dynamically generated, customizable technologies cards for your GitHub README." ,
55 "main" : " src/app.ts" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments