Skip to content

Commit 4db0d93

Browse files
refactor: update news from header
1 parent 886ede2 commit 4db0d93

File tree

7 files changed

+15
-8
lines changed

7 files changed

+15
-8
lines changed

apps/OpenSign/public/locales/en/translation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"header-news": "New feature: Public profiles are now live! Easily create and share public templates",
2+
"header-news": "New feature: Teams plan users can now integrate their own AWS S3 buckets for file storage",
33
"header-news-btn": "Setup Now",
44
"create-account": "Create Account",
55
"login": "Login",

apps/OpenSign/public/locales/es/translation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"header-news": "Nueva funcionalidad: ¡Los perfiles públicos ahora están disponibles! Crea y comparte plantillas públicas fácilmente",
2+
"header-news": "Nueva característica: los usuarios del plan Teams ahora pueden integrar sus propios depósitos de AWS S3 para el almacenamiento de archivos",
33
"header-news-btn": "Configurar ahora",
44
"create-account": "Crear cuenta",
55
"login": "Iniciar sesión",

apps/OpenSign/public/locales/fr/translation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"header-news": "Nouvelle fonctionnalité : les profils publics sont désormais en ligne ! Créez et partagez facilement des modèles publics",
2+
"header-news": "Nouvelle fonctionnalité : les utilisateurs du forfait Teams peuvent désormais intégrer leurs propres compartiments AWS S3 pour le stockage de fichiers",
33
"header-news-btn": "Configurer maintenant",
44
"create-account": "Créer un compte",
55
"login": "Se Connecter",

apps/OpenSign/src/components/Header.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,22 @@ const Header = ({ showSidebar, setIsMenu }) => {
140140
);
141141
setShowNotification(false);
142142
};
143+
const handleSetupNowNavigation = () => {
144+
const url = isStaging
145+
? "https://staging-console.opensignlabs.com/fileadapter"
146+
: "https://console.opensignlabs.com/fileadapter";
147+
148+
openInNewTab(url);
149+
};
143150
return (
144151
<div>
145152
{isEnableSubscription && showNotification && (
146-
<div className="flex justify-between items-center shadow py-1 bg-[#CAE4FA] p-1">
153+
<div className="flex justify-between items-center shadow py-1 bg-[#CAE4FA] p-1">
147154
<div className="text-center text-[14px] ml-auto">
148155
{t("header-news")}
149156
<span
150157
className="cursor-pointer font-medium underline text-blue-800"
151-
onClick={() => navigate("/profile")}
158+
onClick={() => handleSetupNowNavigation()}
152159
>
153160
{" " + t("header-news-btn") + "."}
154161
</span>

apps/OpenSign/src/script/locales/en/translation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"header-news": "New feature: Public profiles are now live! Easily create and share public templates",
2+
"header-news": "New feature: Teams plan users can now integrate their own AWS S3 buckets for file storage",
33
"header-news-btn": "Setup Now",
44
"create-account": "Create Account",
55
"login": "Login",

apps/OpenSign/src/script/locales/es/translation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"header-news": "Nueva funcionalidad: ¡Los perfiles públicos ahora están disponibles! Crea y comparte plantillas públicas fácilmente",
2+
"header-news": "Nueva característica: los usuarios del plan Teams ahora pueden integrar sus propios depósitos de AWS S3 para el almacenamiento de archivos",
33
"header-news-btn": "Configurar ahora",
44
"create-account": "Crear cuenta",
55
"login": "Iniciar sesión",

apps/OpenSign/src/script/locales/fr/translation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"header-news": "Nouvelle fonctionnalité : les profils publics sont désormais en ligne ! Créez et partagez facilement des modèles publics",
2+
"header-news": "Nouvelle fonctionnalité : les utilisateurs du forfait Teams peuvent désormais intégrer leurs propres compartiments AWS S3 pour le stockage de fichiers",
33
"header-news-btn": "Configurer maintenant",
44
"create-account": "Créer un compte",
55
"login": "Se Connecter",

0 commit comments

Comments
 (0)