alpha
Login
or
Join now
nandi.uk
/
semble
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
fix: guest semble actions name
author
pdelfan
date
2 months ago
(May 21, 2026, 3:22 PM -0700)
commit
ebaa06ee
ebaa06eef0f36394933cb4c2210526b86c54e9a2
parent
618a6a90
618a6a9038626ead0d54135344c58e2955a0fdb1
+20
-61
2 changed files
Expand all
Collapse all
Unified
Split
src
webapp
features
semble
components
sembleActions
GuestSembleActions.tsx
GusetSembleActions.tsx
+20
src/webapp/features/semble/components/sembleActions/GuestSembleActions.tsx
View file
Reviewed
···
1
1
+
import { Group } from '@mantine/core';
2
2
+
import { TbPlugConnected } from 'react-icons/tb';
3
3
+
import { LinkButton } from '@/components/link/MantineLink';
4
4
+
5
5
+
export default function GuestSembleActions() {
6
6
+
return (
7
7
+
<Group gap={'xs'}>
8
8
+
<LinkButton
9
9
+
href={'/login'}
10
10
+
variant="light"
11
11
+
color="green"
12
12
+
radius={'xl'}
13
13
+
leftSection={<TbPlugConnected size={18} />}
14
14
+
>
15
15
+
Log in to connect
16
16
+
</LinkButton>
17
17
+
<LinkButton href={'/login'}>Log in to add</LinkButton>
18
18
+
</Group>
19
19
+
);
20
20
+
}
-61
src/webapp/features/semble/components/sembleActions/GusetSembleActions.tsx
Reviewed
···
1
1
-
'use client';
2
2
-
3
3
-
import { ActionIcon, CopyButton, Group, Tooltip } from '@mantine/core';
4
4
-
import { MdIosShare } from 'react-icons/md';
5
5
-
import { notifications } from '@mantine/notifications';
6
6
-
import { TbPlugConnected } from 'react-icons/tb';
7
7
-
import { LinkButton } from '@/components/link/MantineLink';
8
8
-
9
9
-
interface Props {
10
10
-
url: string;
11
11
-
}
12
12
-
13
13
-
export default function GuestSembleActions(props: Props) {
14
14
-
const shareLink =
15
15
-
typeof window !== 'undefined'
16
16
-
? `${window.location.origin}/url?id=${props.url}`
17
17
-
: '';
18
18
-
19
19
-
return (
20
20
-
<Group gap={'xs'}>
21
21
-
<CopyButton value={shareLink}>
22
22
-
{({ copied, copy }) => (
23
23
-
<Tooltip
24
24
-
label={copied ? 'Link copied!' : 'Share'}
25
25
-
withArrow
26
26
-
position="top"
27
27
-
>
28
28
-
<ActionIcon
29
29
-
variant="light"
30
30
-
color="gray"
31
31
-
size={36}
32
32
-
radius={'xl'}
33
33
-
onClick={() => {
34
34
-
copy();
35
35
-
36
36
-
if (copied) return;
37
37
-
notifications.show({
38
38
-
message: 'Link copied!',
39
39
-
position: 'top-center',
40
40
-
id: copied.toString(),
41
41
-
});
42
42
-
}}
43
43
-
>
44
44
-
<MdIosShare size={22} />
45
45
-
</ActionIcon>
46
46
-
</Tooltip>
47
47
-
)}
48
48
-
</CopyButton>
49
49
-
<LinkButton
50
50
-
href={'/login'}
51
51
-
variant="light"
52
52
-
color="green"
53
53
-
radius={'xl'}
54
54
-
leftSection={<TbPlugConnected size={18} />}
55
55
-
>
56
56
-
Log in to connect
57
57
-
</LinkButton>
58
58
-
<LinkButton href={'/login'}>Log in to add</LinkButton>
59
59
-
</Group>
60
60
-
);
61
61
-
}