{typeof subtitle === 'string' ? t(subtitle) : subtitle}
diff --git a/packages/console/src/components/ModalLayout/index.tsx b/packages/console/src/components/ModalLayout/index.tsx
index 9000f9d66..710dc5295 100644
--- a/packages/console/src/components/ModalLayout/index.tsx
+++ b/packages/console/src/components/ModalLayout/index.tsx
@@ -18,6 +18,7 @@ type Props = {
onClose?: () => void;
className?: string;
size?: 'medium' | 'large' | 'xlarge';
+ isTitleWordWrapEnabled?: boolean;
};
const ModalLayout = ({
@@ -28,11 +29,12 @@ const ModalLayout = ({
onClose,
className,
size = 'medium',
+ isTitleWordWrapEnabled = false,
}: Props) => {
return (
-
+
{onClose && (
{
diff --git a/packages/console/src/containers/AppLayout/components/Topbar/index.tsx b/packages/console/src/containers/AppLayout/components/Topbar/index.tsx
index 0478b5e7c..bcc4ccd27 100644
--- a/packages/console/src/containers/AppLayout/components/Topbar/index.tsx
+++ b/packages/console/src/containers/AppLayout/components/Topbar/index.tsx
@@ -2,7 +2,9 @@ import classNames from 'classnames';
import { useTranslation } from 'react-i18next';
import Logo from '@/assets/images/logo.svg';
+import EarlyBirdGift from '@/cloud/components/EarlyBirdGift';
import Spacer from '@/components/Spacer';
+import { isCloud } from '@/consts/cloud';
import GetStartedProgress from '@/pages/GetStarted/components/GetStartedProgress';
import UserInfo from '../UserInfo';
@@ -22,6 +24,7 @@ const Topbar = ({ className }: Props) => {
{t('title')}
+ {isCloud && }
);
diff --git a/packages/phrases/src/locales/de/translation/admin-console/cloud.ts b/packages/phrases/src/locales/de/translation/admin-console/cloud.ts
index ee770cdec..a9f30732a 100644
--- a/packages/phrases/src/locales/de/translation/admin-console/cloud.ts
+++ b/packages/phrases/src/locales/de/translation/admin-console/cloud.ts
@@ -59,6 +59,14 @@ const cloud = {
discord_link: 'discord channel', // UNTRANSLATED
enter_admin_console: 'Enter Admin Console', // UNTRANSLATED
},
+ gift: {
+ title: 'Secure early credit for Logto SaaS join the front-runners now !', // UNTRANSLATED
+ description: 'Book a one-on-one session with our team for early credit and use case sharing.', // UNTRANSLATED
+ reserve_title: 'Reserve your time with Logto team', // UNTRANSLATED
+ reserve_description:
+ 'You can also save the calendar link. We’re always available to assist you.', // UNTRANSLATED
+ book_button: 'Book', // UNTRANSLATED
+ },
};
export default cloud;
diff --git a/packages/phrases/src/locales/en/translation/admin-console/cloud.ts b/packages/phrases/src/locales/en/translation/admin-console/cloud.ts
index 13dbacd0b..a259ee09a 100644
--- a/packages/phrases/src/locales/en/translation/admin-console/cloud.ts
+++ b/packages/phrases/src/locales/en/translation/admin-console/cloud.ts
@@ -59,6 +59,14 @@ const cloud = {
discord_link: 'discord channel',
enter_admin_console: 'Enter Admin Console',
},
+ gift: {
+ title: 'Secure early credit for Logto SaaS join the front-runners now !',
+ description: 'Book a one-on-one session with our team for early credit and use case sharing.',
+ reserve_title: 'Reserve your time with Logto team',
+ reserve_description:
+ 'You can also save the calendar link. We’re always available to assist you.',
+ book_button: 'Book',
+ },
};
export default cloud;
diff --git a/packages/phrases/src/locales/fr/translation/admin-console/cloud.ts b/packages/phrases/src/locales/fr/translation/admin-console/cloud.ts
index ee770cdec..a9f30732a 100644
--- a/packages/phrases/src/locales/fr/translation/admin-console/cloud.ts
+++ b/packages/phrases/src/locales/fr/translation/admin-console/cloud.ts
@@ -59,6 +59,14 @@ const cloud = {
discord_link: 'discord channel', // UNTRANSLATED
enter_admin_console: 'Enter Admin Console', // UNTRANSLATED
},
+ gift: {
+ title: 'Secure early credit for Logto SaaS join the front-runners now !', // UNTRANSLATED
+ description: 'Book a one-on-one session with our team for early credit and use case sharing.', // UNTRANSLATED
+ reserve_title: 'Reserve your time with Logto team', // UNTRANSLATED
+ reserve_description:
+ 'You can also save the calendar link. We’re always available to assist you.', // UNTRANSLATED
+ book_button: 'Book', // UNTRANSLATED
+ },
};
export default cloud;
diff --git a/packages/phrases/src/locales/ko/translation/admin-console/cloud.ts b/packages/phrases/src/locales/ko/translation/admin-console/cloud.ts
index ee770cdec..a9f30732a 100644
--- a/packages/phrases/src/locales/ko/translation/admin-console/cloud.ts
+++ b/packages/phrases/src/locales/ko/translation/admin-console/cloud.ts
@@ -59,6 +59,14 @@ const cloud = {
discord_link: 'discord channel', // UNTRANSLATED
enter_admin_console: 'Enter Admin Console', // UNTRANSLATED
},
+ gift: {
+ title: 'Secure early credit for Logto SaaS join the front-runners now !', // UNTRANSLATED
+ description: 'Book a one-on-one session with our team for early credit and use case sharing.', // UNTRANSLATED
+ reserve_title: 'Reserve your time with Logto team', // UNTRANSLATED
+ reserve_description:
+ 'You can also save the calendar link. We’re always available to assist you.', // UNTRANSLATED
+ book_button: 'Book', // UNTRANSLATED
+ },
};
export default cloud;
diff --git a/packages/phrases/src/locales/pt-br/translation/admin-console/cloud.ts b/packages/phrases/src/locales/pt-br/translation/admin-console/cloud.ts
index ee770cdec..a9f30732a 100644
--- a/packages/phrases/src/locales/pt-br/translation/admin-console/cloud.ts
+++ b/packages/phrases/src/locales/pt-br/translation/admin-console/cloud.ts
@@ -59,6 +59,14 @@ const cloud = {
discord_link: 'discord channel', // UNTRANSLATED
enter_admin_console: 'Enter Admin Console', // UNTRANSLATED
},
+ gift: {
+ title: 'Secure early credit for Logto SaaS join the front-runners now !', // UNTRANSLATED
+ description: 'Book a one-on-one session with our team for early credit and use case sharing.', // UNTRANSLATED
+ reserve_title: 'Reserve your time with Logto team', // UNTRANSLATED
+ reserve_description:
+ 'You can also save the calendar link. We’re always available to assist you.', // UNTRANSLATED
+ book_button: 'Book', // UNTRANSLATED
+ },
};
export default cloud;
diff --git a/packages/phrases/src/locales/pt-pt/translation/admin-console/cloud.ts b/packages/phrases/src/locales/pt-pt/translation/admin-console/cloud.ts
index ee770cdec..a9f30732a 100644
--- a/packages/phrases/src/locales/pt-pt/translation/admin-console/cloud.ts
+++ b/packages/phrases/src/locales/pt-pt/translation/admin-console/cloud.ts
@@ -59,6 +59,14 @@ const cloud = {
discord_link: 'discord channel', // UNTRANSLATED
enter_admin_console: 'Enter Admin Console', // UNTRANSLATED
},
+ gift: {
+ title: 'Secure early credit for Logto SaaS join the front-runners now !', // UNTRANSLATED
+ description: 'Book a one-on-one session with our team for early credit and use case sharing.', // UNTRANSLATED
+ reserve_title: 'Reserve your time with Logto team', // UNTRANSLATED
+ reserve_description:
+ 'You can also save the calendar link. We’re always available to assist you.', // UNTRANSLATED
+ book_button: 'Book', // UNTRANSLATED
+ },
};
export default cloud;
diff --git a/packages/phrases/src/locales/tr-tr/translation/admin-console/cloud.ts b/packages/phrases/src/locales/tr-tr/translation/admin-console/cloud.ts
index ee770cdec..a9f30732a 100644
--- a/packages/phrases/src/locales/tr-tr/translation/admin-console/cloud.ts
+++ b/packages/phrases/src/locales/tr-tr/translation/admin-console/cloud.ts
@@ -59,6 +59,14 @@ const cloud = {
discord_link: 'discord channel', // UNTRANSLATED
enter_admin_console: 'Enter Admin Console', // UNTRANSLATED
},
+ gift: {
+ title: 'Secure early credit for Logto SaaS join the front-runners now !', // UNTRANSLATED
+ description: 'Book a one-on-one session with our team for early credit and use case sharing.', // UNTRANSLATED
+ reserve_title: 'Reserve your time with Logto team', // UNTRANSLATED
+ reserve_description:
+ 'You can also save the calendar link. We’re always available to assist you.', // UNTRANSLATED
+ book_button: 'Book', // UNTRANSLATED
+ },
};
export default cloud;
diff --git a/packages/phrases/src/locales/zh-cn/translation/admin-console/cloud.ts b/packages/phrases/src/locales/zh-cn/translation/admin-console/cloud.ts
index ee770cdec..a9f30732a 100644
--- a/packages/phrases/src/locales/zh-cn/translation/admin-console/cloud.ts
+++ b/packages/phrases/src/locales/zh-cn/translation/admin-console/cloud.ts
@@ -59,6 +59,14 @@ const cloud = {
discord_link: 'discord channel', // UNTRANSLATED
enter_admin_console: 'Enter Admin Console', // UNTRANSLATED
},
+ gift: {
+ title: 'Secure early credit for Logto SaaS join the front-runners now !', // UNTRANSLATED
+ description: 'Book a one-on-one session with our team for early credit and use case sharing.', // UNTRANSLATED
+ reserve_title: 'Reserve your time with Logto team', // UNTRANSLATED
+ reserve_description:
+ 'You can also save the calendar link. We’re always available to assist you.', // UNTRANSLATED
+ book_button: 'Book', // UNTRANSLATED
+ },
};
export default cloud;