Skip to content

Commit 9c62c85

Browse files
committed
fix(seo): add alt attributes and make links crawlable in Kanvas page
1 parent 3095a3c commit 9c62c85

File tree

2 files changed

+19
-19
lines changed
  • src
    • pages/cloud-native-management/kanvas

2 files changed

+19
-19
lines changed

src/components/Features-carousel/index.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -95,23 +95,23 @@ const Feature = ({ children, title, active, onClick, learnMoreLink, id, Element
9595
<div className="body" id={`feature-${id}`} >
9696
<p>{children}</p>
9797
{learnMoreLink
98-
? learnMoreLink.startsWith("/")
99-
? (
100-
<Link className="learn-more-link" to={learnMoreLink}>
98+
? learnMoreLink.startsWith("/")
99+
? (
100+
<Link className="learn-more-link" to={learnMoreLink}>
101101
Explore <IoIosArrowRoundForward />
102-
</Link>
103-
)
104-
: (
105-
<a
106-
href={learnMoreLink}
107-
className="learn-more-link"
108-
target="_blank"
109-
rel="noopener noreferrer"
110-
>
102+
</Link>
103+
)
104+
: (
105+
<a
106+
href={learnMoreLink}
107+
className="learn-more-link"
108+
target="_blank"
109+
rel="noopener noreferrer"
110+
>
111111
Explore <IoIosArrowRoundForward />
112-
</a>
113-
)
114-
: null} // No link rendered if learnMoreLink is empty
112+
</a>
113+
)
114+
: null} {/* No link rendered if learnMoreLink is empty */}
115115
</div>
116116
</Element>
117117
);

src/pages/cloud-native-management/kanvas/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const KanvasPage = ({ location }) => {
1515
export default KanvasPage;
1616
export const Head = () => {
1717
return <SEO
18-
title="Kanvas | Kubernetes Visualization and Cloud Management"
19-
description="Collaboratively design and manage your Kubernetes workloads, infrastructure, and cloud services using Layer5 Kanvas."
20-
keywords={["Kanvas", "Kubernetes visualization", "service mesh dashboard", "Layer5"]}
21-
/>;
18+
title="Kanvas | Kubernetes Visualization and Cloud Management"
19+
description="Collaboratively design and manage your Kubernetes workloads, infrastructure, and cloud services using Layer5 Kanvas."
20+
keywords={["Kanvas", "Kubernetes visualization", "service mesh dashboard", "Layer5"]}
21+
/>;
2222
};

0 commit comments

Comments
 (0)