mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-05 21:04:43 +08:00
♻️ Migrate Link components off of Chakra UI
This commit is contained in:
parent
3e84e6e730
commit
9871692e51
@ -4,7 +4,6 @@ import {
|
||||
Grid,
|
||||
GridItem,
|
||||
HStack,
|
||||
Link,
|
||||
Stack,
|
||||
Text,
|
||||
useColorModeValue,
|
||||
@ -143,12 +142,13 @@ export const UnsplashPicker = ({ imageSize, onImageSelect }: Props) => {
|
||||
forceDebounce
|
||||
width="full"
|
||||
/>
|
||||
<Link
|
||||
isExternal
|
||||
<a
|
||||
target="_blank"
|
||||
href={`https://unsplash.com/?utm_source=${env.NEXT_PUBLIC_UNSPLASH_APP_NAME}&utm_medium=referral`}
|
||||
rel="noopener"
|
||||
>
|
||||
<UnsplashLogo width="80px" fill={unsplashLogoFillColor} />
|
||||
</Link>
|
||||
</a>
|
||||
</HStack>
|
||||
{isDefined(error) && (
|
||||
<Alert.Root variant="error">
|
||||
|
||||
@ -4,7 +4,6 @@ import {
|
||||
Grid,
|
||||
GridItem,
|
||||
HStack,
|
||||
Link,
|
||||
Stack,
|
||||
Text,
|
||||
} from "@chakra-ui/react";
|
||||
@ -145,9 +144,9 @@ export const PexelsPicker = ({ onVideoSelect }: Props) => {
|
||||
width="full"
|
||||
/>
|
||||
</Stack>
|
||||
<Link isExternal href={`https://www.pexels.com`}>
|
||||
<a target="_blank" href={`https://www.pexels.com`} rel="noopener">
|
||||
<PexelsLogo width="100px" height="40px" />
|
||||
</Link>
|
||||
</a>
|
||||
</HStack>
|
||||
<HStack w="full">
|
||||
<BasicSelect
|
||||
|
||||
Loading…
Reference in New Issue
Block a user