From bd68b0d0f95605057578ffa839d439fdb07d7a91 Mon Sep 17 00:00:00 2001 From: imabhaysachan20 <150459720+imabhaysachan20@users.noreply.github.com> Date: Mon, 23 Sep 2024 02:06:08 +0530 Subject: [PATCH] Update BentoGrid.tsx | replaced backgroundColor with backgroundImage for applying the gradient in css gradients are treated as background image not background color. --- components/ui/BentoGrid.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ui/BentoGrid.tsx b/components/ui/BentoGrid.tsx index 8d5b0f4b..45242bbc 100644 --- a/components/ui/BentoGrid.tsx +++ b/components/ui/BentoGrid.tsx @@ -83,7 +83,7 @@ export const BentoGridItem = ({ // add these two // you can generate the color from here https://cssgradient.io/ background: "rgb(4,7,29)", - backgroundColor: + backgroundImage: "linear-gradient(90deg, rgba(4,7,29,1) 0%, rgba(12,14,35,1) 100%)", }} >