|
|
@@ -113,9 +113,11 @@ export default (({ user }: Props) => { |
|
|
{inboundSharedId === `page-${ id }` && ( |
|
|
{inboundSharedId === `page-${ id }` && ( |
|
|
<motion.div |
|
|
<motion.div |
|
|
layoutId={inboundSharedId} |
|
|
layoutId={inboundSharedId} |
|
|
className="absolute top-4 left-4 w-[640px] max-w-full h-[360px] |
|
|
|
|
|
overflow-hidden rounded-xl shadow pointer-events-none |
|
|
|
|
|
opacity-0 z-10"> |
|
|
|
|
|
|
|
|
className="absolute top-4 left-4 w-[min(640px,calc(100vw-2rem))] h-[360px] |
|
|
|
|
|
overflow-hidden rounded-xl pointer-events-none z-50" |
|
|
|
|
|
initial={{ opacity: 1 }} |
|
|
|
|
|
animate={{ opacity: 0 }} |
|
|
|
|
|
transition={{ duration: .2, ease: 'easeOut' }}> |
|
|
<img src={post.thumbnail || post.thumbnailBase || undefined} |
|
|
<img src={post.thumbnail || post.thumbnailBase || undefined} |
|
|
alt={post.title || post.url} |
|
|
alt={post.title || post.url} |
|
|
title={post.title || post.url || undefined} |
|
|
title={post.title || post.url || undefined} |
|
|
|