diff --git a/.changeset/empty-panthers-help.md b/.changeset/empty-panthers-help.md new file mode 100644 index 0000000000..3a2051dfd4 --- /dev/null +++ b/.changeset/empty-panthers-help.md @@ -0,0 +1,5 @@ +--- +'@commercetools-docs/gatsby-theme-docs': patch +--- + +Adjust footer commercetools banner to make it clickable. It points to the commercetools.com website. diff --git a/packages/gatsby-theme-docs/src/layouts/internals/footer.js b/packages/gatsby-theme-docs/src/layouts/internals/footer.js index 049f41904c..b23d94e759 100644 --- a/packages/gatsby-theme-docs/src/layouts/internals/footer.js +++ b/packages/gatsby-theme-docs/src/layouts/internals/footer.js @@ -80,6 +80,10 @@ const ColumnTitle = styled.div` } `; +const CtBannerContainer = styled.a` + cursor: pointer; +`; + const Row = styled.div` display: flex; justify-content: space-between; @@ -158,6 +162,8 @@ const LayoutFooter = () => { * the elements in the grid layout as we like */ + const CtBannerLink = 'https://commercetools.com'; + const hasMoreThanThreeColumns = data.allFooterYaml.nodes.length > 3; return (