File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ import { MdOutlineRemoveRedEye } from "react-icons/md";
44
55function Card ( ) {
66 const { t } = useTranslation ( ) ;
7+ const buttonStyle =
8+ "bg-accentDarker flex min-w-[120px] cursor-pointer items-center justify-center rounded-full py-2 text-white transition-opacity hover:opacity-80" ;
9+
710 return (
811 < div className = "h-[520px] w-[320px] overflow-hidden rounded-2xl bg-neutral-900 shadow-lg" >
912 < div className = "h-[200px] border-b border-accent bg-[url('/images/marv.jpg')] bg-cover" > </ div >
@@ -21,14 +24,14 @@ function Card() {
2124 </ div >
2225
2326 < div className = "flex justify-center gap-x-4 py-2" >
24- < button className = "bg-accentDarker flex min-w-[120px] items-center justify-center rounded-full py-2 text-white" >
27+ < a className = { ` ${ buttonStyle } ` } >
2528 < FaGithub size = { "24" } className = "mr-2" />
2629 Github
27- </ button >
30+ </ a >
2831
29- < button className = "bg-accentDarker flex min-w-[120px] items-center justify-center rounded-full py-2 text-white" >
32+ < a className = { ` ${ buttonStyle } ` } >
3033 < MdOutlineRemoveRedEye size = { "24" } className = "mr-2" /> Demo
31- </ button >
34+ </ a >
3235 </ div >
3336 </ div >
3437 </ div >
You can’t perform that action at this time.
0 commit comments