export static

This commit is contained in:
2025-01-11 17:06:23 +03:00
parent df505ff51d
commit ad5d841b5d
5 changed files with 29 additions and 3 deletions

View File

@ -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"/>
}

View File

@ -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]" />
}