-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #540 from btorresgil/cert-expire-advisory
chore(swfw): Add cert expire banner to Orchestration Hub
- Loading branch information
Showing
4 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import React from "react"; | ||
import Link from "@docusaurus/Link"; | ||
import "./styles.scss"; | ||
|
||
export default function CertExpireBanner() { | ||
return ( | ||
<div className="banner-cert-expire"> | ||
<h4> | ||
<div className="banner-cert-expire__line1"> | ||
Emergency Update Required | ||
</div> | ||
<div className="banner-cert-expire__line2"> | ||
PAN-OS Root Certificate Expiration | ||
</div> | ||
</h4> | ||
<div className="view-advisory-link"> | ||
<Link | ||
to="https://live.paloaltonetworks.com/t5/customer-advisories/emergency-update-required-pan-os-root-and-default-certificate/ta-p/564672" | ||
className="tab-item__link" | ||
> | ||
<span>View Advisory</span> | ||
<img | ||
src="/img/icons/arrow-forward.svg" | ||
alt="Forward arrow icon" | ||
height="15" | ||
/> | ||
</Link> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
html[data-theme="dark"] { | ||
.banner-cert-expire { | ||
color: black; | ||
} | ||
} | ||
|
||
.banner-cert-expire { | ||
background-color: #ffffff; | ||
padding: 13px; | ||
width: 100%; | ||
max-width: 30em; | ||
position: relative; | ||
top: 10px; | ||
margin-left: auto; | ||
margin-right: auto; | ||
border-radius: 4px; | ||
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.16); | ||
z-index: 100; | ||
|
||
h4 { | ||
margin-bottom: 0.4em; | ||
font-family: "Montserrat", sans-serif; | ||
} | ||
|
||
&__line2 { | ||
font-weight: 500; | ||
} | ||
|
||
// .view-advisory-link { | ||
// margin: 0.5em 0; | ||
// } | ||
|
||
.tab-item__link { | ||
display: flex; | ||
align-items: center; | ||
color: var(--ifm-color-main); | ||
|
||
img { | ||
max-width: 25px; | ||
margin-left: 0.25em; | ||
} | ||
|
||
:hover { | ||
color: var(--ifm-color-main); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters