From 3220526a30f53da258f650110f2e8ebf6611f0ea Mon Sep 17 00:00:00 2001 From: giancarlo Date: Wed, 1 May 2024 16:51:14 +0700 Subject: [PATCH] Add footer details in marketing component The footer of the marketing component now includes a localized description and a copyright message that are injected into the footer. These changes were made in both the marketing.json file in the locales folder, and the site-footer.tsx in the _components folder. The year is dynamically generated based on the current year in the copyright message. --- apps/web/app/(marketing)/_components/site-footer.tsx | 12 ++++++++---- apps/web/public/locales/en/marketing.json | 4 +++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/apps/web/app/(marketing)/_components/site-footer.tsx b/apps/web/app/(marketing)/_components/site-footer.tsx index 20dfd6e34..afeec5710 100644 --- a/apps/web/app/(marketing)/_components/site-footer.tsx +++ b/apps/web/app/(marketing)/_components/site-footer.tsx @@ -5,8 +5,6 @@ import { Trans } from '@kit/ui/trans'; import { AppLogo } from '~/components/app-logo'; import appConfig from '~/config/app.config'; -const YEAR = new Date().getFullYear(); - export function SiteFooter() { return (