some new
This commit is contained in:
@@ -11,8 +11,8 @@ interface typePropData{
|
||||
|
||||
export default function SliderCard({data}:{data:typePropData}) {
|
||||
return (
|
||||
<Link href={data.path} id="news_slider_card" className="group" >
|
||||
<Image src={data.image} alt="slider image" width={1} height={1} />
|
||||
<Link href={data.path} id="news_slider_card" className="group hover:cursor-pointer" >
|
||||
<Image src={data.image} alt="slider image" width={100} height={100} />
|
||||
<div className="relative border flex flex-col items-start justify-start">
|
||||
<div>{data.title}</div>
|
||||
<div>{data.text}</div>
|
||||
|
||||
Reference in New Issue
Block a user