mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-14 00:19:16 +01:00
refactor: improve image labels (#885)
This commit is contained in:
parent
9bb0ce8cad
commit
787494fd80
@ -25,7 +25,7 @@ const getAddonIcon = (name: string): ReactElement => {
|
|||||||
return (
|
return (
|
||||||
<img
|
<img
|
||||||
style={style}
|
style={style}
|
||||||
alt="Slack Logo"
|
alt="Slack logo"
|
||||||
src={formatAssetPath(slackIcon)}
|
src={formatAssetPath(slackIcon)}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
@ -33,7 +33,7 @@ const getAddonIcon = (name: string): ReactElement => {
|
|||||||
return (
|
return (
|
||||||
<img
|
<img
|
||||||
style={style}
|
style={style}
|
||||||
alt="JIRA Logo"
|
alt="JIRA logo"
|
||||||
src={formatAssetPath(jiraIcon)}
|
src={formatAssetPath(jiraIcon)}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
@ -49,7 +49,7 @@ const getAddonIcon = (name: string): ReactElement => {
|
|||||||
return (
|
return (
|
||||||
<img
|
<img
|
||||||
style={style}
|
style={style}
|
||||||
alt="Microsoft Teams Logo"
|
alt="Microsoft Teams logo"
|
||||||
src={formatAssetPath(teamsIcon)}
|
src={formatAssetPath(teamsIcon)}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
@ -57,7 +57,7 @@ const getAddonIcon = (name: string): ReactElement => {
|
|||||||
return (
|
return (
|
||||||
<img
|
<img
|
||||||
style={style}
|
style={style}
|
||||||
alt="Datadog"
|
alt="Datadog logo"
|
||||||
src={formatAssetPath(dataDogIcon)}
|
src={formatAssetPath(dataDogIcon)}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
@ -6,12 +6,8 @@ const Loader = () => {
|
|||||||
const styles = useStyles();
|
const styles = useStyles();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.loader}>
|
<div className={styles.loader} role="alert" aria-label="Loading">
|
||||||
<img
|
<img className={styles.img} src={formatAssetPath(logo)} alt="" />
|
||||||
className={styles.img}
|
|
||||||
src={formatAssetPath(logo)}
|
|
||||||
alt="loading..."
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -70,7 +70,7 @@ const FeatureOverviewTags: React.FC<IFeatureOverviewTagsProps> = ({
|
|||||||
return (
|
return (
|
||||||
<img
|
<img
|
||||||
style={style}
|
style={style}
|
||||||
alt="slack"
|
alt="Slack"
|
||||||
src={formatAssetPath(slackIcon)}
|
src={formatAssetPath(slackIcon)}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
@ -78,7 +78,7 @@ const FeatureOverviewTags: React.FC<IFeatureOverviewTagsProps> = ({
|
|||||||
return (
|
return (
|
||||||
<img
|
<img
|
||||||
style={style}
|
style={style}
|
||||||
alt="jira"
|
alt="JIRA"
|
||||||
src={formatAssetPath(jiraIcon)}
|
src={formatAssetPath(jiraIcon)}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
@ -86,7 +86,7 @@ const FeatureOverviewTags: React.FC<IFeatureOverviewTagsProps> = ({
|
|||||||
return (
|
return (
|
||||||
<img
|
<img
|
||||||
style={style}
|
style={style}
|
||||||
alt="webhook"
|
alt="Webhook"
|
||||||
src={formatAssetPath(webhookIcon)}
|
src={formatAssetPath(webhookIcon)}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user