Add Unsplash picker

Closes #413
This commit is contained in:
Baptiste Arnaud
2023-03-29 15:20:01 +02:00
parent 80b7dbd19e
commit 3ef4efab4e
13 changed files with 295 additions and 16 deletions

View File

@@ -13,6 +13,7 @@ export const TextLink = ({
scroll,
prefetch,
isExternal,
noOfLines,
...textProps
}: TextLinkProps) => (
<Link
@@ -26,7 +27,9 @@ export const TextLink = ({
<chakra.span textDecor="underline" display="inline-block" {...textProps}>
{isExternal ? (
<HStack spacing={1}>
<chakra.span>{children}</chakra.span>
<chakra.span noOfLines={noOfLines} maxW="100%">
{children}
</chakra.span>
<ExternalLinkIcon />
</HStack>
) : (