Skip to content

Commit

Permalink
Remove see more button from success story navigation panel and update…
Browse files Browse the repository at this point in the history
… description (#603)

* Make See More button optional and remove it for Success Stories in menu

* Update description of the success stories page

---------

Co-authored-by: Breno <[email protected]>
  • Loading branch information
Brenosalv and Breno authored Dec 18, 2024
1 parent 090c735 commit 4383c60
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/HeaderNavbar/CardItem/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const HeaderCardItem = ({
onlyContent,
active,
contentFooterLink,
hasSeeMoreButton = false,
...props
}: any) => {
const [showAll, setShowAll] = React.useState(false);
Expand All @@ -65,7 +66,7 @@ const HeaderCardItem = ({
className={clsx(cardTitle, onlyContent ? hideOnMobile : null)}
>
{title}
{items.length > 4 ? (
{hasSeeMoreButton && items.length > 4 ? (
<button
className={seeAllButton}
onClick={handleSeeAllButtonClick}
Expand Down
1 change: 1 addition & 0 deletions src/components/HeaderNavbar/Product/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const HeaderNavbarProduct = ({ active, setActive }) => {
<CardItem
title="COMPARE"
items={compare}
hasSeeMoreButton
contentFooterLink={
<HeaderViewAllLink
to="/etl-tools"
Expand Down
2 changes: 1 addition & 1 deletion src/pages/success-stories/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const Head = () => {
return (
<Seo
title="Our Customers and Success Stories | Estuary Flow"
description="See how Estuary Flow solves complex data integration challenges for businesses around the world. Check out our success stories for proven success stories."
description="See how Estuary Flow solves complex data integration challenges for businesses around the world. Check out our proven success stories."
image={metaImg.childImageSharp.gatsbyImageData.images.fallback.src}
/>
);
Expand Down

0 comments on commit 4383c60

Please sign in to comment.