From a13141651c31283a629b00849b50458ccdecddb4 Mon Sep 17 00:00:00 2001 From: samuel mbabhazi <111171386+samuelmbabhazi@users.noreply.github.com> Date: Sat, 24 Aug 2024 00:06:39 +0200 Subject: [PATCH] remplace hardcodelink in footer componnent (#2946) * remplace hardcodelink in footer componnent * fix Cspell error * Update .env * Update .env.sample * Update footer.tsx * Update footer.tsx --------- Co-authored-by: Ruslan Konviser --- apps/web/.env | 7 +++++++ apps/web/.env.sample | 6 ++++++ apps/web/components/layout/footer/footer.tsx | 8 ++++---- apps/web/lib/layout/footer.tsx | 11 ++++++++--- 4 files changed, 25 insertions(+), 7 deletions(-) diff --git a/apps/web/.env b/apps/web/.env index 184d39de3..947339c52 100644 --- a/apps/web/.env +++ b/apps/web/.env @@ -88,6 +88,13 @@ APP_NAME="Ever Teams" APP_SIGNATURE="Ever Teams" APP_LOGO_URL="https://app.ever.team/assets/ever-teams.png" + +#Footer links +NEXT_PUBLIC_EVER_TEAMS_LINK="https://ever.team" +NEXT_PUBLIC_EVER_PLATFORM_LINK="https://ever.co" +NEXT_PUBLIC_EVER_LEGAL_TERM="https://demo.gauzy.co/#/pages/legal/terms" +NEXT_PUBLIC_EVER_LEGAL_PRIVACY="https://demo.gauzy.co/#/pages/legal/privacy" + # Cookies NEXT_PUBLIC_COOKIE_DOMAINS=ever.team diff --git a/apps/web/.env.sample b/apps/web/.env.sample index 6f9f7dfb9..8074779ff 100644 --- a/apps/web/.env.sample +++ b/apps/web/.env.sample @@ -50,6 +50,12 @@ APP_NAME='Ever Teams' APP_SIGNATURE='Ever Teams' APP_LOGO_URL='https://app.ever.team/assets/ever-teams.png' +#Footer links +NEXT_PUBLIC_EVER_TEAMS_LINK="https://ever.team" +NEXT_PUBLIC_EVER_PLATFORM_LINK="https://ever.co" +NEXT_PUBLIC_EVER_LEGAL_TERM="https://demo.gauzy.co/#/pages/legal/terms" +NEXT_PUBLIC_EVER_LEGAL_PRIVACY="https://demo.gauzy.co/#/pages/legal/privacy" + # Cookies NEXT_PUBLIC_COOKIE_DOMAINS=ever.team diff --git a/apps/web/components/layout/footer/footer.tsx b/apps/web/components/layout/footer/footer.tsx index a7875ce7e..ad7a71a13 100644 --- a/apps/web/components/layout/footer/footer.tsx +++ b/apps/web/components/layout/footer/footer.tsx @@ -9,7 +9,7 @@ const Footer = () => {
{t('layout.footer.COPY_RIGHT1', { date: new Date().getFullYear() })} {
by
{
{ {t('layout.footer.TERMS')}

{t('layout.footer.COPY_RIGHT1', { date: new Date().getFullYear() })}{' '} - {t('TITLE')} {t('layout.footer.BY')}{' '} - {t('layout.footer.COPY_RIGHT4')}{' '} + + {t('TITLE')} + {' '} + {t('layout.footer.BY')}{' '} + + {t('layout.footer.COPY_RIGHT4')} + {' '} {t('layout.footer.RIGHTS_RESERVED')}

- +