export static
This commit is contained in:
@ -10,7 +10,7 @@ interface Props {
|
||||
|
||||
const EventCard: React.FC<Props> = ({title, description, image}) => {
|
||||
return (
|
||||
<Link href="events/event" className="border-[1px] border-white rounded-[6px] bg-darkGrey px-[13.5px] pt-[12px] pb-[35px] text-black">
|
||||
<Link href="events/event-1" className="border-[1px] border-white rounded-[6px] bg-darkGrey px-[13.5px] pt-[12px] pb-[35px] text-black">
|
||||
{image ? <Image src={image} alt='image' width={288} height={177} /> :
|
||||
<span className="flex w-[288px] h-[177px] bg-white"/>
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ const HumanCard: React.FC<Props> = ({name, description, image, skills,post, vari
|
||||
};
|
||||
|
||||
return (
|
||||
<Link href="/participants/id" className={`${cardStyles[variant].main} backdrop-blur-custom border-[1px] border-white rounded-[6px] bg-darkWhite p-[10px] text-black w-fit shadow-custom`}>
|
||||
<Link href="/participants/1" className={`${cardStyles[variant].main} backdrop-blur-custom border-[1px] border-white rounded-[6px] bg-darkWhite p-[10px] text-black w-fit shadow-custom`}>
|
||||
{image ? <Image src={image} alt='image' width={cardStyles[variant].img.w} height={cardStyles[variant].img.h} /> :
|
||||
<Image src="/images/mok_human.svg" alt='image' width={cardStyles[variant].img.w} height={cardStyles[variant].img.h} className="rotate-[180deg]" />
|
||||
}
|
||||
|
Reference in New Issue
Block a user