Card 3

src/components/card-3.tsx
import { Image } from '@/components/image'
export interface CardLinkData {
id: string
image: string
href: string
alt: string
width?: number | undefined
height?: number | undefined
/** Image size variant to use from metadata - defaults to 'large' */
size?: 'small' | 'medium' | 'large' | 'full'
}
interface Card3Props {
id: string
image: string
href: string
alt: string
width?: number | undefined
height?: number | undefined
/** Image size variant to use from metadata - defaults to 'large' */
size?: 'small' | 'medium' | 'large' | 'full'
}
export function Card3({
id,
image,
href,
alt,
width,
height,
size = 'large',
}: Card3Props) {
return (
<a
key={id}
href={href}
className="group relative focus:outline-none p-10 border border-contrast-dark aspect-square flex justify-center items-center hover:bg-body2/40"
aria-label={alt}
>
{/* Card Container */}
<div className="relative ">
{/* Background Image */}
<Image
src={image}
alt={alt}
width={width}
height={height}
size={size}
className="shadow-lg"
rounded="rounded-lg"
/>
</div>
</a>
)
}

Support

Talk to the developers of this project to learn more

We have been building professional websites for big clients for over 15 years. Gallop templates and blocks is our best foundation for SEO websites and web apps.

© 2026 Web Plant Media, LLC