0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

refactor: update banner style (#3478)

This commit is contained in:
Gao Sun 2023-03-19 10:44:18 +08:00 committed by GitHub
parent be5afb41aa
commit 79bed6e23a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 13 additions and 15 deletions

View file

@ -1,19 +1,19 @@
@use '@/scss/underscore' as _;
.broadcast {
background-color: var(--color-layer-1);
background-color: var(--color-neutral-variant-90);
color: var(--color-neutral-variant-30);
position: absolute;
top: _.unit(4);
left: 50%;
font: var(--font-label-2);
border-radius: 18px;
padding: _.unit(2) _.unit(5);
box-shadow: var(--shadow-2);
border-radius: _.unit(4);
padding: _.unit(1.5) _.unit(4);
user-select: none;
text-align: center;
transform: translateX(-50%);
.link {
margin-left: _.unit(3);
margin-left: _.unit(1);
}
}

View file

@ -62,8 +62,6 @@ export default function signInExperiencesRoutes<T extends AuthedRouter>(
)
);
console.log('???', socialSignInConnectorTargets, filteredSocialSignInConnectorTargets);
if (signUp) {
validateSignUp(signUp, connectors);
}

View file

@ -101,7 +101,7 @@ const cloud = {
'Please avoid using the demo connector for production purposes. Once youve completed testing, kindly delete the demo connector and set up your own connector with your credentials.', // UNTRANSLATED
},
},
broadcast: '📣 You are participating in Logto Cloud Preview', // UNTRANSLATED
broadcast: '📣 You are in Logto Cloud (Preview)', // UNTRANSLATED
socialCallback: {
title: "You've successfully signed in!", // UNTRANSLATED
description:

View file

@ -101,7 +101,7 @@ const cloud = {
'Please avoid using the demo connector for production purposes. Once youve completed testing, kindly delete the demo connector and set up your own connector with your credentials.',
},
},
broadcast: '📣 You are participating in Logto Cloud Preview',
broadcast: '📣 You are in Logto Cloud (Preview)',
socialCallback: {
title: "You've successfully signed in!",
description:

View file

@ -101,7 +101,7 @@ const cloud = {
'Please avoid using the demo connector for production purposes. Once youve completed testing, kindly delete the demo connector and set up your own connector with your credentials.', // UNTRANSLATED
},
},
broadcast: '📣 You are participating in Logto Cloud Preview', // UNTRANSLATED
broadcast: '📣 You are in Logto Cloud (Preview)', // UNTRANSLATED
socialCallback: {
title: "You've successfully signed in!", // UNTRANSLATED
description:

View file

@ -101,7 +101,7 @@ const cloud = {
'Please avoid using the demo connector for production purposes. Once youve completed testing, kindly delete the demo connector and set up your own connector with your credentials.', // UNTRANSLATED
},
},
broadcast: '📣 You are participating in Logto Cloud Preview', // UNTRANSLATED
broadcast: '📣 You are in Logto Cloud (Preview)', // UNTRANSLATED
socialCallback: {
title: "You've successfully signed in!", // UNTRANSLATED
description:

View file

@ -101,7 +101,7 @@ const cloud = {
'Please avoid using the demo connector for production purposes. Once youve completed testing, kindly delete the demo connector and set up your own connector with your credentials.', // UNTRANSLATED
},
},
broadcast: '📣 You are participating in Logto Cloud Preview', // UNTRANSLATED
broadcast: '📣 You are in Logto Cloud (Preview)', // UNTRANSLATED
socialCallback: {
title: "You've successfully signed in!", // UNTRANSLATED
description:

View file

@ -101,7 +101,7 @@ const cloud = {
'Please avoid using the demo connector for production purposes. Once youve completed testing, kindly delete the demo connector and set up your own connector with your credentials.', // UNTRANSLATED
},
},
broadcast: '📣 You are participating in Logto Cloud Preview', // UNTRANSLATED
broadcast: '📣 You are in Logto Cloud (Preview)', // UNTRANSLATED
socialCallback: {
title: "You've successfully signed in!", // UNTRANSLATED
description:

View file

@ -101,7 +101,7 @@ const cloud = {
'Please avoid using the demo connector for production purposes. Once youve completed testing, kindly delete the demo connector and set up your own connector with your credentials.', // UNTRANSLATED
},
},
broadcast: '📣 You are participating in Logto Cloud Preview', // UNTRANSLATED
broadcast: '📣 You are in Logto Cloud (Preview)', // UNTRANSLATED
socialCallback: {
title: "You've successfully signed in!", // UNTRANSLATED
description:

View file

@ -101,7 +101,7 @@ const cloud = {
'Please avoid using the demo connector for production purposes. Once youve completed testing, kindly delete the demo connector and set up your own connector with your credentials.', // UNTRANSLATED
},
},
broadcast: '📣 You are participating in Logto Cloud Preview', // UNTRANSLATED
broadcast: '📣 You are in Logto Cloud (Preview)', // UNTRANSLATED
socialCallback: {
title: "You've successfully signed in!", // UNTRANSLATED
description: