Skip to content

Commit

Permalink
Merge pull request #790 from orkes-io/add-alt-text-for-use-case
Browse files Browse the repository at this point in the history
Add Alt text for use case
  • Loading branch information
RizaFarheen authored Nov 18, 2024
2 parents fcbb975 + f547a35 commit 5e161b0
Showing 1 changed file with 32 additions and 29 deletions.
61 changes: 32 additions & 29 deletions src/components/_Sections.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,27 @@ const useCases = [
{
title: "Microservices Orchestration",
image: "/content/img/usecases/microservices.svg",
alt: "Microservices Orchestration",
},
{
title: "API Orchestration",
image: "/content/img/usecases/api.svg",
alt: "API Orchestration",
},
{
title: "Data Pipeline Orchestration",
image: "/content/img/usecases/cicd.svg",
alt: "Data Pipeline Orchestration",
},
{
title: "Orchestrate Human Flows",
image: "/content/img/usecases/humanflows.svg",
alt: "Orchestrate Human Flows",
},
{
title: "Event Driven Orchestration",
image: "/content/img/usecases/events.svg",
alt: "Event Driven Orchestration",
},
];

Expand Down Expand Up @@ -108,7 +113,8 @@ const accordionData = [
{
title: "Integrate With Applications",
description: "Integrate the workflows into your application using SDKs.",
image: "/content/img/what-conductor-can-do/8_Integrate-With-Applications.png",
image:
"/content/img/what-conductor-can-do/8_Integrate-With-Applications.png",
},
{
title: "Debug Visually",
Expand Down Expand Up @@ -226,50 +232,47 @@ const IconHeader = ({ icon, header }) => (

export const SDKList = ({}) => (
<div className={styles.sdklist}>
<a
className={"aClass"}
href={"/content/sdks/java"}
>
<img src="/content/img/java.svg" style={{ height: 75, width: 75, margin: 5 }} />
<a className={"aClass"} href={"/content/sdks/java"}>
<img
src="/content/img/java.svg"
style={{ height: 75, width: 75, margin: 5 }}
alt="Java SDK"
/>
</a>
<a
className={"aClass"}
href={"/content/sdks/python"}
>
<a className={"aClass"} href={"/content/sdks/python"}>
<img
src="/content/img/Python_logo.svg"
style={{ height: 75, width: 75, margin: 5 }}
alt="Python SDK"
/>
</a>
<a
className={"aClass"}
href={"/content/sdks/csharp"}
>
<img src="/content/img/csharp.png" style={{ height: 75, width: 75, margin: 5 }} />
<a className={"aClass"} href={"/content/sdks/csharp"}>
<img
src="/content/img/csharp.png"
style={{ height: 75, width: 75, margin: 5 }}
alt="C# SDK"
/>
</a>
<a
className={"aClass"}
href={"/content/sdks/javascript"}
>
<a className={"aClass"} href={"/content/sdks/javascript"}>
<img
src="/content/img/JavaScript_logo_2.svg"
style={{ height: 75, width: 75, margin: 5 }}
alt="JavaScript SDK"
/>
</a>
<a
className={"aClass"}
href={"/content/sdks/golang"}
>
<a className={"aClass"} href={"/content/sdks/golang"}>
<img
src="/content/img/Go_Logo_Blue.svg"
style={{ height: 75, width: 75, margin: 5 }}
alt="Go SDK"
/>
</a>
<a
className={"aClass"}
href={"/content/sdks/clojure"}
>
<img src="/content/img/clojure.png" style={{ height: 75, width: 75, margin: 5 }} />
<a className={"aClass"} href={"/content/sdks/clojure"}>
<img
src="/content/img/clojure.png"
style={{ height: 75, width: 75, margin: 5 }}
alt="Clojure SDK"
/>
</a>
</div>
);
Expand Down Expand Up @@ -377,7 +380,7 @@ export const UseCasesSection = ({}) => (
{useCases &&
useCases.map((item, index) => (
<div className={styles.useCase} key={index}>
<img src={item.image}></img>
<img src={item.image} alt={item.alt}></img>
<div className={styles.useCaseTitle}>{item.title}</div>
</div>
))}
Expand Down

0 comments on commit 5e161b0

Please sign in to comment.