From 504e7b240f8035d704f712f2aec376602b8c1295 Mon Sep 17 00:00:00 2001 From: PelayoFelgueroso Date: Tue, 16 Dec 2025 12:07:16 +0100 Subject: [PATCH] Fix footer logo documentation --- .../screens/components/footer/code/FooterCodePage.tsx | 10 +++++++--- .../screens/migration/Components16MigrationPage.tsx | 1 - 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/website/screens/components/footer/code/FooterCodePage.tsx b/apps/website/screens/components/footer/code/FooterCodePage.tsx index 124e5ab5c..943aee208 100644 --- a/apps/website/screens/components/footer/code/FooterCodePage.tsx +++ b/apps/website/screens/components/footer/code/FooterCodePage.tsx @@ -20,11 +20,13 @@ const socialLinkTypeString = `{ logo: string | SVG; }[]`; -const defaultFooterLogo = `{ +const defaultFooterLogoString = `{ src: DxcLogo, alt: "DXC Technology Logo" }`; +const defaultCopyrightString = `"© DXC Technology \${year}. All rights reserved."`; + const sections = [ { title: "Props", @@ -64,7 +66,9 @@ const sections = [ string The text that will be displayed as copyright disclaimer. - - + + {defaultCopyrightString} + @@ -91,7 +95,7 @@ const sections = [ Logo to be displayed inside the footer. - {defaultFooterLogo} + {defaultFooterLogoString} diff --git a/apps/website/screens/migration/Components16MigrationPage.tsx b/apps/website/screens/migration/Components16MigrationPage.tsx index 0328f88f3..cda5514bd 100644 --- a/apps/website/screens/migration/Components16MigrationPage.tsx +++ b/apps/website/screens/migration/Components16MigrationPage.tsx @@ -200,7 +200,6 @@ const sections = [ ), }, - // TODO: CHECK PELAYO PR FOR THE NEW FOOTER API { title: "ApplicationLayout.Footer", content: (