mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-19 22:14:25 +00:00
* docs: first attempt to restructure the sdks and examples to make it better understandable * docs: first attempt to restructure the sdks and examples to make it better understandable * docs: first attempt to restructure the sdks and examples to make it better understandable * docs: first attempt to restructure the sdks and examples to make it better understandable * docs: first attempt to restructure the sdks and examples to make it better understandable * docs: first attempt to restructure the sdks and examples to make it better understandable * docs: adding more example pages * docs: adding more example pages * docs: add all sdk/examples * docs: add tile component * docs: introduction page * docs: introduction page * docs: add react * docs: remove old sdk and example pages * docs: fix broken links * docs: fix broken links * styles * Update docs/docs/sdk-examples/introduction.mdx Co-authored-by: Livio Spring <[email protected]> * Update docs/docs/sdk-examples/java.mdx Co-authored-by: Livio Spring <[email protected]> * Update docs/docs/sdk-examples/python.mdx Co-authored-by: Livio Spring <[email protected]> * Update docs/docs/sdk-examples/python.mdx Co-authored-by: Livio Spring <[email protected]> * docs: review changes * docs: smaller tiles * docs: changes from go and java review * docs: correct python description * Update docs/docs/sdk-examples/python.mdx Co-authored-by: Livio Spring <[email protected]> * Update docs/docs/sdk-examples/introduction.mdx Co-authored-by: Tim Möhlmann <[email protected]> * Update docs/docs/sdk-examples/python.mdx Co-authored-by: Tim Möhlmann <[email protected]> * docs: flask logo * flask, rust imgs * docs: flask logo * Update go.mdx * Update java.mdx * Update docs/docs/sdk-examples/flutter.mdx Co-authored-by: Livio Spring <[email protected]> * Update docs/src/css/tile.module.css Co-authored-by: Livio Spring <[email protected]> * docs: sidebar alphabetic * docs: sidebar alphabetic * docs: django logo --------- Co-authored-by: peintnermax <[email protected]> Co-authored-by: Livio Spring <[email protected]> Co-authored-by: Tim Möhlmann <[email protected]> Co-authored-by: Stefan Benz <[email protected]>
36 lines
834 B
React
36 lines
834 B
React
import React from "react";
|
|
import styles from "../css/tile.module.css";
|
|
|
|
export function Tile({ title, imageSource, imageSourceLight, link, external }) {
|
|
return (
|
|
<a
|
|
href={link}
|
|
className={styles.tile}
|
|
target={external ? "_blank" : "_self"}
|
|
>
|
|
<h4>{title}</h4>
|
|
<img
|
|
className={imageSourceLight ? "hideonlight" : ""}
|
|
src={imageSource}
|
|
alt={title}
|
|
width={70}
|
|
height={70}
|
|
/>
|
|
{imageSourceLight && (
|
|
<img
|
|
className={imageSourceLight ? "hideondark" : ""}
|
|
src={imageSourceLight}
|
|
alt={title}
|
|
width={70}
|
|
height={70}
|
|
/>
|
|
)}
|
|
{external && (
|
|
<div className={styles.external}>
|
|
<i className="las la-external-link-alt"></i>
|
|
</div>
|
|
)}
|
|
</a>
|
|
);
|
|
}
|