Skip to content

Commit

Permalink
client: New icon added
Browse files Browse the repository at this point in the history
  • Loading branch information
MDybek committed Oct 27, 2024
1 parent 1d3efac commit c8bce5b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 6 deletions.
1 change: 1 addition & 0 deletions client/src/assets/fire-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions client/src/components/SVGIcon/SVGIcon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,16 @@
@extend .svg-icon;
mask: url('/src/assets/closed-eye-icon.svg') no-repeat center;
}

.fire-icon {
@extend .svg-icon;
mask: url('/src/assets/fire-icon.svg') no-repeat center;
width: 25px;
height: 25px;
margin-right: 3px;
.svg-icon {
background-color: $red;
width: 25px;
height: 25px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
margin: 12px;
}

&__table-label {
}

&__columns {
display: grid;
grid-template-columns: 1fr 1fr 2fr 1fr;
Expand Down Expand Up @@ -43,6 +40,8 @@

&__category {
color: $red;
display: flex;
align-items: center;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import SVGIcon from 'components/SVGIcon/SVGIcon.tsx';
import './ImportantFindings.scss';

const ImportantFindings = () => {
Expand All @@ -16,7 +17,7 @@ const ImportantFindings = () => {
Postgres:12.19-bullseye
</div>
<div className="important-findings__finding__category">
Database outage
<SVGIcon iconName={'fire-icon'} /> Database outage
</div>
<div className="important-findings__finding__summary">
Multiple failed authentication attempts after an update
Expand All @@ -30,7 +31,7 @@ const ImportantFindings = () => {
OpenJDK:24-ea-8-jdk
</div>
<div className="important-findings__finding__category">
Internal service issue
<SVGIcon iconName={'fire-icon'}/> Internal service issue
</div>
<div className="important-findings__finding__summary">
Abnormal amount of failed requests due to CORS
Expand All @@ -44,7 +45,7 @@ const ImportantFindings = () => {
Kubernetes CNI
</div>
<div className="important-findings__finding__category">
Internal network error
<SVGIcon iconName={'fire-icon'}/> Internal network error
</div>
<div className="important-findings__finding__summary">
Couldn’t start internal DNS server due to configuration error
Expand Down

0 comments on commit c8bce5b

Please sign in to comment.