Merge pull request #20226 from fedy97/hotfix/demos-watch-now-button

fix: watch now button and year in footer
This commit is contained in:
Patrik Oldsberg
2023-09-28 21:26:25 +02:00
committed by GitHub
2 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -276,7 +276,7 @@ module.exports = {
},
],
copyright:
'<p style="text-align:center"><a href="https://spotify.github.io/">Made with ❤️ at Spotify</a></p><p class="copyright">Copyright © 2022 Backstage Project Authors. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page: https://www.linuxfoundation.org/trademark-usage</p>',
'<p style="text-align:center"><a href="https://spotify.github.io/">Made with ❤️ at Spotify</a></p><p class="copyright">Copyright © 2023 Backstage Project Authors. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page: https://www.linuxfoundation.org/trademark-usage</p>',
},
algolia: {
apiKey: '1f0ba86672ccfc3576faa94583e5b318',
+10 -6
View File
@@ -175,12 +175,16 @@ const Demos = () => {
<BannerSectionGrid>
<ContentBlock
title={<h1>{demoItem.title}</h1>}
actionButtons={[
{
link: demoItem.actionItemLink,
label: 'WATCH NOW',
},
]}
actionButtons={
demoItem.actionItemLink
? [
{
link: demoItem.actionItemLink,
label: 'WATCH NOW',
},
]
: []
}
>
{demoItem.content}
</ContentBlock>