@@ -29,6 +29,10 @@ const linkClasses = buttonVariants({
2929 className : "rounded-3xl w-auto group" ,
3030} ) ;
3131
32+ const arrowClasses = cn (
33+ "text-zinc-400 transition-transform group-hover:translate-x-[0.1rem] group-hover:text-black dark:group-hover:text-white" ,
34+ ) ;
35+
3236interface iHeaderProps {
3337 npmVersion : string ;
3438}
@@ -38,7 +42,7 @@ const Header = (props: iHeaderProps) => {
3842 < section
3943 className = { cn (
4044 "pb-4 pt-8 md:py-10" ,
41- "flex flex-col space-y-6 " ,
45+ "flex flex-col space-y-5 " ,
4246 containerClasses ,
4347 ) }
4448 >
@@ -51,17 +55,17 @@ const Header = (props: iHeaderProps) => {
5155 >
5256 React-Symbols
5357 </ Link >
54- < div className = "flex flex-col items-start space-x-0 space-y-2 text-sm text-zinc-400 md:flex-row md:space-x-2 md:space-y-0 md:text-[16px]" >
58+ < div className = "flex flex-col items-start space-x-0 space-y-2 text-sm text-zinc-600 md:flex-row md:space-x-2 md:space-y-0 md:text-[16px] dark:text-zinc-400 " >
5559 < span >
5660 Beautifully File & Folder Icons for your React projects .
5761 </ span >
5862 </ div >
5963 </ div >
6064 </ div >
61- < div className = "flex w-full flex-col items-center space-x-0 space-y-4 md:w-auto md:flex-row md:space-x-4 md:space-y-0" >
65+ < div className = "mb-1 flex w-full flex-col items-center space-x-0 space-y-4 md:w-auto md:flex-row md:space-x-4 md:space-y-0" >
6266 < InstallCommand className = "w-full md:w-auto" />
6367 < Divider className = "hidden md:block" />
64- < nav className = "container flex items-center space-x-2 overflow-y-auto md:w-auto" >
68+ < nav className = "container flex items-center space-x-2 overflow-y-auto pb-1 md:w-auto" >
6569 < ExternalLink
6670 title = "NPM Package"
6771 href = "https://www.npmjs.com/package/@react-symbols/icons"
@@ -73,7 +77,7 @@ const Header = (props: iHeaderProps) => {
7377 height = { 13 }
7478 width = { 13 }
7579 strokeWidth = { 2 }
76- className = "text-zinc-400 transition-transform duration-200 group-hover:translate-x-[0.1rem] group-hover:text-white"
80+ className = { arrowClasses }
7781 />
7882 </ ExternalLink >
7983 < ExternalLink
@@ -87,7 +91,7 @@ const Header = (props: iHeaderProps) => {
8791 height = { 13 }
8892 width = { 13 }
8993 strokeWidth = { 2 }
90- className = "text-zinc-400 transition-transform duration-200 group-hover:translate-x-[0.07rem] group-hover:text-white"
94+ className = { arrowClasses }
9195 />
9296 </ ExternalLink >
9397 < ExternalLink
@@ -101,7 +105,7 @@ const Header = (props: iHeaderProps) => {
101105 height = { 13 }
102106 width = { 13 }
103107 strokeWidth = { 2 }
104- className = "text-zinc-400 transition-transform duration-200 group-hover:translate-x-[0.07rem] group-hover:text-white"
108+ className = { arrowClasses }
105109 />
106110 </ ExternalLink >
107111 < ExternalLink
@@ -115,7 +119,7 @@ const Header = (props: iHeaderProps) => {
115119 height = { 13 }
116120 width = { 13 }
117121 strokeWidth = { 2 }
118- className = "text-zinc-400 transition-transform duration-200 group-hover:translate-x-[0.07rem] group-hover:text-white"
122+ className = { arrowClasses }
119123 />
120124 </ ExternalLink >
121125 </ nav >
0 commit comments