diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-05-23 15:29:06 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-05-23 20:20:48 +0200 |
commit | fbe1259e4abbbbe7416489819b79113ab953d864 (patch) | |
tree | c85a0bc88b97ef3d0949630fc4ea86903c14278c /server/sonar-web/src/main/js/apps/about | |
parent | 11c567859c646bc3202e6ca15f2c8f53e928d633 (diff) | |
download | sonarqube-fbe1259e4abbbbe7416489819b79113ab953d864.tar.gz sonarqube-fbe1259e4abbbbe7416489819b79113ab953d864.zip |
SONAR-10673 Stop using font for icons (#252)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/about')
-rw-r--r-- | server/sonar-web/src/main/js/apps/about/components/AboutStandards.js | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/server/sonar-web/src/main/js/apps/about/components/AboutStandards.js b/server/sonar-web/src/main/js/apps/about/components/AboutStandards.js index a4848285d9d..b4624dc821e 100644 --- a/server/sonar-web/src/main/js/apps/about/components/AboutStandards.js +++ b/server/sonar-web/src/main/js/apps/about/components/AboutStandards.js @@ -20,6 +20,7 @@ import React from 'react'; import { Link } from 'react-router'; import ReadMore from './ReadMore'; +import TagsIcon from '../../../components/icons-components/TagsIcon'; import { translate } from '../../../helpers/l10n'; import { getRulesUrl } from '../../../helpers/urls'; @@ -52,32 +53,32 @@ export default function AboutStandards(props /*: Props */) { <div className="spacer-top"> <ul className="list-inline"> <li> - <Link to={getRulesUrl({ tags: 'misra' }, organization)} className="link-with-icon"> - <i className="icon-tags" /> + <Link className="link-with-icon" to={getRulesUrl({ tags: 'misra' }, organization)}> + <TagsIcon /> <span className="little-spacer-left">MISRA</span> </Link> </li> <li> - <Link to={getRulesUrl({ tags: 'cert' }, organization)} className="link-with-icon"> - <i className="icon-tags" /> + <Link className="link-with-icon" to={getRulesUrl({ tags: 'cert' }, organization)}> + <TagsIcon /> <span className="little-spacer-left">CERT</span> </Link> </li> <li> - <Link to={getRulesUrl({ tags: 'cwe' }, organization)} className="link-with-icon"> - <i className="icon-tags" /> + <Link className="link-with-icon" to={getRulesUrl({ tags: 'cwe' }, organization)}> + <TagsIcon /> <span className="little-spacer-left">CWE</span> </Link> </li> <li> - <Link to={getRulesUrl({ tags: owaspTags }, organization)} className="link-with-icon"> - <i className="icon-tags" /> + <Link className="link-with-icon" to={getRulesUrl({ tags: owaspTags }, organization)}> + <TagsIcon /> <span className="little-spacer-left">OWASP Top 10</span> </Link> </li> <li> - <Link to={getRulesUrl({ tags: sans25Tags }, organization)} className="link-with-icon"> - <i className="icon-tags" /> + <Link className="link-with-icon" to={getRulesUrl({ tags: sans25Tags }, organization)}> + <TagsIcon /> <span className="little-spacer-left">SANS Top 25</span> </Link> </li> |