qpp-style 9.34.2-beta.0 → 9.34.3-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Header/HeaderLogo.jsx +14 -7
- package/dist/browser.js +1 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -5,11 +5,7 @@ import { useHeaderState } from "./hooks";
|
|
|
5
5
|
|
|
6
6
|
const HeaderLogo = (isDevPre) => {
|
|
7
7
|
const { closeMenus, RouterLink } = useHeaderState();
|
|
8
|
-
|
|
9
|
-
const label = isDevPre
|
|
10
|
-
? "Quality Payment Program - My Applications"
|
|
11
|
-
: "Quality Payment Program";
|
|
12
|
-
if (RouterLink) {
|
|
8
|
+
if (RouterLink && !isDevPre) {
|
|
13
9
|
return (
|
|
14
10
|
<RouterLink
|
|
15
11
|
className="header-logo"
|
|
@@ -27,13 +23,24 @@ const HeaderLogo = (isDevPre) => {
|
|
|
27
23
|
</RouterLink>
|
|
28
24
|
);
|
|
29
25
|
}
|
|
26
|
+
if (isDevPre) {
|
|
27
|
+
return (
|
|
28
|
+
<div className="header-logo">
|
|
29
|
+
<img
|
|
30
|
+
className="qpp-logo"
|
|
31
|
+
src="/images/qpp_logo_rgb_color.png"
|
|
32
|
+
alt="QPP logo"
|
|
33
|
+
/>
|
|
34
|
+
</div>
|
|
35
|
+
);
|
|
36
|
+
}
|
|
30
37
|
return (
|
|
31
38
|
<a
|
|
32
39
|
className="header-logo"
|
|
33
|
-
href=
|
|
40
|
+
href="/"
|
|
34
41
|
data-track-category="HeaderNav"
|
|
35
42
|
data-track-action="OpenQPPHome"
|
|
36
|
-
data-track-label=
|
|
43
|
+
data-track-label="Quality Payment Program"
|
|
37
44
|
>
|
|
38
45
|
<img
|
|
39
46
|
className="qpp-logo"
|