Skip to content

Commit

Permalink
Image fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pandyrew committed Jan 18, 2025
1 parent 798d39e commit a1c63e1
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import React, { useEffect, useState } from "react";
import box from "@/assets/images/center_chat_box.svg";
import boxBG from "@/assets/images/center_chat_box_bg.svg";
import Link from "next/link";
import Image from "next/image";

export const InfiniteMovingCards = ({
items,
Expand Down Expand Up @@ -95,7 +96,7 @@ export const InfiniteMovingCards = ({
>
{/* Background chat box - positioned slightly offset */}
<div className="absolute inset-0 -right-1 -bottom-1">
<img
<Image
src={boxBG}
alt="Box Background"
className="w-full h-full object-contain"
Expand All @@ -105,7 +106,7 @@ export const InfiniteMovingCards = ({

{/* Main chat box */}
<div className="absolute inset-0">
<img
<Image
src={box}
alt="Box"
className="w-full h-full object-contain"
Expand Down

0 comments on commit a1c63e1

Please sign in to comment.