Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

✨(frontend) add external link support to LinkButton component

lebaudantoinec26b1b711cea
diff --git a/src/frontend/src/features/home/components/IntroSlider.tsx b/src/frontend/src/features/home/components/IntroSlider.tsx
index 2d3516e1..84f7c2c4 100644
--- a/src/frontend/src/features/home/components/IntroSlider.tsx
+++ b/src/frontend/src/features/home/components/IntroSlider.tsx
@@ -207,6 +207,7 @@ export const IntroSlider = () => {
{slide.isAvailableInBeta && (
<LinkButton
href={BETA_USERS_FORM_URL}
+ target="_blank"
tooltip={t('beta.tooltip')}
variant={'primary'}
size={'sm'}
diff --git a/src/frontend/src/primitives/LinkButton.tsx b/src/frontend/src/primitives/LinkButton.tsx
index e0d871d3..41e9f735 100644
--- a/src/frontend/src/primitives/LinkButton.tsx
+++ b/src/frontend/src/primitives/LinkButton.tsx
@@ -9,6 +9,7 @@ type LinkButtonProps = RecipeVariantProps<ButtonRecipe> &
TooltipWrapperProps & {
// Use tooltip as description below the button.
description?: boolean
+ target?: string
}
export const LinkButton = ({