Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions apps/website/screens/components/footer/code/FooterCodePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -64,7 +66,9 @@ const sections = [
<TableCode>string</TableCode>
</td>
<td>The text that will be displayed as copyright disclaimer.</td>
<td>-</td>
<td>
<TableCode>{defaultCopyrightString}</TableCode>
</td>
</tr>
<tr>
<td>
Expand All @@ -91,7 +95,7 @@ const sections = [
</td>
<td>Logo to be displayed inside the footer.</td>
<td>
<ExtendedTableCode>{defaultFooterLogo}</ExtendedTableCode>
<ExtendedTableCode>{defaultFooterLogoString}</ExtendedTableCode>
</td>
</tr>
<tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ const sections = [
</>
),
},
// TODO: CHECK PELAYO PR FOR THE NEW FOOTER API
{
title: "ApplicationLayout.Footer",
content: (
Expand Down