♻️ Migrate Link components off of Chakra UI

This commit is contained in:
Baptiste Arnaud 2025-10-16 17:37:58 +02:00
parent 3e84e6e730
commit 9871692e51
No known key found for this signature in database
2 changed files with 6 additions and 7 deletions

View File

@ -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">

View File

@ -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