-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b735282
commit c10a761
Showing
4 changed files
with
426 additions
and
10 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
docs/components/zeebe/react-components/_zeebe-card-data.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// import IconPlayImg from "../img/icon-play.png"; | ||
|
||
// Getting started cards on Zeebe introduction page | ||
export const gettingStartedCards = [ | ||
{ | ||
link: "../zeebe/technical-concepts/clustering", | ||
title: "Clustering", | ||
// image: IconPlayImg, | ||
description: "lorem ipsum", | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import React from "react"; | ||
import "./_zeebe-table.css"; | ||
|
||
const ZeebeCard = ({ link, title, image, description }) => { | ||
return ( | ||
<a href={link} className="zeebe-card" title={title}> | ||
<img src={image} alt={`${title} icon`} className="zeebe-card-image" /> | ||
<h3>{title}</h3> | ||
<p>{description}</p> | ||
</a> | ||
); | ||
}; | ||
|
||
const ZeebeGrid = ({ zeebe }) => { | ||
return ( | ||
<div className="zeebe-grid"> | ||
{zeebe.map((zeebe, index) => ( | ||
<ZeebeCard | ||
key={index} | ||
link={zeebe.link} | ||
title={zeebe.title} | ||
image={zeebe.image} | ||
description={zeebe.description} | ||
/> | ||
))} | ||
</div> | ||
); | ||
}; | ||
|
||
export default ZeebeGrid; |
Oops, something went wrong.