Changed link colour to cyan and changed cards to be same w and h, with centered text

This commit is contained in:
Martin Berg Alstad
2022-12-21 21:58:15 +01:00
parent b62f2611ea
commit ac8d7936da
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ const Card: Component<CardProps> = ({ children, className, title, to, newTab = f
<>
<Link className={ "text-white" } to={ to } newTab={ newTab }>
<div
class={ `relative bg-gradient-to-r from-cyan-600 to-cyan-500 min-w-64 rounded-2xl ${ className }` }>
class={ `relative bg-gradient-to-r from-cyan-600 to-cyan-500 h-32 w-64 rounded-2xl ${ className }` }>
<div class="relative p-5">
<H3 className={ "text-center" }>{ title }</H3>
{ children }