From 3e36fe10d6bca6d856037427b1d5cf9329bc45c7 Mon Sep 17 00:00:00 2001 From: yuriassuncx Date: Tue, 22 Oct 2024 12:32:12 -0300 Subject: [PATCH] fix: Brands fixed --- components/ui/ThirdBanners.tsx | 17 ++++++++++--- sections/Content/Brands.tsx | 4 ++-- static/sprites.svg | 44 +++++++++++++++++----------------- 3 files changed, 38 insertions(+), 27 deletions(-) diff --git a/components/ui/ThirdBanners.tsx b/components/ui/ThirdBanners.tsx index c30a1b9..05be7c1 100644 --- a/components/ui/ThirdBanners.tsx +++ b/components/ui/ThirdBanners.tsx @@ -14,6 +14,8 @@ export interface Banner { */ link: string; target?: "_blank" | "_self"; + width?: number; + height?: number; } export interface Props { @@ -26,7 +28,16 @@ export interface Props { } function BannerCard( - { image, alt, title, description, link = "#", target = "_blank" }: Banner, + { + image, + alt, + title, + description, + link = "#", + target = "_blank", + width, + height, + }: Banner, ) { return (
@@ -36,8 +47,8 @@ function BannerCard( > {alt} - + - - - - - - - - - + + + + + + + + + - - - - + + + + - - - + + + - - - + + +