We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02834f9 commit 3f7385dCopy full SHA for 3f7385d
react/src/app/modules/general/home/home.js
@@ -51,6 +51,9 @@ class Home extends React.Component {
51
];
52
53
function Item(props) {
54
+
55
+ const iconclass = props["feature"].icon + " fa-lg text-primary";
56
57
return <div className="col-12 col-sm-6 col-md-4 col-lg-4 col-xl-3 mb-2">
58
<div className="nga-card bg-light mb-3">
59
<Link to={props.feature.link}>
@@ -60,7 +63,7 @@ class Home extends React.Component {
60
63
<h4 className="card-title h5">{props.feature.name}</h4>
61
64
</div>
62
65
<div className="col-2 col-xl-2">
- <i className="fab fa-bootstrap fa-lg text-primary"></i>
66
+ <i className={iconclass}></i>
67
68
69
0 commit comments