mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-19 06:02:52 +00:00
# Which Problems Are Solved Page title was "introduction" and the headings were missing a h2 level. This makes it difficult to index for search, both internal and external. # How the Problems Are Solved * Change the page title * Pulled all headings one level up # Additional Changes - Show all elements in sdk-example folder automaticalls
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"}
|
|
>
|
|
<h3>{title}</h3>
|
|
<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>
|
|
);
|
|
}
|