diff --git a/src/webapp/features/semble/components/sembleActions/GuestSembleActions.tsx b/src/webapp/features/semble/components/sembleActions/GuestSembleActions.tsx new file mode 100644 index 00000000..8875b41f --- /dev/null +++ b/src/webapp/features/semble/components/sembleActions/GuestSembleActions.tsx @@ -0,0 +1,20 @@ +import { Group } from '@mantine/core'; +import { TbPlugConnected } from 'react-icons/tb'; +import { LinkButton } from '@/components/link/MantineLink'; + +export default function GuestSembleActions() { + return ( + + } + > + Log in to connect + + Log in to add + + ); +} diff --git a/src/webapp/features/semble/components/sembleActions/GusetSembleActions.tsx b/src/webapp/features/semble/components/sembleActions/GusetSembleActions.tsx deleted file mode 100644 index 8b9c17ca..00000000 --- a/src/webapp/features/semble/components/sembleActions/GusetSembleActions.tsx +++ /dev/null @@ -1,61 +0,0 @@ -'use client'; - -import { ActionIcon, CopyButton, Group, Tooltip } from '@mantine/core'; -import { MdIosShare } from 'react-icons/md'; -import { notifications } from '@mantine/notifications'; -import { TbPlugConnected } from 'react-icons/tb'; -import { LinkButton } from '@/components/link/MantineLink'; - -interface Props { - url: string; -} - -export default function GuestSembleActions(props: Props) { - const shareLink = - typeof window !== 'undefined' - ? `${window.location.origin}/url?id=${props.url}` - : ''; - - return ( - - - {({ copied, copy }) => ( - - { - copy(); - - if (copied) return; - notifications.show({ - message: 'Link copied!', - position: 'top-center', - id: copied.toString(), - }); - }} - > - - - - )} - - } - > - Log in to connect - - Log in to add - - ); -}