CRAB FIT
Create your own
{(!!event || isLoading) ? (
<>
{event?.name}
navigator.clipboard?.writeText(`https://crab.fit/${id}`)
.then(() => {
setCopied('Copied!');
setTimeout(() => setCopied(null), 1000);
gtag('event', 'copy_link', {
'event_category': 'event',
});
})
.catch((e) => console.error('Failed to copy', e))
}
title={!!navigator.clipboard ? 'Click to copy' : ''}
>{copied ?? `https://crab.fit/${id}`}
{!!event?.name &&
<>Copy the link to this page, or share via gtag('event', 'send_email', { 'event_category': 'event' })} href={`mailto:?subject=${encodeURIComponent(`Scheduling ${event?.name}`)}&body=${encodeURIComponent(`Visit this link to enter your availabilities: https://crab.fit/${id}`)}`}>email.>
}
>
) : (
offline ? (
You are offline
A Crab Fit doesn't work offline.
Make sure you're connected to the internet and try again.
) : (
Event not found
Check that the url you entered is correct.
)
)}
{(!!event || isLoading) && (
<>