import { Lightbox } from 'shared/components/lightbox.mjs' import { ImageWrapper } from 'shared/components/wrappers/img.mjs' import { Author } from './author.mjs' import { TimeAgo, ns as timeagoNs } from 'shared/components/timeago/index.mjs' import { useTranslation } from 'next-i18next' import { MdxWrapper } from 'shared/components/wrappers/mdx.mjs' import { cloudflareImageUrl } from 'shared/utils.mjs' import Markdown from 'react-markdown' import { nsMerge } from 'shared/utils.mjs' import { Tag } from 'shared/components/tag.mjs' import { Popout } from 'shared/components/popout/index.mjs' export const ns = nsMerge('common', 'posts', timeagoNs) export const PostArticle = (props) => { const { t } = useTranslation('common') return (
We cannot link authors/makers to their FreeSewing accounts (yet)

This is a known issue that I decided not to block the v3 release for. I will take care of this later.

If you are the author of this post, you can reach out so I can correctly attribute it.

) } // const PostMeta = ({ frontmatter, t }) => (
{frontmatter.designs?.map((design) => ( {design} ))}
By{' '} {frontmatter.author || frontmatter.maker || 'FIXME: No displayname'}
) const PostImage = ({ imgId, frontmatter }) => (
{frontmatter.caption}
) //const PostAuthor = ({ frontmatter }) => ( //
// //
//) const PostContent = (props) => props.MDX ? : const PostMDXContent = ({ MDX }) => (
{MDX}
) const PostPreviewContent = ({ body }) => (
{body}
)