mirror of
https://github.com/logto-io/logto.git
synced 2025-02-17 22:04:19 -05:00
feat(core,connectors): update Aliyun logo and add logo_dark to Apple, Github (#1194)
* feat(core,connectors): add logoDark to connector metadata * feat(connectors): update Aliyun logo and add logoDark for Apple, Github
This commit is contained in:
parent
ffe3f18eec
commit
98f808320b
25 changed files with 46 additions and 5 deletions
|
@ -31,6 +31,7 @@ export const defaultMetadata: ConnectorMetadata = {
|
|||
'zh-CN': '支付宝',
|
||||
},
|
||||
logo: './logo.svg',
|
||||
logoDark: null,
|
||||
description: {
|
||||
en: 'Sign In with Alipay',
|
||||
'zh-CN': '支付宝登录',
|
||||
|
|
|
@ -32,6 +32,7 @@ export const defaultMetadata: ConnectorMetadata = {
|
|||
'zh-CN': '支付宝',
|
||||
},
|
||||
logo: './logo.svg',
|
||||
logoDark: null,
|
||||
description: {
|
||||
en: 'Sign In with Alipay',
|
||||
'zh-CN': '支付宝登录',
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M4.71942 6.071C3.80784 6.2585 2.82876 6.98664 2.42188 7.78477C2.015 8.58291 2 8.77916 2 12.1389C2 13.9317 2.03 15.4083 2.075 15.639C2.34251 17.0065 3.4119 18.0759 4.77942 18.3434C5.1938 18.4184 10.5873 18.4565 10.5873 18.3734C10.5873 18.3131 10.1279 16.5052 10.1051 16.4827C10.0976 16.4677 9.14074 16.2568 7.98072 16.0077C5.2763 15.4202 5.35568 15.4427 5.13317 15.1715L4.93723 14.938V9.46918L5.13317 9.23167C5.35911 8.96042 5.2763 8.98323 7.98072 8.39541L10.1051 7.9204C10.1283 7.90478 10.5876 6.09662 10.5876 6.03975C10.5876 5.96787 5.0813 6.00225 4.71942 6.07725V6.071ZM13.4502 6.08225C13.4577 6.21787 13.8796 7.87509 13.9252 7.9204C13.9402 7.9429 14.9721 8.17665 16.2077 8.4401C17.4434 8.70354 18.5431 8.97135 18.6409 9.02761C18.7734 9.10448 18.8846 9.21323 18.965 9.34386C19.0856 9.5548 19.1006 9.78074 19.1006 12.2064C19.1006 14.6321 19.0856 14.858 18.965 15.0689C18.8828 15.198 18.7719 15.3062 18.6409 15.3852C18.5431 15.4383 17.4534 15.7015 16.2077 15.9727L13.9252 16.4962C13.8799 16.5415 13.458 18.1987 13.4502 18.3343C13.4502 18.4171 13.9927 18.4321 16.373 18.4093C19.6543 18.3793 19.695 18.3718 20.5312 17.8068C21.1319 17.3934 21.5856 16.7999 21.8269 16.1118C22 15.6071 22 15.5618 22 12.2095C22 8.85729 22 8.81198 21.8269 8.30728C21.5855 7.61926 21.1318 7.02571 20.5312 6.61226C19.695 6.04787 19.6575 6.03975 16.373 6.01006C13.9927 5.98756 13.4502 5.99881 13.4502 6.08506V6.08225ZM10.0876 12.0517C10.0635 12.1323 10.0584 12.2173 10.0726 12.3002C10.0951 12.4252 10.2308 12.4358 12.0008 12.4583L13.8992 12.4733V11.9461H12.0189C10.4445 11.9461 10.1204 11.9611 10.0908 12.0514L10.0876 12.0517Z" fill="#373C41"/>
|
||||
<path d="M4.71942 6.071C3.80784 6.2585 2.82876 6.98664 2.42188 7.78477C2.015 8.58291 2 8.77916 2 12.1389C2 13.9317 2.03 15.4083 2.075 15.639C2.34251 17.0065 3.4119 18.0759 4.77942 18.3434C5.1938 18.4184 10.5873 18.4565 10.5873 18.3734C10.5873 18.3131 10.1279 16.5052 10.1051 16.4827C10.0976 16.4677 9.14074 16.2568 7.98072 16.0077C5.2763 15.4202 5.35568 15.4427 5.13317 15.1715L4.93723 14.938V9.46918L5.13317 9.23167C5.35911 8.96042 5.2763 8.98323 7.98072 8.39541L10.1051 7.9204C10.1283 7.90478 10.5876 6.09662 10.5876 6.03975C10.5876 5.96787 5.0813 6.00225 4.71942 6.07725V6.071ZM13.4502 6.08225C13.4577 6.21787 13.8796 7.87509 13.9252 7.9204C13.9402 7.9429 14.9721 8.17665 16.2077 8.4401C17.4434 8.70354 18.5431 8.97135 18.6409 9.02761C18.7734 9.10448 18.8846 9.21323 18.965 9.34386C19.0856 9.5548 19.1006 9.78074 19.1006 12.2064C19.1006 14.6321 19.0856 14.858 18.965 15.0689C18.8828 15.198 18.7719 15.3062 18.6409 15.3852C18.5431 15.4383 17.4534 15.7015 16.2077 15.9727L13.9252 16.4962C13.8799 16.5415 13.458 18.1987 13.4502 18.3343C13.4502 18.4171 13.9927 18.4321 16.373 18.4093C19.6543 18.3793 19.695 18.3718 20.5312 17.8068C21.1319 17.3934 21.5856 16.7999 21.8269 16.1118C22 15.6071 22 15.5618 22 12.2095C22 8.85729 22 8.81198 21.8269 8.30728C21.5855 7.61926 21.1318 7.02571 20.5312 6.61226C19.695 6.04787 19.6575 6.03975 16.373 6.01006C13.9927 5.98756 13.4502 5.99881 13.4502 6.08506V6.08225ZM10.0876 12.0517C10.0635 12.1323 10.0584 12.2173 10.0726 12.3002C10.0951 12.4252 10.2308 12.4358 12.0008 12.4583L13.8992 12.4733V11.9461H12.0189C10.4445 11.9461 10.1204 11.9611 10.0908 12.0514L10.0876 12.0517Z" fill="#FF6A00"/>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
@ -29,6 +29,7 @@ export const defaultMetadata: ConnectorMetadata = {
|
|||
'zh-CN': '阿里云邮件推送',
|
||||
},
|
||||
logo: './logo.svg',
|
||||
logoDark: null,
|
||||
description: {
|
||||
en: 'A simple and efficient email service to help you send transactional notifications and batch email.',
|
||||
'zh-CN':
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M4.71942 6.071C3.80784 6.2585 2.82876 6.98664 2.42188 7.78477C2.015 8.58291 2 8.77916 2 12.1389C2 13.9317 2.03 15.4083 2.075 15.639C2.34251 17.0065 3.4119 18.0759 4.77942 18.3434C5.1938 18.4184 10.5873 18.4565 10.5873 18.3734C10.5873 18.3131 10.1279 16.5052 10.1051 16.4827C10.0976 16.4677 9.14074 16.2568 7.98072 16.0077C5.2763 15.4202 5.35568 15.4427 5.13317 15.1715L4.93723 14.938V9.46918L5.13317 9.23167C5.35911 8.96042 5.2763 8.98323 7.98072 8.39541L10.1051 7.9204C10.1283 7.90478 10.5876 6.09662 10.5876 6.03975C10.5876 5.96787 5.0813 6.00225 4.71942 6.07725V6.071ZM13.4502 6.08225C13.4577 6.21787 13.8796 7.87509 13.9252 7.9204C13.9402 7.9429 14.9721 8.17665 16.2077 8.4401C17.4434 8.70354 18.5431 8.97135 18.6409 9.02761C18.7734 9.10448 18.8846 9.21323 18.965 9.34386C19.0856 9.5548 19.1006 9.78074 19.1006 12.2064C19.1006 14.6321 19.0856 14.858 18.965 15.0689C18.8828 15.198 18.7719 15.3062 18.6409 15.3852C18.5431 15.4383 17.4534 15.7015 16.2077 15.9727L13.9252 16.4962C13.8799 16.5415 13.458 18.1987 13.4502 18.3343C13.4502 18.4171 13.9927 18.4321 16.373 18.4093C19.6543 18.3793 19.695 18.3718 20.5312 17.8068C21.1319 17.3934 21.5856 16.7999 21.8269 16.1118C22 15.6071 22 15.5618 22 12.2095C22 8.85729 22 8.81198 21.8269 8.30728C21.5855 7.61926 21.1318 7.02571 20.5312 6.61226C19.695 6.04787 19.6575 6.03975 16.373 6.01006C13.9927 5.98756 13.4502 5.99881 13.4502 6.08506V6.08225ZM10.0876 12.0517C10.0635 12.1323 10.0584 12.2173 10.0726 12.3002C10.0951 12.4252 10.2308 12.4358 12.0008 12.4583L13.8992 12.4733V11.9461H12.0189C10.4445 11.9461 10.1204 11.9611 10.0908 12.0514L10.0876 12.0517Z" fill="#373C41"/>
|
||||
<path d="M4.71942 6.071C3.80784 6.2585 2.82876 6.98664 2.42188 7.78477C2.015 8.58291 2 8.77916 2 12.1389C2 13.9317 2.03 15.4083 2.075 15.639C2.34251 17.0065 3.4119 18.0759 4.77942 18.3434C5.1938 18.4184 10.5873 18.4565 10.5873 18.3734C10.5873 18.3131 10.1279 16.5052 10.1051 16.4827C10.0976 16.4677 9.14074 16.2568 7.98072 16.0077C5.2763 15.4202 5.35568 15.4427 5.13317 15.1715L4.93723 14.938V9.46918L5.13317 9.23167C5.35911 8.96042 5.2763 8.98323 7.98072 8.39541L10.1051 7.9204C10.1283 7.90478 10.5876 6.09662 10.5876 6.03975C10.5876 5.96787 5.0813 6.00225 4.71942 6.07725V6.071ZM13.4502 6.08225C13.4577 6.21787 13.8796 7.87509 13.9252 7.9204C13.9402 7.9429 14.9721 8.17665 16.2077 8.4401C17.4434 8.70354 18.5431 8.97135 18.6409 9.02761C18.7734 9.10448 18.8846 9.21323 18.965 9.34386C19.0856 9.5548 19.1006 9.78074 19.1006 12.2064C19.1006 14.6321 19.0856 14.858 18.965 15.0689C18.8828 15.198 18.7719 15.3062 18.6409 15.3852C18.5431 15.4383 17.4534 15.7015 16.2077 15.9727L13.9252 16.4962C13.8799 16.5415 13.458 18.1987 13.4502 18.3343C13.4502 18.4171 13.9927 18.4321 16.373 18.4093C19.6543 18.3793 19.695 18.3718 20.5312 17.8068C21.1319 17.3934 21.5856 16.7999 21.8269 16.1118C22 15.6071 22 15.5618 22 12.2095C22 8.85729 22 8.81198 21.8269 8.30728C21.5855 7.61926 21.1318 7.02571 20.5312 6.61226C19.695 6.04787 19.6575 6.03975 16.373 6.01006C13.9927 5.98756 13.4502 5.99881 13.4502 6.08506V6.08225ZM10.0876 12.0517C10.0635 12.1323 10.0584 12.2173 10.0726 12.3002C10.0951 12.4252 10.2308 12.4358 12.0008 12.4583L13.8992 12.4733V11.9461H12.0189C10.4445 11.9461 10.1204 11.9611 10.0908 12.0514L10.0876 12.0517Z" fill="#FF6A00"/>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
@ -45,6 +45,7 @@ export const defaultMetadata: ConnectorMetadata = {
|
|||
'zh-CN': '阿里云短信服务',
|
||||
},
|
||||
logo: './logo.svg',
|
||||
logoDark: null,
|
||||
description: {
|
||||
en: 'Short Message Service (SMS) has a batch sending feature and various API operations to send one-time password (OTP) messages, notification messages, and promotional messages to customers.',
|
||||
'zh-CN':
|
||||
|
|
3
packages/connector-apple/logo-dark.svg
Normal file
3
packages/connector-apple/logo-dark.svg
Normal file
|
@ -0,0 +1,3 @@
|
|||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M17.4582 12.6254C17.4671 11.86 17.67 11.1094 18.048 10.4438C18.426 9.77824 18.9668 9.2195 19.6196 8.81989C19.2047 8.22904 18.6584 7.74242 18.0237 7.39821C17.389 7.054 16.6832 6.86159 15.9616 6.83606C14.4039 6.67816 12.9223 7.75299 12.133 7.75299C11.3433 7.75299 10.124 6.85925 8.83216 6.88391C7.98434 6.90748 7.15718 7.1509 6.43173 7.59032C5.70628 8.02974 5.10742 8.65008 4.69384 9.39056C2.93145 12.4507 4.24399 16.9843 5.96148 19.4673C6.80193 20.6812 7.80376 22.0485 9.11925 21.9987C10.387 21.9488 10.8654 21.1799 12.396 21.1799C13.927 21.1799 14.3576 21.9987 15.6968 21.9739C17.0597 21.9488 17.9248 20.735 18.7584 19.5165C19.3551 18.6404 19.8213 17.6822 20.1425 16.6721C19.349 16.3332 18.6719 15.7694 18.1949 15.0503C17.718 14.3312 17.4619 13.4883 17.4582 12.6254ZM14.9414 5.1933C15.6962 4.30799 16.0702 3.16004 15.9817 2C14.8421 2.11054 13.788 2.65288 13.0355 3.51581C12.6601 3.93385 12.3726 4.4232 12.1903 4.9547C12.0081 5.4862 11.9347 6.04897 11.9745 6.60944C12.5446 6.61731 13.1089 6.49364 13.6234 6.24803C14.138 6.00243 14.589 5.64151 14.9414 5.1933Z" fill="white"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.2 KiB |
|
@ -9,7 +9,8 @@
|
|||
"files": [
|
||||
"lib",
|
||||
"docs",
|
||||
"logo.svg"
|
||||
"logo.svg",
|
||||
"logo-dark.svg"
|
||||
],
|
||||
"scripts": {
|
||||
"precommit": "lint-staged",
|
||||
|
|
|
@ -29,6 +29,7 @@ export const defaultMetadata: ConnectorMetadata = {
|
|||
'zh-CN': 'Apple',
|
||||
},
|
||||
logo: './logo.svg',
|
||||
logoDark: './logo-dark.svg',
|
||||
description: {
|
||||
en: 'Sign In with Apple',
|
||||
'zh-CN': 'Apple 登录',
|
||||
|
|
|
@ -34,6 +34,7 @@ export const defaultMetadata: ConnectorMetadata = {
|
|||
'zh-CN': 'Facebook',
|
||||
},
|
||||
logo: './logo.svg',
|
||||
logoDark: null,
|
||||
description: {
|
||||
en: 'Sign In with Facebook',
|
||||
'zh-CN': 'Facebook 登录',
|
||||
|
|
3
packages/connector-github/logo-dark.svg
Normal file
3
packages/connector-github/logo-dark.svg
Normal file
|
@ -0,0 +1,3 @@
|
|||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M12 2.24658C9.62547 2.24668 7.32846 3.0917 5.51996 4.63043C3.71146 6.16916 2.5095 8.3012 2.12913 10.6451C1.74876 12.9889 2.21481 15.3917 3.4439 17.4233C4.67298 19.455 6.58488 20.9831 8.83752 21.7341C9.33752 21.8216 9.52502 21.5216 9.52502 21.2591C9.52502 21.0216 9.51251 20.2341 9.51251 19.3966C7 19.8591 6.35 18.7841 6.15 18.2216C5.92807 17.6745 5.57627 17.1897 5.125 16.8091C4.775 16.6216 4.275 16.1591 5.11249 16.1466C5.43227 16.1813 5.73898 16.2926 6.00663 16.471C6.27427 16.6494 6.49496 16.8897 6.65 17.1716C6.78677 17.4173 6.97068 17.6336 7.19119 17.8081C7.4117 17.9826 7.66447 18.1118 7.93503 18.1885C8.20559 18.2651 8.48861 18.2876 8.76788 18.2547C9.04714 18.2218 9.31717 18.134 9.56248 17.9966C9.60577 17.4882 9.83234 17.0129 10.2 16.6591C7.975 16.4091 5.65 15.5466 5.65 11.7216C5.63594 10.7278 6.00268 9.76619 6.675 9.03411C6.36928 8.17033 6.40505 7.2224 6.775 6.38411C6.775 6.38411 7.61247 6.1216 9.525 7.40911C11.1613 6.95909 12.8887 6.95909 14.525 7.40911C16.4375 6.10911 17.275 6.38411 17.275 6.38411C17.645 7.22238 17.6808 8.17034 17.375 9.03411C18.0493 9.76494 18.4164 10.7273 18.4 11.7216C18.4 15.5591 16.0625 16.4091 13.8375 16.6591C14.0761 16.901 14.2599 17.1914 14.3764 17.5106C14.4929 17.8298 14.5393 18.1704 14.5125 18.5091C14.5125 19.8466 14.5 20.9216 14.5 21.2591C14.5 21.5216 14.6875 21.8341 15.1875 21.7341C17.4362 20.977 19.3426 19.4453 20.5664 17.4126C21.7903 15.3799 22.2519 12.9784 21.8689 10.6368C21.4859 8.29523 20.2832 6.16595 18.4755 4.62909C16.6678 3.09223 14.3727 2.24782 12 2.24658Z" fill="white"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.6 KiB |
|
@ -9,7 +9,8 @@
|
|||
"files": [
|
||||
"lib",
|
||||
"docs",
|
||||
"logo.svg"
|
||||
"logo.svg",
|
||||
"logo-dark.svg"
|
||||
],
|
||||
"scripts": {
|
||||
"precommit": "lint-staged",
|
||||
|
|
|
@ -25,6 +25,7 @@ export const defaultMetadata: ConnectorMetadata = {
|
|||
'zh-CN': 'GitHub',
|
||||
},
|
||||
logo: './logo.svg',
|
||||
logoDark: './logo-dark.svg',
|
||||
description: {
|
||||
en: 'Sign In with GitHub',
|
||||
'zh-CN': 'GitHub登录',
|
||||
|
|
|
@ -25,6 +25,7 @@ export const defaultMetadata: ConnectorMetadata = {
|
|||
'zh-CN': 'Google',
|
||||
},
|
||||
logo: './logo.svg',
|
||||
logoDark: null,
|
||||
description: {
|
||||
en: 'Sign In with Google',
|
||||
'zh-CN': 'Google登录',
|
||||
|
|
|
@ -22,6 +22,7 @@ export const defaultMetadata: ConnectorMetadata = {
|
|||
'zh-CN': 'SendGrid 邮件服务',
|
||||
},
|
||||
logo: './logo.svg',
|
||||
logoDark: null,
|
||||
description: {
|
||||
en: 'Leverage the email service that customer-first brands trust for reliable inbox delivery at scale.',
|
||||
'zh-CN': '客户至上品牌信任的电子邮件服务,实现大规模可靠的收件箱递送。',
|
||||
|
|
|
@ -20,6 +20,7 @@ export const defaultMetadata: ConnectorMetadata = {
|
|||
'zh-CN': 'SMTP',
|
||||
},
|
||||
logo: './logo.svg',
|
||||
logoDark: null,
|
||||
description: {
|
||||
en: 'Simple Mail Transfer Protocol.',
|
||||
'zh-CN': '简单邮件传输协议。',
|
||||
|
|
|
@ -22,6 +22,7 @@ export const defaultMetadata: ConnectorMetadata = {
|
|||
'zh-CN': 'Twilio 短信服务',
|
||||
},
|
||||
logo: './logo.svg',
|
||||
logoDark: null,
|
||||
description: {
|
||||
en: 'Messaging APIs for reliable SMS delivery.',
|
||||
'zh-CN': '可信赖的短信消息 API。',
|
||||
|
|
|
@ -21,6 +21,7 @@ export interface ConnectorMetadata {
|
|||
platform: Nullable<ConnectorPlatform>;
|
||||
name: Record<Language, string>;
|
||||
logo: string;
|
||||
logoDark: Nullable<string>;
|
||||
description: Record<Language, string>;
|
||||
readme: string;
|
||||
configTemplate: string;
|
||||
|
|
|
@ -25,6 +25,7 @@ export const defaultMetadata: ConnectorMetadata = {
|
|||
'zh-CN': '微信',
|
||||
},
|
||||
logo: './logo.svg',
|
||||
logoDark: null,
|
||||
description: {
|
||||
en: 'Sign In with WeChat',
|
||||
'zh-CN': '微信登录',
|
||||
|
|
|
@ -25,6 +25,7 @@ export const defaultMetadata: ConnectorMetadata = {
|
|||
'zh-CN': '微信',
|
||||
},
|
||||
logo: './logo.svg',
|
||||
logoDark: null,
|
||||
description: {
|
||||
en: 'Sign In with WeChat',
|
||||
'zh-CN': '微信登录',
|
||||
|
|
|
@ -27,6 +27,7 @@ const useConnectorGroups = () => {
|
|||
id: item.id, // Take first connector's id as groupId, only used for indexing.
|
||||
name: item.name,
|
||||
logo: item.logo,
|
||||
logoDark: item.logoDark,
|
||||
description: item.description,
|
||||
target: item.target,
|
||||
type: item.type,
|
||||
|
|
|
@ -2,7 +2,7 @@ import { ConnectorDTO } from '@logto/schemas';
|
|||
|
||||
export type ConnectorGroup = Pick<
|
||||
ConnectorDTO,
|
||||
'name' | 'logo' | 'target' | 'type' | 'description'
|
||||
'name' | 'logo' | 'logoDark' | 'target' | 'type' | 'description'
|
||||
> & {
|
||||
id: string;
|
||||
enabled: boolean;
|
||||
|
|
|
@ -11,6 +11,7 @@ export const mockMetadata: ConnectorMetadata = {
|
|||
'zh-CN': '连接器',
|
||||
},
|
||||
logo: './logo.png',
|
||||
logoDark: './logo-dark.png',
|
||||
description: {
|
||||
en: 'Connector',
|
||||
'zh-CN': '连接器',
|
||||
|
|
|
@ -39,6 +39,17 @@ const loadConnectors = async () => {
|
|||
instance.metadata.logo = `data:image/svg+xml;base64,${data.toString('base64')}`;
|
||||
}
|
||||
|
||||
if (
|
||||
packagePath &&
|
||||
instance.metadata.logoDark &&
|
||||
!instance.metadata.logoDark.startsWith('http') &&
|
||||
existsSync(path.join(packagePath, '..', instance.metadata.logoDark))
|
||||
) {
|
||||
const data = readFileSync(path.join(packagePath, '..', instance.metadata.logoDark));
|
||||
// eslint-disable-next-line @silverhand/fp/no-mutation
|
||||
instance.metadata.logoDark = `data:image/svg+xml;base64,${data.toString('base64')}`;
|
||||
}
|
||||
|
||||
return instance;
|
||||
})
|
||||
);
|
||||
|
|
|
@ -19,6 +19,7 @@ export const socialConnectors = [
|
|||
platform: ConnectorPlatform.Web,
|
||||
type: ConnectorType.Social,
|
||||
logo: 'https://user-images.githubusercontent.com/5717882/156983224-7ea0296b-38fa-419d-9515-67e8a9612e09.png',
|
||||
logoDark: null,
|
||||
name: {
|
||||
en: 'Sign in with GitHub',
|
||||
'zh-CN': '使用 GitHub 登录',
|
||||
|
@ -36,6 +37,7 @@ export const socialConnectors = [
|
|||
platform: ConnectorPlatform.Web,
|
||||
type: ConnectorType.Social,
|
||||
logo: 'https://user-images.githubusercontent.com/5717882/156983224-7ea0296b-38fa-419d-9515-67e8a9612e09.png',
|
||||
logoDark: null,
|
||||
name: {
|
||||
en: 'Sign in with Alipay',
|
||||
'zh-CN': '使用 Alipay 登录',
|
||||
|
@ -53,6 +55,7 @@ export const socialConnectors = [
|
|||
platform: ConnectorPlatform.Web,
|
||||
type: ConnectorType.Social,
|
||||
logo: 'https://user-images.githubusercontent.com/5717882/156983224-7ea0296b-38fa-419d-9515-67e8a9612e09.png',
|
||||
logoDark: null,
|
||||
name: {
|
||||
en: 'Sign in with WeChat',
|
||||
'zh-CN': '使用 WeChat 登录',
|
||||
|
@ -70,6 +73,7 @@ export const socialConnectors = [
|
|||
platform: ConnectorPlatform.Web,
|
||||
type: ConnectorType.Social,
|
||||
logo: 'https://user-images.githubusercontent.com/5717882/156983224-7ea0296b-38fa-419d-9515-67e8a9612e09.png',
|
||||
logoDark: null,
|
||||
name: {
|
||||
en: 'Sign in with Google',
|
||||
'zh-CN': '使用 Google 登录',
|
||||
|
@ -84,6 +88,7 @@ export const socialConnectors = [
|
|||
platform: ConnectorPlatform.Web,
|
||||
type: ConnectorType.Social,
|
||||
logo: 'https://user-images.githubusercontent.com/5717882/156983224-7ea0296b-38fa-419d-9515-67e8a9612e09.png',
|
||||
logoDark: null,
|
||||
name: {
|
||||
en: 'Sign in with Meta',
|
||||
'zh-CN': '使用 Meta 登录',
|
||||
|
@ -103,6 +108,7 @@ export const mockSocialConnectorData = {
|
|||
platform: ConnectorPlatform.Web,
|
||||
type: ConnectorType.Social,
|
||||
logo: 'http://logto.dev/logto.png',
|
||||
logoDark: null,
|
||||
name: {
|
||||
en: 'Sign in with Xxx',
|
||||
'zh-CN': '使用 Xxx 登录',
|
||||
|
|
Loading…
Add table
Reference in a new issue