diff --git a/client/src/components/IgMetaBlock.tsx b/client/src/components/IgMetaBlock.tsx new file mode 100644 index 0000000..c0313af --- /dev/null +++ b/client/src/components/IgMetaBlock.tsx @@ -0,0 +1,47 @@ +import ExpandableText from './ExpandableText'; +import type { InstagramMeta } from '../types'; + +interface Props { + ig: InstagramMeta; + entryId?: string; +} + +export default function IgMetaBlock({ ig, entryId }: Props) { + const profileUrl = ig.profile_url || (ig.username ? `https://www.instagram.com/${ig.username}/` : undefined); + const postDate = ig.post_date; + return ( +