Release 2025-05-23-9Gto
This commit is contained in:
@@ -46,7 +46,7 @@ export const {
|
|||||||
{
|
{
|
||||||
type: 'whatsapp',
|
type: 'whatsapp',
|
||||||
label: 'WhatsApp',
|
label: 'WhatsApp',
|
||||||
matcher: /https?:\/\/(?:www\.)?wa\.me\/(.*)\/?/,
|
matcher: /https?:\/\/(?:www\.)?wa\.me\/(.*)?/,
|
||||||
formatter: (value) => {
|
formatter: (value) => {
|
||||||
return parsePhoneNumberWithError(value).formatInternational()
|
return parsePhoneNumberWithError(value).formatInternational()
|
||||||
},
|
},
|
||||||
@@ -55,14 +55,14 @@ export const {
|
|||||||
{
|
{
|
||||||
type: 'telegram',
|
type: 'telegram',
|
||||||
label: 'Telegram',
|
label: 'Telegram',
|
||||||
matcher: /https?:\/\/(?:www\.)?t\.me\/(.*)\/?/,
|
matcher: /https?:\/\/(?:www\.)?t\.me\/(.*)?/,
|
||||||
formatter: (value) => `t.me/${value}`,
|
formatter: (value) => `t.me/${value}`,
|
||||||
icon: 'ri:telegram-line',
|
icon: 'ri:telegram-line',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'linkedin',
|
type: 'linkedin',
|
||||||
label: 'LinkedIn',
|
label: 'LinkedIn',
|
||||||
matcher: /https?:\/\/(?:www\.)?linkedin\.com\/(?:in|company)\/(.*)\/?/,
|
matcher: /https?:\/\/(?:www\.)?linkedin\.com\/(?:in|company)\/(.*)?/,
|
||||||
formatter: (value) => `in/${value}`,
|
formatter: (value) => `in/${value}`,
|
||||||
icon: 'ri:linkedin-box-line',
|
icon: 'ri:linkedin-box-line',
|
||||||
},
|
},
|
||||||
@@ -76,21 +76,21 @@ export const {
|
|||||||
{
|
{
|
||||||
type: 'x',
|
type: 'x',
|
||||||
label: 'X',
|
label: 'X',
|
||||||
matcher: /https?:\/\/(?:www\.)?x\.com\/(.*)\/?/,
|
matcher: /https?:\/\/(?:www\.)?x\.com\/(.*)?/,
|
||||||
formatter: (value) => `@${value}`,
|
formatter: (value) => `@${value}`,
|
||||||
icon: 'ri:twitter-x-line',
|
icon: 'ri:twitter-x-line',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'instagram',
|
type: 'instagram',
|
||||||
label: 'Instagram',
|
label: 'Instagram',
|
||||||
matcher: /https?:\/\/(?:www\.)?instagram\.com\/(.*)\/?/,
|
matcher: /https?:\/\/(?:www\.)?instagram\.com\/(.*)?/,
|
||||||
formatter: (value) => `@${value}`,
|
formatter: (value) => `@${value}`,
|
||||||
icon: 'ri:instagram-line',
|
icon: 'ri:instagram-line',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'matrix',
|
type: 'matrix',
|
||||||
label: 'Matrix',
|
label: 'Matrix',
|
||||||
matcher: /https?:\/\/(?:www\.)?matrix\.to\/#\/(.*)\/?/,
|
matcher: /https?:\/\/(?:www\.)?matrix\.to\/#\/(.*)?/,
|
||||||
formatter: (value) => value,
|
formatter: (value) => value,
|
||||||
icon: 'ri:hashtag',
|
icon: 'ri:hashtag',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -405,8 +405,7 @@ const errorTextClasses = 'mt-1 text-xs text-red-400'
|
|||||||
}))}
|
}))}
|
||||||
selectedValue={service.serviceVisibility}
|
selectedValue={service.serviceVisibility}
|
||||||
error={serviceInputErrors.serviceVisibility}
|
error={serviceInputErrors.serviceVisibility}
|
||||||
cardSize="md"
|
cardSize="sm"
|
||||||
iconSize="md"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user