Skip to content

Commit 5f70035

Browse files
authored
Merge pull request #2371 from dxc-technology/PelayoFelgueroso/fix-doc
Footer Logo Documentation Fix
2 parents 715456c + bdc3db2 commit 5f70035

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

apps/website/screens/components/footer/code/FooterCodePage.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ const socialLinkTypeString = `{
2020
logo: string | SVG;
2121
}[]`;
2222

23-
const defaultFooterLogo = `{
23+
const defaultFooterLogoString = `{
2424
src: DxcLogo,
2525
alt: "DXC Technology Logo"
2626
}`;
2727

28+
const defaultCopyrightString = `"© DXC Technology \${year}. All rights reserved."`;
29+
2830
const sections = [
2931
{
3032
title: "Props",
@@ -64,7 +66,9 @@ const sections = [
6466
<TableCode>string</TableCode>
6567
</td>
6668
<td>The text that will be displayed as copyright disclaimer.</td>
67-
<td>-</td>
69+
<td>
70+
<TableCode>{defaultCopyrightString}</TableCode>
71+
</td>
6872
</tr>
6973
<tr>
7074
<td>
@@ -91,7 +95,7 @@ const sections = [
9195
</td>
9296
<td>Logo to be displayed inside the footer.</td>
9397
<td>
94-
<ExtendedTableCode>{defaultFooterLogo}</ExtendedTableCode>
98+
<ExtendedTableCode>{defaultFooterLogoString}</ExtendedTableCode>
9599
</td>
96100
</tr>
97101
<tr>

apps/website/screens/migration/Components16MigrationPage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ const sections = [
200200
</>
201201
),
202202
},
203-
// TODO: CHECK PELAYO PR FOR THE NEW FOOTER API
204203
{
205204
title: "ApplicationLayout.Footer",
206205
content: (

0 commit comments

Comments
 (0)