diff --git a/src/components/experience-card.astro b/src/components/experience-card.astro index 69d0d5a..a4a3dbd 100644 --- a/src/components/experience-card.astro +++ b/src/components/experience-card.astro @@ -8,7 +8,7 @@ interface Props { title: string; link?: { label: string; uri: string }; notAvailable?: boolean; - image?: { uri: string; breakpoint: string }; + image?: string; tech?: string[]; } const { @@ -28,21 +28,11 @@ const { const logoCss = `h-16 w-16 rounded-xl mr-4 ${ logoTransparentBackground === true ? "p-2 bg-white" : "" }`; - -// Card behavior with and without image -const cardCss = `${ - image - ? `${image.breakpoint}:flex ${image.breakpoint}:flex-row-reverse items-stretch justify-between` - : "" -} w-full rounded-2xl ${backgroundColor}`; - -// Image behavior -const imageCss = `flex ${image?.breakpoint}:w-1/2 grow ${image?.breakpoint}:rounded-tl-none ${image?.breakpoint}:rounded-r-2xl rounded-t-2xl object-cover`; --- -
canvas.place is a shared place to express creativity.